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.267/2.267, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001268/0.001268, allocations: 188.8 kB / 492.3 MB, free: 0.5938 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.624/1.624, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009557/0.0009557, allocations: 88.02 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.037e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3007, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.601/5.902, allocations: 1.932 GB / 3.145 GB, free: 409.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/5.902, allocations: 88.58 kB / 3.145 GB, free: 409 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.547/9.448, allocations: 1.052 GB / 4.197 GB, free: 196.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.343e-06/9.449, allocations: 0 / 4.197 GB, free: 196.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001504/9.449, allocations: 45.72 kB / 4.197 GB, free: 196.7 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.003886/9.453, allocations: 2.07 MB / 4.199 GB, free: 195.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/9.453, allocations: 8.031 kB / 4.199 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/9.453, allocations: 185.4 kB / 4.199 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/9.456, allocations: 0.6243 MB / 4.2 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/9.459, allocations: 1.44 MB / 4.201 GB, free: 192.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/9.46, allocations: 166.6 kB / 4.201 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/9.46, allocations: 124 kB / 4.201 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/9.462, allocations: 1.365 MB / 4.203 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/9.462, allocations: 7.844 kB / 4.203 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/9.462, allocations: 63.89 kB / 4.203 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/9.462, allocations: 38.27 kB / 4.203 GB, free: 191 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/9.464, allocations: 1.051 MB / 4.204 GB, free: 190 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.007536/9.471, allocations: 5.998 MB / 4.21 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/9.472, allocations: 0.9534 MB / 4.211 GB, free: 182.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/9.473, allocations: 476.5 kB / 4.211 GB, free: 182.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004704/9.473, allocations: 310.1 kB / 4.211 GB, free: 181.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006814/9.474, allocations: 0.5211 MB / 4.212 GB, free: 181.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 3.496e-06/9.474, allocations: 0 / 4.212 GB, free: 181.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.004282/9.478, allocations: 2.462 MB / 4.214 GB, free: 178.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/9.478, allocations: 196.7 kB / 4.214 GB, free: 178.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/9.48, allocations: 1.113 MB / 4.216 GB, free: 177.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/9.48, allocations: 45.7 kB / 4.216 GB, free: 177.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/9.48, allocations: 0.7353 MB / 4.216 GB, free: 176.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/9.481, allocations: 295.1 kB / 4.217 GB, free: 176.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/9.481, allocations: 16 kB / 4.217 GB, free: 176.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.953e-05/9.481, allocations: 345.9 kB / 4.217 GB, free: 176.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/9.481, allocations: 349.9 kB / 4.217 GB, free: 175.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/9.482, allocations: 0.5852 MB / 4.218 GB, free: 175.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.01007/9.492, allocations: 2.595 MB / 4.22 GB, free: 172.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/9.492, allocations: 0 / 4.22 GB, free: 172.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001823/9.494, allocations: 1.175 MB / 4.221 GB, free: 171.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002994/9.494, allocations: 1.471 MB / 4.223 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/9.494, allocations: 4 kB / 4.223 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/9.494, allocations: 56.77 kB / 4.223 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009021/9.495, allocations: 210.3 kB / 4.223 GB, free: 169.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003346/9.495, allocations: 0.5953 MB / 4.224 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/9.497, allocations: 151.8 kB / 4.224 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.546e-05/9.497, allocations: 43.98 kB / 4.224 GB, free: 168.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/9.497, allocations: 4 kB / 4.224 GB, free: 168.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/9.499, allocations: 1.02 MB / 4.225 GB, free: 167.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/9.499, allocations: 18.42 kB / 4.225 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/9.499, allocations: 40.84 kB / 4.225 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/9.5, allocations: 213.2 kB / 4.225 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/9.501, allocations: 1.593 MB / 4.227 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/9.502, allocations: 150.9 kB / 4.227 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/9.502, allocations: 40.17 kB / 4.227 GB, free: 165.5 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.0002605/9.503, allocations: 202.8 kB / 4.227 GB, free: 165.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/9.503, allocations: 166 kB / 4.227 GB, free: 165.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/9.505, allocations: 1.15 MB / 4.228 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/9.505, allocations: 11.94 kB / 4.228 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/9.505, allocations: 3.953 kB / 4.228 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/9.506, allocations: 1.009 MB / 4.229 GB, free: 162.9 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.003975/9.51, allocations: 2.951 MB / 4.232 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/9.51, allocations: 4 kB / 4.232 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009089/9.511, allocations: 193.8 kB / 4.232 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/9.511, allocations: 51.08 kB / 4.233 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/9.511, allocations: 31.98 kB / 4.233 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002538/9.511, allocations: 0.5863 MB / 4.233 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/9.511, allocations: 7.938 kB / 4.233 GB, free: 158.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/9.514, allocations: 2.039 MB / 4.235 GB, free: 156.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/9.514, allocations: 355 kB / 4.235 GB, free: 156.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/9.514, allocations: 24.19 kB / 4.235 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/9.516, allocations: 141 kB / 4.236 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/9.516, allocations: 60.33 kB / 4.236 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/9.516, allocations: 39.98 kB / 4.236 GB, free: 156.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001015/9.517, allocations: 0.8724 MB / 4.237 GB, free: 155.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/9.517, allocations: 0 / 4.237 GB, free: 155.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002738/9.52, allocations: 0.9464 MB / 4.238 GB, free: 154.3 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.005608/9.525, allocations: 5.851 MB / 4.243 GB, free: 148.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002351/9.528, allocations: 1.73 MB / 4.245 GB, free: 146.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/9.528, allocations: 0 / 4.245 GB, free: 146.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006358/9.528, allocations: 0.5377 MB / 4.245 GB, free: 146.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/9.532, allocations: 0.8098 MB / 4.246 GB, free: 145.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/9.539, allocations: 3.005 MB / 4.249 GB, free: 142.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/9.54, allocations: 1.381 MB / 4.251 GB, free: 140.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002131/9.542, allocations: 0.5027 MB / 4.251 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007017/9.543, allocations: 0.6125 MB / 4.252 GB, free: 139.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.81e-07/9.543, allocations: 0 / 4.252 GB, free: 139.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/9.662, allocations: 83.75 MB / 4.333 GB, free: 56.63 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/9.662, allocations: 217.1 kB / 4.334 GB, free: 56.41 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.948/14.61, allocations: 0 / 4.334 GB, free: 56.41 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