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.19/2.19, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001092/0.001092, allocations: 194.4 kB / 498.1 MB, free: 5.684 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.495/1.495, allocations: 223.1 MB / 0.7948 GB, free: 17.86 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.0008866/0.0008867, allocations: 98.95 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 6.938 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2827, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.733/4.016, allocations: 1.933 GB / 3.155 GB, free: 79.65 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/4.016, allocations: 95.89 kB / 3.156 GB, free: 79.55 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.801/7.817, allocations: 1.053 GB / 4.208 GB, free: 237.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.503e-06/7.817, allocations: 3.609 kB / 4.208 GB, free: 237.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000311/7.817, allocations: 52.14 kB / 4.208 GB, free: 237.2 MB / 1.167 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.006612/7.824, allocations: 2.381 MB / 4.211 GB, free: 236.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/7.824, allocations: 9.844 kB / 4.211 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005662/7.824, allocations: 179.7 kB / 4.211 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/7.828, allocations: 0.6265 MB / 4.212 GB, free: 236.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/7.832, allocations: 1.454 MB / 4.213 GB, free: 235.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/7.833, allocations: 159.4 kB / 4.213 GB, free: 235.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/7.833, allocations: 126.9 kB / 4.213 GB, free: 235.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/7.836, allocations: 1.477 MB / 4.215 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/7.836, allocations: 3.438 kB / 4.215 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/7.836, allocations: 51.31 kB / 4.215 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/7.836, allocations: 41.89 kB / 4.215 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/7.838, allocations: 1.252 MB / 4.216 GB, free: 235.5 MB / 1.167 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.007497/7.846, allocations: 6.013 MB / 4.222 GB, free: 233.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/7.847, allocations: 1.133 MB / 4.223 GB, free: 232.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/7.848, allocations: 311 kB / 4.223 GB, free: 232.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/7.849, allocations: 0.6179 MB / 4.224 GB, free: 232.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 3.407e-06/7.849, allocations: 0 / 4.224 GB, free: 232.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=87): time 0.006798/7.856, allocations: 3.487 MB / 4.227 GB, free: 231.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/7.856, allocations: 195.6 kB / 4.227 GB, free: 231.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/7.857, allocations: 1.127 MB / 4.229 GB, free: 231.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.393e-05/7.857, allocations: 44.98 kB / 4.229 GB, free: 231.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/7.858, allocations: 0.7326 MB / 4.229 GB, free: 231 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/7.858, allocations: 300.4 kB / 4.23 GB, free: 230.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/7.858, allocations: 20.84 kB / 4.23 GB, free: 230.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.701e-05/7.858, allocations: 336.5 kB / 4.23 GB, free: 230.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/7.859, allocations: 447.3 kB / 4.23 GB, free: 230.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009912/7.86, allocations: 0.6825 MB / 4.231 GB, free: 230.3 MB / 1.167 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.01205/7.872, allocations: 2.871 MB / 4.234 GB, free: 230.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/7.872, allocations: 3.703 kB / 4.234 GB, free: 230.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00288/7.875, allocations: 1.377 MB / 4.235 GB, free: 230 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003489/7.876, allocations: 1.476 MB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/7.876, allocations: 3.906 kB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/7.876, allocations: 52.62 kB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/7.877, allocations: 209.2 kB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003454/7.877, allocations: 0.5891 MB / 4.237 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/7.879, allocations: 153.6 kB / 4.238 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/7.879, allocations: 37.69 kB / 4.238 GB, free: 227.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/7.879, allocations: 3.812 kB / 4.238 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002183/7.881, allocations: 1.229 MB / 4.239 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/7.881, allocations: 3.844 kB / 4.239 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/7.881, allocations: 51.72 kB / 4.239 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/7.882, allocations: 207.6 kB / 4.239 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/7.883, allocations: 1.62 MB / 4.241 GB, free: 226.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/7.885, allocations: 152.5 kB / 4.241 GB, free: 226.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/7.885, allocations: 35.83 kB / 4.241 GB, free: 226.4 MB / 1.167 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 () * Number of clocked 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.000941/7.886, allocations: 0.5008 MB / 4.241 GB, free: 226.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/7.886, allocations: 166.1 kB / 4.242 GB, free: 226.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/7.889, allocations: 1.343 MB / 4.243 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/7.889, allocations: 7.031 kB / 4.243 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/7.889, allocations: 3.719 kB / 4.243 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001964/7.891, allocations: 1.218 MB / 4.244 GB, free: 225.7 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.005049/7.896, allocations: 3.137 MB / 4.247 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/7.896, allocations: 3.906 kB / 4.247 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009088/7.897, allocations: 198.9 kB / 4.247 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/7.897, allocations: 57.89 kB / 4.247 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/7.897, allocations: 27.09 kB / 4.247 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002712/7.897, allocations: 0.5824 MB / 4.248 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/7.897, allocations: 7.031 kB / 4.248 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/7.9, allocations: 2.335 MB / 4.25 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007506/7.901, allocations: 347.2 kB / 4.251 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/7.901, allocations: 20.25 kB / 4.251 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/7.903, allocations: 141.2 kB / 4.251 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/7.903, allocations: 60.84 kB / 4.251 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/7.903, allocations: 40.52 kB / 4.251 GB, free: 223.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001106/7.904, allocations: 0.8876 MB / 4.252 GB, free: 223.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/7.904, allocations: 0 / 4.252 GB, free: 223.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003007/7.907, allocations: 0.9496 MB / 4.253 GB, free: 223.6 MB / 1.167 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) * Number of clocked states: 0 () * 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.006861/7.914, allocations: 6.164 MB / 4.259 GB, free: 220.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003345/7.917, allocations: 1.967 MB / 4.261 GB, free: 220.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/7.917, allocations: 0 / 4.261 GB, free: 220.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/7.918, allocations: 0.6372 MB / 4.261 GB, free: 220.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/7.922, allocations: 0.8137 MB / 4.262 GB, free: 220.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/7.938, allocations: 12.45 MB / 4.274 GB, free: 214.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/7.939, allocations: 1.366 MB / 4.275 GB, free: 213.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001657/7.94, allocations: 380.3 kB / 4.276 GB, free: 213.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/7.941, allocations: 0.6313 MB / 4.276 GB, free: 213.8 MB / 1.167 GB Notification: Performance of SimCode: time 6.11e-07/7.941, allocations: 0 / 4.276 GB, free: 213.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/8.052, allocations: 75.9 MB / 4.351 GB, free: 196.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/8.052, allocations: 255.4 kB / 4.351 GB, free: 196.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.659/12.71, allocations: 0 / 4.351 GB, free: 196.1 MB / 1.167 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