Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 108.8 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 192.3 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00223/0.00223, allocations: 295.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 103.8 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.391, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.6114/1.002, allocations: 266.2 MB / 1.027 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02446/1.027, allocations: 21.8 MB / 1.048 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004126/1.031, allocations: 127.2 kB / 1.048 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004104/1.035, allocations: 1.754 MB / 1.05 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009546/1.045, allocations: 3.979 MB / 1.054 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006074/1.051, allocations: 2.724 MB / 1.057 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009471/1.06, allocations: 8.048 MB / 1.065 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/1.064, allocations: 3.011 MB / 1.068 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007162/1.072, allocations: 3.577 MB / 1.071 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/1.075, allocations: 2.264 MB / 1.073 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000709/1.076, allocations: 402.2 kB / 1.074 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005644/1.082, allocations: 2.744 MB / 1.076 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/1.083, allocations: 1.186 MB / 1.077 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002547/1.085, allocations: 2.143 MB / 1.08 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008915/1.094, allocations: 7.248 MB / 1.087 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.094, allocations: 0 / 1.087 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.314e-06/1.094, allocations: 3.938 kB / 1.087 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.742e-05/1.095, allocations: 0 / 1.087 GB, free: 10.93 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.007425/1.102, allocations: 4.696 MB / 1.091 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.102, allocations: 12.03 kB / 1.091 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/1.104, allocations: 0.5321 MB / 1.092 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004961/1.109, allocations: 3.265 MB / 1.095 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/1.109, allocations: 164 kB / 1.095 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.109, allocations: 219.9 kB / 1.095 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/1.114, allocations: 2.585 MB / 1.098 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/1.114, allocations: 11.64 kB / 1.098 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/1.114, allocations: 87.94 kB / 1.098 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/1.114, allocations: 75.88 kB / 1.098 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/1.117, allocations: 1.994 MB / 1.1 GB, free: 13.2 MB / 0.7637 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.01329/1.13, allocations: 10.71 MB / 1.11 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/1.133, allocations: 1.528 MB / 1.112 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/1.134, allocations: 1.039 MB / 1.113 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/1.135, allocations: 1.171 MB / 1.114 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.135, allocations: 58.09 kB / 1.114 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=124): time 3.486e-06/1.135, allocations: 0 / 1.114 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=132): time 0.009602/1.145, allocations: 6.178 MB / 1.12 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.145, allocations: 238.6 kB / 1.12 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/1.149, allocations: 3.451 MB / 1.124 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.15, allocations: 61.64 kB / 1.124 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/1.151, allocations: 1.485 MB / 1.125 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/1.151, allocations: 455.7 kB / 1.126 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004744/1.152, allocations: 323.4 kB / 1.126 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.964e-05/1.152, allocations: 301.1 kB / 1.126 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/1.153, allocations: 1.114 MB / 1.127 GB, free: 344 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/1.155, allocations: 1.498 MB / 1.129 GB, free: 14.71 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009923/1.165, allocations: 6.964 MB / 1.136 GB, free: 7.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.165, allocations: 0 / 1.136 GB, free: 7.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005221/1.17, allocations: 3.368 MB / 1.139 GB, free: 3.996 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002238/1.171, allocations: 388.4 kB / 1.139 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.171, allocations: 4 kB / 1.139 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/1.171, allocations: 92.77 kB / 1.139 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.172, allocations: 273.7 kB / 1.14 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/1.175, allocations: 3.258 MB / 1.143 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/1.177, allocations: 95.83 kB / 1.143 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/1.177, allocations: 67.98 kB / 1.143 GB, free: 15.51 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002927/1.18, allocations: 1.863 MB / 1.145 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001928/1.182, allocations: 1.491 MB / 1.146 GB, free: 12.03 MB / 0.8106 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01011/1.192, allocations: 6.93 MB / 1.153 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.917e-06/1.192, allocations: 4 kB / 1.153 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.005011/1.197, allocations: 3.349 MB / 1.156 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/1.197, allocations: 388.4 kB / 1.157 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.197, allocations: 11.94 kB / 1.157 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/1.198, allocations: 81.67 kB / 1.157 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.199, allocations: 281.3 kB / 1.157 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/1.201, allocations: 3.247 MB / 1.16 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.204, allocations: 104 kB / 1.16 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/1.204, allocations: 79.92 kB / 1.16 GB, free: 12.87 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000608/1.205, allocations: 457.3 kB / 1.161 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009025/1.205, allocations: 324 kB / 1.161 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/1.21, allocations: 2.545 MB / 1.164 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002914/1.213, allocations: 2.232 MB / 1.166 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.213, allocations: 0 / 1.166 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.214, allocations: 0.6804 MB / 1.166 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000721/1.215, allocations: 32 kB / 1.166 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/1.217, allocations: 71.94 kB / 1.167 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/1.217, allocations: 140.7 kB / 1.167 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004148/1.221, allocations: 2.71 MB / 1.169 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005468/1.226, allocations: 3.975 MB / 1.173 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00134/1.228, allocations: 1.037 MB / 1.174 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.004478/1.232, allocations: 2.393 MB / 1.177 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of Backend: time 5.01e-07/1.232, allocations: 0 / 1.177 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.242, allocations: 6.063 MB / 1.182 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of SimCode: time 0.01477/1.257, allocations: 7.388 MB / 1.19 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.1167/1.374, allocations: 75.86 MB / 1.264 GB, free: 3.477 MB / 0.92 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)