Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 191.2 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9226/0.9226, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 60.94 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 80.92 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4887/0.6258, allocations: 272.5 MB / 0.8499 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3358/0.9616, allocations: 17.45 MB / 0.8669 GB, free: 27.81 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.9639, allocations: 68.41 kB / 0.867 GB, free: 27.81 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.9666, allocations: 0.9972 MB / 0.868 GB, free: 27.81 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006015/0.9726, allocations: 2.924 MB / 0.8708 GB, free: 27.79 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.9769, allocations: 2.006 MB / 0.8728 GB, free: 27.73 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006118/0.9831, allocations: 6.729 MB / 0.8793 GB, free: 27.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.985, allocations: 1.477 MB / 0.8808 GB, free: 27.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/0.9902, allocations: 2.117 MB / 0.8829 GB, free: 27.56 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.9934, allocations: 1.581 MB / 0.8844 GB, free: 27.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.9937, allocations: 96.34 kB / 0.8845 GB, free: 27.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006856/1.001, allocations: 3.424 MB / 0.8878 GB, free: 27.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/1.002, allocations: 0.6336 MB / 0.8885 GB, free: 27.52 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003044/1.005, allocations: 1.018 MB / 0.8894 GB, free: 27.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008272/1.013, allocations: 3.918 MB / 0.8933 GB, free: 27.27 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.013, allocations: 0 / 0.8933 GB, free: 27.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/1.013, allocations: 2.375 kB / 0.8933 GB, free: 27.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.271e-05/1.014, allocations: 0 / 0.8933 GB, free: 27.27 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006151/1.02, allocations: 2.439 MB / 0.8957 GB, free: 26.06 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.02, allocations: 9.625 kB / 0.8957 GB, free: 26.06 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003214/1.02, allocations: 193.6 kB / 0.8959 GB, free: 26.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/1.025, allocations: 0.6389 MB / 0.8965 GB, free: 25.9 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/1.028, allocations: 1.337 MB / 0.8978 GB, free: 25.47 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/1.028, allocations: 102.7 kB / 0.8979 GB, free: 25.47 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/1.028, allocations: 138.6 kB / 0.898 GB, free: 25.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.031, allocations: 1.568 MB / 0.8995 GB, free: 25.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.031, allocations: 4.125 kB / 0.8995 GB, free: 25.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.031, allocations: 63.38 kB / 0.8996 GB, free: 25.27 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-05/1.031, allocations: 44.77 kB / 0.8996 GB, free: 25.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/1.034, allocations: 1.267 MB / 0.9009 GB, free: 25.25 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008228/1.042, allocations: 7.204 MB / 0.9079 GB, free: 21.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009582/1.043, allocations: 0.6491 MB / 0.9086 GB, free: 21.32 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/1.043, allocations: 370.5 kB / 0.9089 GB, free: 21.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/1.043, allocations: 107.3 kB / 0.909 GB, free: 21.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/1.043, allocations: 54.16 kB / 0.9091 GB, free: 21.18 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008876/1.044, allocations: 146.7 kB / 0.9092 GB, free: 21.12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.454e-06/1.044, allocations: 0 / 0.9092 GB, free: 21.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001762/1.046, allocations: 1.017 MB / 0.9102 GB, free: 21 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/1.046, allocations: 60.16 kB / 0.9103 GB, free: 20.94 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/1.048, allocations: 1.33 MB / 0.9116 GB, free: 20.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/1.048, allocations: 43.42 kB / 0.9116 GB, free: 20.74 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/1.048, allocations: 0.7807 MB / 0.9124 GB, free: 20.44 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/1.048, allocations: 238.5 kB / 0.9126 GB, free: 20.29 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/1.049, allocations: 204.3 kB / 0.9128 GB, free: 20.27 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/1.049, allocations: 348.6 kB / 0.9131 GB, free: 19.96 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/1.049, allocations: 353.2 kB / 0.9134 GB, free: 19.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/1.05, allocations: 0.6739 MB / 0.9141 GB, free: 19.58 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/1.051, allocations: 0.9534 MB / 0.915 GB, free: 19.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.051, allocations: 3.5 kB / 0.915 GB, free: 19.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001646/1.053, allocations: 1.151 MB / 0.9162 GB, free: 19.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.053, allocations: 8.141 kB / 0.9162 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.053, allocations: 6.531 kB / 0.9162 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/1.053, allocations: 12.53 kB / 0.9162 GB, free: 19.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/1.054, allocations: 210.9 kB / 0.9164 GB, free: 19.19 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.054, allocations: 18.66 kB / 0.9164 GB, free: 19.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.055, allocations: 126.4 kB / 0.9165 GB, free: 19.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/1.056, allocations: 40.25 kB / 0.9166 GB, free: 19.17 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/1.057, allocations: 0.6834 MB / 0.9172 GB, free: 19.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000635/1.057, allocations: 0.6743 MB / 0.9179 GB, free: 18.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/1.058, allocations: 0.9443 MB / 0.9188 GB, free: 18.46 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.516e-06/1.058, allocations: 2.406 kB / 0.9188 GB, free: 18.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001578/1.06, allocations: 1.145 MB / 0.9199 GB, free: 18.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/1.06, allocations: 11.66 kB / 0.9199 GB, free: 18.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.06, allocations: 11.91 kB / 0.92 GB, free: 18.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.06, allocations: 12.72 kB / 0.92 GB, free: 18.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/1.061, allocations: 209.5 kB / 0.9202 GB, free: 18.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.061, allocations: 15.34 kB / 0.9202 GB, free: 18.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.062, allocations: 128.2 kB / 0.9203 GB, free: 18.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/1.062, allocations: 48.41 kB / 0.9204 GB, free: 18.31 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002229/1.063, allocations: 244.4 kB / 0.9206 GB, free: 18.13 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.063, allocations: 162.2 kB / 0.9207 GB, free: 18.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/1.064, allocations: 0.8127 MB / 0.9215 GB, free: 17.99 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.064, allocations: 5.938 kB / 0.9215 GB, free: 17.99 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.064, allocations: 0 / 0.9215 GB, free: 17.99 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008251/1.065, allocations: 0.786 MB / 0.9223 GB, free: 17.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/1.068, allocations: 2.293 MB / 0.9245 GB, free: 17.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.068, allocations: 3.375 kB / 0.9246 GB, free: 17.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/1.069, allocations: 173.3 kB / 0.9247 GB, free: 17.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/1.069, allocations: 4.875 kB / 0.9247 GB, free: 17.35 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/1.069, allocations: 20.06 kB / 0.9247 GB, free: 17.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.069, allocations: 4.219 kB / 0.9247 GB, free: 17.35 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.069, allocations: 6.625 kB / 0.9247 GB, free: 17.35 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/1.071, allocations: 1.311 MB / 0.926 GB, free: 17.07 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/1.071, allocations: 316.3 kB / 0.9263 GB, free: 16.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/1.071, allocations: 17.38 kB / 0.9263 GB, free: 16.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.073, allocations: 94.52 kB / 0.9264 GB, free: 16.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/1.073, allocations: 49.33 kB / 0.9265 GB, free: 16.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/1.073, allocations: 33.34 kB / 0.9265 GB, free: 16.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001146/1.074, allocations: 0.9094 MB / 0.9274 GB, free: 16.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.074, allocations: 0 / 0.9274 GB, free: 16.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002162/1.076, allocations: 0.846 MB / 0.9282 GB, free: 16.66 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/1.078, allocations: 2.016 MB / 0.9302 GB, free: 15.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001929/1.08, allocations: 1.326 MB / 0.9315 GB, free: 15.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.08, allocations: 3.938 kB / 0.9315 GB, free: 15.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/1.081, allocations: 346.3 kB / 0.9318 GB, free: 15.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/1.085, allocations: 0.8374 MB / 0.9326 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/1.102, allocations: 12.11 MB / 0.9445 GB, free: 10.19 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/1.102, allocations: 1.349 MB / 0.9458 GB, free: 9.148 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001857/1.104, allocations: 420.4 kB / 0.9462 GB, free: 8.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000786/1.105, allocations: 0.6136 MB / 0.9468 GB, free: 8.574 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/1.105, allocations: 0 / 0.9468 GB, free: 8.574 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5891/1.694, allocations: 40.32 MB / 0.9862 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/1.695, allocations: 243.1 kB / 0.9864 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/4.642, allocations: 0 / 0.9864 GB, free: 0.625 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)