Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.551/2.551, allocations: 390.5 MB / 398 MB, free: 10.99 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.001505/0.001506, allocations: 176.4 kB / 491.2 MB, free: 1.629 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.505/1.505, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 98.77 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.188e-05, allocations: 5.328 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.29, allocations: 1.933 GB / 3.145 GB, free: 342.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/6.29, allocations: 86.33 kB / 3.145 GB, free: 342.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.682/9.972, allocations: 1.041 GB / 4.186 GB, free: 167.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.402e-06/9.972, allocations: 0 / 4.186 GB, free: 167.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002561/9.972, allocations: 50.75 kB / 4.186 GB, free: 167.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.004974/9.977, allocations: 2.066 MB / 4.188 GB, free: 165 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/9.977, allocations: 8.031 kB / 4.188 GB, free: 165 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/9.981, allocations: 0.6329 MB / 4.189 GB, free: 164.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/9.985, allocations: 1.44 MB / 4.19 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/9.985, allocations: 122.3 kB / 4.19 GB, free: 162.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/9.985, allocations: 75.98 kB / 4.19 GB, free: 162.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002092/9.987, allocations: 0.9809 MB / 4.191 GB, free: 161.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/9.99, allocations: 1.2 MB / 4.192 GB, free: 160.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/9.99, allocations: 0 / 4.192 GB, free: 160.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/9.99, allocations: 7.938 kB / 4.192 GB, free: 160.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/9.99, allocations: 46.27 kB / 4.192 GB, free: 160.4 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.008208/9.998, allocations: 5.752 MB / 4.198 GB, free: 154.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/10, allocations: 0.9205 MB / 4.199 GB, free: 153.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/10, allocations: 451.4 kB / 4.199 GB, free: 153 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/10, allocations: 310.9 kB / 4.2 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000688/10, allocations: 0.4974 MB / 4.2 GB, free: 152.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 3.666e-06/10, allocations: 3.281 kB / 4.2 GB, free: 152.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.005552/10.01, allocations: 2.416 MB / 4.202 GB, free: 149.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/10.01, allocations: 188.7 kB / 4.203 GB, free: 149.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/10.01, allocations: 0.9252 MB / 4.204 GB, free: 148.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/10.01, allocations: 29.69 kB / 4.204 GB, free: 148.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/10.01, allocations: 0.7473 MB / 4.204 GB, free: 147.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/10.01, allocations: 287.7 kB / 4.205 GB, free: 147.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/10.01, allocations: 0 / 4.205 GB, free: 147.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/10.01, allocations: 338 kB / 4.205 GB, free: 147.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/10.01, allocations: 334.5 kB / 4.205 GB, free: 146.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/10.01, allocations: 0.5595 MB / 4.206 GB, free: 146.1 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.003669/10.01, allocations: 1.56 MB / 4.207 GB, free: 144.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/10.01, allocations: 4 kB / 4.207 GB, free: 144.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002072/10.02, allocations: 1.132 MB / 4.208 GB, free: 143.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003222/10.02, allocations: 1.465 MB / 4.21 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/10.02, allocations: 4 kB / 4.21 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/10.02, allocations: 44.84 kB / 4.21 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/10.02, allocations: 211.7 kB / 4.21 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003519/10.02, allocations: 0.603 MB / 4.211 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/10.02, allocations: 135.5 kB / 4.211 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/10.02, allocations: 47.98 kB / 4.211 GB, free: 140.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/10.02, allocations: 6.188 kB / 4.211 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/10.02, allocations: 0.9563 MB / 4.212 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/10.02, allocations: 4 kB / 4.212 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/10.02, allocations: 44.83 kB / 4.212 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/10.02, allocations: 215.7 kB / 4.212 GB, free: 139.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/10.02, allocations: 1.536 MB / 4.214 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/10.03, allocations: 139.7 kB / 4.214 GB, free: 137.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/10.03, allocations: 35.98 kB / 4.214 GB, free: 137.7 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.0002763/10.03, allocations: 159.3 kB / 4.214 GB, free: 137.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001773/10.03, allocations: 1.03 MB / 4.215 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/10.03, allocations: 146.2 kB / 4.215 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/10.03, allocations: 1.102 MB / 4.216 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/10.03, allocations: 8 kB / 4.216 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/10.03, allocations: 0 / 4.216 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/10.03, allocations: 0.9989 MB / 4.217 GB, free: 134.2 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.004578/10.04, allocations: 2.747 MB / 4.22 GB, free: 131.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/10.04, allocations: 4 kB / 4.22 GB, free: 131.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009357/10.04, allocations: 188.3 kB / 4.22 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/10.04, allocations: 52.78 kB / 4.22 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/10.04, allocations: 23.88 kB / 4.22 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002699/10.04, allocations: 0.5837 MB / 4.221 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/10.04, allocations: 11.92 kB / 4.221 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/10.04, allocations: 1.975 MB / 4.223 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006923/10.04, allocations: 331.2 kB / 4.223 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/10.04, allocations: 8 kB / 4.223 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/10.04, allocations: 135.8 kB / 4.223 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/10.04, allocations: 60 kB / 4.223 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/10.04, allocations: 43.98 kB / 4.223 GB, free: 127.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001036/10.04, allocations: 0.7069 MB / 4.224 GB, free: 127 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/10.04, allocations: 0 / 4.224 GB, free: 127 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003097/10.05, allocations: 0.831 MB / 4.225 GB, free: 126.2 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.006327/10.05, allocations: 6.051 MB / 4.23 GB, free: 120.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002357/10.06, allocations: 1.634 MB / 4.232 GB, free: 118.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/10.06, allocations: 0 / 4.232 GB, free: 118.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006191/10.06, allocations: 0.5172 MB / 4.233 GB, free: 117.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/10.06, allocations: 0.7042 MB / 4.233 GB, free: 117.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008304/10.07, allocations: 2.906 MB / 4.236 GB, free: 114.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/10.07, allocations: 1.366 MB / 4.237 GB, free: 112.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002831/10.07, allocations: 471.1 kB / 4.238 GB, free: 112.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008388/10.07, allocations: 0.6008 MB / 4.238 GB, free: 111.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.462e-06/10.07, allocations: 0 / 4.238 GB, free: 111.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0926/10.17, allocations: 56.38 MB / 4.294 GB, free: 55.61 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/10.17, allocations: 186.1 kB / 4.294 GB, free: 55.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.153/14.32, allocations: 0 / 4.294 GB, free: 55.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat does not exist to compare? outputFormat=mat