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: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001211/0.001212, allocations: 193.2 kB / 487 MB, free: 5.32 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.417/1.417, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.001068/0.001068, allocations: 90.23 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.614e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2822, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.699/4.981, allocations: 1.932 GB / 3.137 GB, free: 392 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/4.982, allocations: 83.95 kB / 3.137 GB, free: 391.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.057/8.038, allocations: 1.052 GB / 4.189 GB, free: 188.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001757/8.039, allocations: 47.86 kB / 4.189 GB, free: 188.2 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.004968/8.044, allocations: 2.087 MB / 4.191 GB, free: 186.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/8.044, allocations: 13.03 kB / 4.191 GB, free: 186 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/8.048, allocations: 0.6523 MB / 4.192 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/8.052, allocations: 1.472 MB / 4.193 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/8.052, allocations: 129 kB / 4.194 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/8.053, allocations: 75.61 kB / 4.194 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00186/8.054, allocations: 1.032 MB / 4.195 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/8.056, allocations: 1.231 MB / 4.196 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/8.056, allocations: 3.828 kB / 4.196 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/8.056, allocations: 7.188 kB / 4.196 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/8.056, allocations: 38.27 kB / 4.196 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008363/8.065, allocations: 6.237 MB / 4.202 GB, free: 175 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/8.066, allocations: 0.8396 MB / 4.203 GB, free: 174.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/8.067, allocations: 479.4 kB / 4.203 GB, free: 173.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/8.067, allocations: 481.7 kB / 4.204 GB, free: 173.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007002/8.068, allocations: 0.5242 MB / 4.204 GB, free: 172.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 4.028e-06/8.068, allocations: 0 / 4.204 GB, free: 172.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.006287/8.074, allocations: 2.564 MB / 4.207 GB, free: 170 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/8.074, allocations: 192.6 kB / 4.207 GB, free: 169.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/8.076, allocations: 0.9249 MB / 4.208 GB, free: 168.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/8.076, allocations: 29.7 kB / 4.208 GB, free: 168.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/8.076, allocations: 493.4 kB / 4.208 GB, free: 168.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/8.076, allocations: 291.6 kB / 4.209 GB, free: 168 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/8.076, allocations: 0 / 4.209 GB, free: 168 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.838e-05/8.077, allocations: 341.9 kB / 4.209 GB, free: 167.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/8.077, allocations: 349.9 kB / 4.209 GB, free: 167.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/8.078, allocations: 0.5747 MB / 4.21 GB, free: 166.6 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.004411/8.082, allocations: 1.652 MB / 4.211 GB, free: 165 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/8.082, allocations: 4 kB / 4.211 GB, free: 165 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002261/8.084, allocations: 1.147 MB / 4.213 GB, free: 163.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003931/8.085, allocations: 1.427 MB / 4.214 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/8.085, allocations: 4 kB / 4.214 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001814/8.085, allocations: 51.75 kB / 4.214 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009931/8.086, allocations: 212.7 kB / 4.214 GB, free: 162.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003802/8.086, allocations: 0.6055 MB / 4.215 GB, free: 161.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/8.088, allocations: 134.2 kB / 4.215 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/8.088, allocations: 36.05 kB / 4.215 GB, free: 161.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/8.088, allocations: 4 kB / 4.215 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001649/8.09, allocations: 0.9562 MB / 4.216 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/8.09, allocations: 8 kB / 4.216 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/8.09, allocations: 44.83 kB / 4.216 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/8.091, allocations: 214.3 kB / 4.216 GB, free: 160.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/8.092, allocations: 1.465 MB / 4.218 GB, free: 158.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/8.094, allocations: 138.7 kB / 4.218 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/8.094, allocations: 40.05 kB / 4.218 GB, free: 158.4 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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.0002925/8.094, allocations: 177.8 kB / 4.218 GB, free: 158.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/8.095, allocations: 146.2 kB / 4.218 GB, free: 158.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/8.097, allocations: 1.117 MB / 4.219 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/8.097, allocations: 8 kB / 4.219 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/8.097, allocations: 0 / 4.219 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/8.098, allocations: 0.9956 MB / 4.22 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/8.103, allocations: 2.735 MB / 4.223 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/8.103, allocations: 4 kB / 4.223 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/8.105, allocations: 198.2 kB / 4.223 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/8.105, allocations: 40.84 kB / 4.223 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/8.105, allocations: 23.38 kB / 4.223 GB, free: 152.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003505/8.105, allocations: 0.5937 MB / 4.224 GB, free: 152.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/8.105, allocations: 4.062 kB / 4.224 GB, free: 152.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002617/8.108, allocations: 2.01 MB / 4.226 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009492/8.109, allocations: 335.2 kB / 4.226 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/8.109, allocations: 12 kB / 4.226 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/8.111, allocations: 133.9 kB / 4.226 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/8.111, allocations: 52.5 kB / 4.226 GB, free: 149.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-05/8.111, allocations: 35.98 kB / 4.226 GB, free: 149.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001318/8.112, allocations: 0.7031 MB / 4.227 GB, free: 148.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003431/8.116, allocations: 0.824 MB / 4.228 GB, free: 147.9 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.003986/8.12, allocations: 2.644 MB / 4.23 GB, free: 145.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002796/8.123, allocations: 1.589 MB / 4.232 GB, free: 143.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/8.123, allocations: 8 kB / 4.232 GB, free: 143.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/8.123, allocations: 0.5039 MB / 4.232 GB, free: 143.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/8.127, allocations: 0.68 MB / 4.233 GB, free: 142.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/8.135, allocations: 2.632 MB / 4.236 GB, free: 140 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/8.137, allocations: 1.486 MB / 4.237 GB, free: 138.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.342e-06/8.137, allocations: 0 / 4.237 GB, free: 138.5 MB / 1.151 GB Notification: Performance of Templates: time 0.06349/8.201, allocations: 44.39 MB / 4.28 GB, free: 94.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (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 & ./Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Examples_Humidifier_u.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches