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.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001383/0.001382, allocations: 195.8 kB / 0.4902 GB, free: 2.238 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.618/1.618, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001025/0.001025, allocations: 97.69 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004441, allocations: 8.125 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3308, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/5.046, allocations: 1.933 GB / 3.163 GB, free: 26.67 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/5.046, allocations: 91.95 kB / 3.163 GB, free: 26.58 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.691/9.737, allocations: 1.053 GB / 4.215 GB, free: 227.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.697e-06/9.737, allocations: 0 / 4.215 GB, free: 227.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000362/9.737, allocations: 53.22 kB / 4.216 GB, free: 227.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.01007/9.747, allocations: 2.38 MB / 4.218 GB, free: 226.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/9.747, allocations: 20.16 kB / 4.218 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009379/9.748, allocations: 177.7 kB / 4.218 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/9.754, allocations: 0.631 MB / 4.219 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005654/9.759, allocations: 1.451 MB / 4.22 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004725/9.76, allocations: 158.8 kB / 4.22 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/9.76, allocations: 127.1 kB / 4.22 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/9.765, allocations: 1.475 MB / 4.222 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/9.765, allocations: 0 / 4.222 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/9.765, allocations: 47.69 kB / 4.222 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/9.765, allocations: 44.55 kB / 4.222 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/9.769, allocations: 1.254 MB / 4.223 GB, free: 225.4 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.01174/9.78, allocations: 6.014 MB / 4.229 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/9.783, allocations: 1.126 MB / 4.23 GB, free: 222.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006008/9.783, allocations: 313 kB / 4.23 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/9.784, allocations: 0.6177 MB / 4.231 GB, free: 222.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 3.917e-06/9.785, allocations: 2.438 kB / 4.231 GB, free: 222.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=87): time 0.009258/9.794, allocations: 3.483 MB / 4.234 GB, free: 221.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/9.794, allocations: 192 kB / 4.235 GB, free: 221.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/9.797, allocations: 1.137 MB / 4.236 GB, free: 221.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/9.797, allocations: 44.52 kB / 4.236 GB, free: 221.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008471/9.798, allocations: 0.7312 MB / 4.236 GB, free: 220.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/9.798, allocations: 301 kB / 4.237 GB, free: 220.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/9.798, allocations: 13.75 kB / 4.237 GB, free: 220.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001046/9.798, allocations: 337.4 kB / 4.237 GB, free: 220.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009565/9.799, allocations: 450.6 kB / 4.238 GB, free: 220.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/9.8, allocations: 0.687 MB / 4.238 GB, free: 220.1 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.01278/9.813, allocations: 2.873 MB / 4.241 GB, free: 219.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/9.813, allocations: 0 / 4.241 GB, free: 219.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003769/9.817, allocations: 1.379 MB / 4.242 GB, free: 219.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004913/9.818, allocations: 1.477 MB / 4.244 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/9.818, allocations: 3.781 kB / 4.244 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/9.818, allocations: 60.75 kB / 4.244 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/9.819, allocations: 213.5 kB / 4.244 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004616/9.819, allocations: 0.5857 MB / 4.245 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/9.822, allocations: 152.2 kB / 4.245 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/9.822, allocations: 41.22 kB / 4.245 GB, free: 217.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/9.822, allocations: 7.672 kB / 4.245 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002644/9.824, allocations: 1.221 MB / 4.246 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/9.824, allocations: 3.906 kB / 4.246 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/9.825, allocations: 55.95 kB / 4.246 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/9.826, allocations: 208 kB / 4.246 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/9.827, allocations: 1.608 MB / 4.248 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/9.829, allocations: 153.8 kB / 4.248 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/9.83, allocations: 42.55 kB / 4.248 GB, free: 216.2 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.001308/9.831, allocations: 0.4933 MB / 4.248 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/9.831, allocations: 169.3 kB / 4.249 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/9.835, allocations: 1.353 MB / 4.25 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/9.835, allocations: 11.03 kB / 4.25 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/9.835, allocations: 0 / 4.25 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/9.837, allocations: 1.217 MB / 4.251 GB, free: 215.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 postOpt removeSimpleEquations (simulation): time 0.007572/9.845, allocations: 3.126 MB / 4.254 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/9.845, allocations: 3.469 kB / 4.254 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/9.846, allocations: 195.7 kB / 4.254 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/9.846, allocations: 57.27 kB / 4.254 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/9.846, allocations: 31.8 kB / 4.254 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004921/9.847, allocations: 0.5801 MB / 4.255 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/9.847, allocations: 11.22 kB / 4.255 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/9.851, allocations: 2.342 MB / 4.257 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/9.853, allocations: 346.7 kB / 4.258 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/9.854, allocations: 28.28 kB / 4.258 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/9.856, allocations: 143.3 kB / 4.258 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/9.856, allocations: 59.28 kB / 4.258 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/9.856, allocations: 44.92 kB / 4.258 GB, free: 213.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002399/9.859, allocations: 0.8824 MB / 4.259 GB, free: 213.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.41e-07/9.859, allocations: 0 / 4.259 GB, free: 213.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005617/9.864, allocations: 0.9428 MB / 4.26 GB, free: 213.3 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.01072/9.875, allocations: 6.156 MB / 4.266 GB, free: 210.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005243/9.88, allocations: 1.964 MB / 4.268 GB, free: 210.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/9.88, allocations: 2.844 kB / 4.268 GB, free: 210.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/9.882, allocations: 0.6287 MB / 4.268 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005204/9.887, allocations: 0.8223 MB / 4.269 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/9.909, allocations: 12.45 MB / 4.281 GB, free: 204.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/9.91, allocations: 1.368 MB / 4.283 GB, free: 203.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002056/9.912, allocations: 377.1 kB / 4.283 GB, free: 203.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009186/9.913, allocations: 0.6303 MB / 4.284 GB, free: 203.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.382e-06/9.913, allocations: 0 / 4.284 GB, free: 203.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/10.05, allocations: 75.92 MB / 4.358 GB, free: 152 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/10.05, allocations: 257.7 kB / 4.358 GB, free: 151.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.923/14.98, allocations: 4 kB / 4.358 GB, free: 151.6 MB / 1.167 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