Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001582/0.001588, allocations: 115 kB / 16.38 MB, free: 6.023 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.001482/0.001482, allocations: 189.6 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 0.5496 GB, free: 17.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2014, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.58/0.7814, allocations: 266.3 MB / 1.045 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.811, allocations: 21.65 MB / 1.066 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003869/0.8149, allocations: 123.3 kB / 1.066 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00441/0.8194, allocations: 1.731 MB / 1.068 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.8304, allocations: 3.968 MB / 1.072 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006918/0.8373, allocations: 2.738 MB / 1.074 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.8482, allocations: 8.018 MB / 1.082 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004636/0.8529, allocations: 3.001 MB / 1.085 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00778/0.8607, allocations: 3.523 MB / 1.089 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003691/0.8644, allocations: 2.252 MB / 1.091 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007213/0.8651, allocations: 404 kB / 1.091 GB, free: 156 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.8706, allocations: 2.749 MB / 1.094 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.8719, allocations: 1.192 MB / 1.095 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.875, allocations: 2.146 MB / 1.097 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.8862, allocations: 7.24 MB / 1.104 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.8862, allocations: 0 / 1.104 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8862, allocations: 0 / 1.104 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001355/0.8864, allocations: 0 / 1.104 GB, free: 2.785 MB / 0.8887 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.008257/0.8946, allocations: 4.699 MB / 1.109 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8947, allocations: 8.031 kB / 1.109 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.8968, allocations: 0.5379 MB / 1.109 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/0.9025, allocations: 3.255 MB / 1.112 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.9026, allocations: 164 kB / 1.113 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/0.903, allocations: 216 kB / 1.113 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.9073, allocations: 2.589 MB / 1.115 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.9074, allocations: 11.84 kB / 1.115 GB, free: 7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.9076, allocations: 84 kB / 1.115 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.556e-05/0.9076, allocations: 71.89 kB / 1.115 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.9111, allocations: 1.995 MB / 1.117 GB, free: 4.852 MB / 0.9044 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.01413/0.9252, allocations: 10.7 MB / 1.128 GB, free: 9.641 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.9275, allocations: 1.533 MB / 1.129 GB, free: 8.082 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.9289, allocations: 1.043 MB / 1.13 GB, free: 7.043 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009516/0.9298, allocations: 1.18 MB / 1.132 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.9299, allocations: 47.59 kB / 1.132 GB, free: 5.547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=124): time 3.286e-06/0.9299, allocations: 3.938 kB / 1.132 GB, free: 5.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=132): time 0.3306/1.261, allocations: 6.171 MB / 1.138 GB, free: 304.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/1.261, allocations: 241.4 kB / 1.138 GB, free: 304.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/1.265, allocations: 3.454 MB / 1.141 GB, free: 303.9 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002512/1.265, allocations: 56.92 kB / 1.141 GB, free: 303.9 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009283/1.266, allocations: 1.475 MB / 1.143 GB, free: 303.6 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/1.266, allocations: 456 kB / 1.143 GB, free: 303.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/1.267, allocations: 327.6 kB / 1.143 GB, free: 303.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.585e-05/1.267, allocations: 301.9 kB / 1.144 GB, free: 303.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.268, allocations: 1.111 MB / 1.145 GB, free: 302.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/1.27, allocations: 1.499 MB / 1.146 GB, free: 301.8 MB / 0.92 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.00971/1.28, allocations: 6.958 MB / 1.153 GB, free: 298 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/1.28, allocations: 5.438 kB / 1.153 GB, free: 298 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005208/1.285, allocations: 3.368 MB / 1.156 GB, free: 296.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/1.285, allocations: 386.1 kB / 1.157 GB, free: 296.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.285, allocations: 8 kB / 1.157 GB, free: 296.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/1.285, allocations: 89.44 kB / 1.157 GB, free: 296.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.286, allocations: 278.8 kB / 1.157 GB, free: 296.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.289, allocations: 3.254 MB / 1.16 GB, free: 293.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/1.291, allocations: 98.38 kB / 1.16 GB, free: 293.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.291, allocations: 69.12 kB / 1.16 GB, free: 293 MB / 0.92 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.002823/1.294, allocations: 1.865 MB / 1.162 GB, free: 292.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001933/1.296, allocations: 1.503 MB / 1.164 GB, free: 291.4 MB / 0.92 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.009614/1.306, allocations: 6.909 MB / 1.171 GB, free: 287.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/1.306, allocations: 2.953 kB / 1.171 GB, free: 287.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004719/1.31, allocations: 3.359 MB / 1.174 GB, free: 286 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/1.311, allocations: 386.7 kB / 1.174 GB, free: 285.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.311, allocations: 6.812 kB / 1.174 GB, free: 285.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/1.311, allocations: 83.06 kB / 1.174 GB, free: 285.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.312, allocations: 281.9 kB / 1.175 GB, free: 285.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/1.314, allocations: 3.252 MB / 1.178 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.316, allocations: 117.7 kB / 1.178 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.316, allocations: 71.17 kB / 1.178 GB, free: 282.5 MB / 0.92 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.0004976/1.317, allocations: 468.4 kB / 1.178 GB, free: 282.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/1.317, allocations: 322.9 kB / 1.179 GB, free: 281.9 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/1.321, allocations: 2.527 MB / 1.181 GB, free: 280.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002712/1.323, allocations: 2.245 MB / 1.183 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.323, allocations: 3.938 kB / 1.183 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.325, allocations: 0.6695 MB / 1.184 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/1.325, allocations: 39.19 kB / 1.184 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.326, allocations: 73.5 kB / 1.184 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/1.327, allocations: 142.3 kB / 1.184 GB, free: 279 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003733/1.33, allocations: 2.715 MB / 1.187 GB, free: 277.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005036/1.335, allocations: 3.993 MB / 1.191 GB, free: 275.6 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001343/1.337, allocations: 1.03 MB / 1.192 GB, free: 275.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003603/1.34, allocations: 2.393 MB / 1.194 GB, free: 274.3 MB / 0.92 GB Notification: Performance of Backend: time 8.21e-07/1.34, allocations: 0.5625 kB / 1.194 GB, free: 274.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008481/1.349, allocations: 6.053 MB / 1.2 GB, free: 270.9 MB / 0.92 GB Notification: Performance of SimCode: time 0.01414/1.363, allocations: 7.421 MB / 1.207 GB, free: 267.3 MB / 0.92 GB Notification: Performance of Templates: time 0.09698/1.46, allocations: 75.72 MB / 1.281 GB, free: 203.3 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)