Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 180.8 kB / 487.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.725/1.725, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 90.98 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2935, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.091/5.384, allocations: 1.932 GB / 3.138 GB, free: 430.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/5.385, allocations: 88.08 kB / 3.138 GB, free: 430.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.368/8.753, allocations: 1.041 GB / 4.179 GB, free: 218.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/8.753, allocations: 0 / 4.179 GB, free: 218.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001739/8.753, allocations: 46.44 kB / 4.179 GB, free: 218.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005116/8.758, allocations: 2.077 MB / 4.181 GB, free: 216.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/8.758, allocations: 7.719 kB / 4.181 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/8.762, allocations: 0.638 MB / 4.181 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/8.766, allocations: 1.437 MB / 4.183 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/8.766, allocations: 114.4 kB / 4.183 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/8.766, allocations: 79.86 kB / 4.183 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001807/8.768, allocations: 0.9786 MB / 4.184 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/8.77, allocations: 1.202 MB / 4.185 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/8.77, allocations: 0 / 4.185 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/8.77, allocations: 3.719 kB / 4.185 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/8.77, allocations: 42.98 kB / 4.185 GB, free: 214.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007702/8.778, allocations: 5.76 MB / 4.191 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/8.779, allocations: 0.9161 MB / 4.192 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/8.779, allocations: 453.5 kB / 4.192 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/8.78, allocations: 314.9 kB / 4.192 GB, free: 208.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006728/8.781, allocations: 0.4906 MB / 4.193 GB, free: 208.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 2.705e-06/8.781, allocations: 0 / 4.193 GB, free: 208.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.005205/8.786, allocations: 2.421 MB / 4.195 GB, free: 206.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/8.786, allocations: 192.5 kB / 4.196 GB, free: 206.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/8.787, allocations: 0.9229 MB / 4.196 GB, free: 206.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/8.787, allocations: 29.3 kB / 4.196 GB, free: 206.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/8.788, allocations: 0.7435 MB / 4.197 GB, free: 205.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/8.788, allocations: 282.2 kB / 4.197 GB, free: 205.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/8.788, allocations: 3.25 kB / 4.197 GB, free: 205.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/8.788, allocations: 337.3 kB / 4.198 GB, free: 204.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/8.788, allocations: 337.2 kB / 4.198 GB, free: 204.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/8.789, allocations: 0.5623 MB / 4.199 GB, free: 204.3 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/8.793, allocations: 1.559 MB / 4.2 GB, free: 203.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/8.793, allocations: 3.469 kB / 4.2 GB, free: 203.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002014/8.795, allocations: 1.137 MB / 4.201 GB, free: 202.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/8.795, allocations: 1.467 MB / 4.203 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/8.795, allocations: 3.75 kB / 4.203 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/8.795, allocations: 40.91 kB / 4.203 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/8.796, allocations: 213.4 kB / 4.203 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003676/8.797, allocations: 0.5956 MB / 4.204 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/8.798, allocations: 130.7 kB / 4.204 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/8.798, allocations: 41.33 kB / 4.204 GB, free: 200.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/8.798, allocations: 6.219 kB / 4.204 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/8.8, allocations: 0.9615 MB / 4.205 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/8.8, allocations: 3.594 kB / 4.205 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/8.8, allocations: 50.45 kB / 4.205 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/8.801, allocations: 207.3 kB / 4.205 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/8.802, allocations: 1.543 MB / 4.206 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/8.804, allocations: 135.9 kB / 4.207 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-05/8.804, allocations: 35.33 kB / 4.207 GB, free: 198.6 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002888/8.804, allocations: 163 kB / 4.207 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001672/8.806, allocations: 1.033 MB / 4.208 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/8.806, allocations: 146.9 kB / 4.208 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/8.808, allocations: 1.096 MB / 4.209 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/8.808, allocations: 10.5 kB / 4.209 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/8.808, allocations: 7.766 kB / 4.209 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/8.809, allocations: 0.9862 MB / 4.21 GB, free: 196.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.004109/8.813, allocations: 2.75 MB / 4.213 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/8.813, allocations: 3.938 kB / 4.213 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/8.814, allocations: 192.3 kB / 4.213 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.643e-05/8.815, allocations: 44.97 kB / 4.213 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/8.815, allocations: 19.3 kB / 4.213 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003041/8.815, allocations: 0.5912 MB / 4.213 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/8.815, allocations: 2.656 kB / 4.213 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/8.817, allocations: 1.972 MB / 4.215 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/8.818, allocations: 334.4 kB / 4.216 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/8.818, allocations: 12.14 kB / 4.216 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/8.819, allocations: 131.1 kB / 4.216 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/8.819, allocations: 65.62 kB / 4.216 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/8.819, allocations: 37.86 kB / 4.216 GB, free: 192.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008367/8.82, allocations: 0.6979 MB / 4.217 GB, free: 192.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/8.82, allocations: 0 / 4.217 GB, free: 192.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002556/8.823, allocations: 0.832 MB / 4.217 GB, free: 191.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005503/8.828, allocations: 6.073 MB / 4.223 GB, free: 185.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002293/8.831, allocations: 1.632 MB / 4.225 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/8.831, allocations: 3.656 kB / 4.225 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/8.831, allocations: 0.5087 MB / 4.225 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/8.835, allocations: 0.7021 MB / 4.226 GB, free: 182.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/8.842, allocations: 2.902 MB / 4.229 GB, free: 179.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/8.843, allocations: 1.371 MB / 4.23 GB, free: 178.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002043/8.845, allocations: 466.3 kB / 4.231 GB, free: 178.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/8.846, allocations: 0.6047 MB / 4.231 GB, free: 177.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.312e-06/8.846, allocations: 0 / 4.231 GB, free: 177.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08617/8.932, allocations: 56.39 MB / 4.286 GB, free: 122.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/8.932, allocations: 168 kB / 4.287 GB, free: 121.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/12.92, allocations: 0 / 4.287 GB, free: 121.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat does not exist to compare? outputFormat=mat