Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 110.5 kB / 16.37 MB, free: 6.305 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.0009987/0.0009987, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001468/0.001468, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.197, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly): time 0.5678/0.7649, allocations: 265.6 MB / 1.044 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02935/0.7943, allocations: 21.43 MB / 1.065 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.7981, allocations: 115.4 kB / 1.065 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004787/0.803, allocations: 1.708 MB / 1.067 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009932/0.813, allocations: 3.926 MB / 1.071 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006641/0.8196, allocations: 2.641 MB / 1.073 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009425/0.8291, allocations: 7.822 MB / 1.081 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.8333, allocations: 2.854 MB / 1.084 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006825/0.8401, allocations: 3.437 MB / 1.087 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.8436, allocations: 2.183 MB / 1.089 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008542/0.8445, allocations: 388 kB / 1.09 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00574/0.8502, allocations: 2.729 MB / 1.092 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.8517, allocations: 1.149 MB / 1.093 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003262/0.855, allocations: 2.053 MB / 1.095 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009267/0.8642, allocations: 7.026 MB / 1.102 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8643, allocations: 0 / 1.102 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.217e-06/0.8643, allocations: 0 / 1.102 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001632/0.8644, allocations: 3.938 kB / 1.102 GB, free: 4.641 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.008819/0.8733, allocations: 4.484 MB / 1.107 GB, free: 0 / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.858e-05/0.8734, allocations: 8.078 kB / 1.107 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.8754, allocations: 0.5108 MB / 1.107 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.8802, allocations: 3.128 MB / 1.11 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.8804, allocations: 151.7 kB / 1.11 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.8807, allocations: 203.9 kB / 1.111 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/0.8847, allocations: 2.449 MB / 1.113 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.8847, allocations: 7.938 kB / 1.113 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.8849, allocations: 80 kB / 1.113 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/0.885, allocations: 67.58 kB / 1.113 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.8881, allocations: 1.9 MB / 1.115 GB, free: 7.383 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.01203/0.9001, allocations: 9.924 MB / 1.125 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.9021, allocations: 1.39 MB / 1.126 GB, free: 11.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.9033, allocations: 0.9637 MB / 1.127 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/0.9042, allocations: 1.18 MB / 1.128 GB, free: 9.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.9042, allocations: 43.56 kB / 1.128 GB, free: 9.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 3.387e-06/0.9043, allocations: 0 / 1.128 GB, free: 9.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=113): time 0.008106/0.9124, allocations: 5.649 MB / 1.134 GB, free: 3.316 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.9125, allocations: 230.6 kB / 1.134 GB, free: 3.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3309/1.243, allocations: 3.365 MB / 1.137 GB, free: 304.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003003/1.244, allocations: 54.58 kB / 1.137 GB, free: 304.1 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.245, allocations: 1.399 MB / 1.139 GB, free: 304 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.245, allocations: 390.1 kB / 1.139 GB, free: 304 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/1.246, allocations: 309.5 kB / 1.139 GB, free: 304 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.449e-05/1.246, allocations: 305.9 kB / 1.14 GB, free: 303.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/1.247, allocations: 1.06 MB / 1.141 GB, free: 303.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.248, allocations: 1.439 MB / 1.142 GB, free: 303.3 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.00779/1.256, allocations: 6.627 MB / 1.148 GB, free: 299.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/1.256, allocations: 1.531 kB / 1.148 GB, free: 299.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004174/1.26, allocations: 3.154 MB / 1.152 GB, free: 298.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/1.26, allocations: 390.5 kB / 1.152 GB, free: 297.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.26, allocations: 9.344 kB / 1.152 GB, free: 297.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/1.26, allocations: 11.88 kB / 1.152 GB, free: 297.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.262, allocations: 269.6 kB / 1.152 GB, free: 297.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003073/1.262, allocations: 0.6182 MB / 1.153 GB, free: 297.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/1.264, allocations: 100.9 kB / 1.153 GB, free: 297.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.264, allocations: 58.02 kB / 1.153 GB, free: 297.3 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.002499/1.266, allocations: 1.797 MB / 1.155 GB, free: 296.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001593/1.268, allocations: 1.429 MB / 1.156 GB, free: 295.7 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.008374/1.276, allocations: 6.595 MB / 1.163 GB, free: 292.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.133e-06/1.276, allocations: 2.281 kB / 1.163 GB, free: 292.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004549/1.281, allocations: 3.145 MB / 1.166 GB, free: 290.6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/1.281, allocations: 383.4 kB / 1.166 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.281, allocations: 5.75 kB / 1.166 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.281, allocations: 19.02 kB / 1.166 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/1.282, allocations: 255.2 kB / 1.166 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.282, allocations: 16.34 kB / 1.166 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.284, allocations: 112.1 kB / 1.166 GB, free: 290.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.284, allocations: 69.48 kB / 1.166 GB, free: 290.1 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: 27 * Number of states: 0 () * Number of discrete variables: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004569/1.285, allocations: 452.9 kB / 1.167 GB, free: 289.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/1.285, allocations: 309.8 kB / 1.167 GB, free: 289.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/1.289, allocations: 2.354 MB / 1.169 GB, free: 288.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002523/1.291, allocations: 2.107 MB / 1.171 GB, free: 287.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.291, allocations: 0 / 1.171 GB, free: 287.3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.293, allocations: 0.6399 MB / 1.172 GB, free: 286.9 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/1.293, allocations: 29.53 kB / 1.172 GB, free: 286.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.294, allocations: 61.64 kB / 1.172 GB, free: 286.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.294, allocations: 138.2 kB / 1.172 GB, free: 286.8 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003393/1.298, allocations: 2.543 MB / 1.175 GB, free: 285.4 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004539/1.302, allocations: 3.722 MB / 1.178 GB, free: 283.6 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001197/1.304, allocations: 0.9508 MB / 1.179 GB, free: 283.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003478/1.307, allocations: 2.337 MB / 1.182 GB, free: 282.3 MB / 0.92 GB Notification: Performance of Backend: time 3.5e-07/1.307, allocations: 0 / 1.182 GB, free: 282.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007762/1.315, allocations: 5.421 MB / 1.187 GB, free: 279.4 MB / 0.92 GB Notification: Performance of SimCode: time 0.01247/1.327, allocations: 7.106 MB / 1.194 GB, free: 276 MB / 0.92 GB Notification: Performance of Templates: time 0.09072/1.418, allocations: 72.62 MB / 1.265 GB, free: 220.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)