Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.742/1.742, allocations: 287.4 MB / 303.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.001131, allocations: 186.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 0.6304 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 89.5 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 11.62 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1754, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.5945/0.77, allocations: 243.3 MB / 1.217 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.7984, allocations: 20.29 MB / 1.237 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004722/0.8032, allocations: 107.3 kB / 1.237 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.8077, allocations: 1.192 MB / 1.238 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.009835/0.8176, allocations: 2.967 MB / 1.241 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.006143/0.8237, allocations: 1.846 MB / 1.243 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.8349, allocations: 8.672 MB / 1.251 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004929/0.8399, allocations: 2.373 MB / 1.253 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00694/0.8469, allocations: 2.613 MB / 1.256 GB, free: 408 kB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.8508, allocations: 1.94 MB / 1.258 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0009819/0.8518, allocations: 116 kB / 1.258 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005225/0.857, allocations: 1.571 MB / 1.26 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.8586, allocations: 0.8953 MB / 1.26 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.8603, allocations: 0.7927 MB / 1.261 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.007065/0.8674, allocations: 5.509 MB / 1.267 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.8674, allocations: 0 / 1.267 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8674, allocations: 0 / 1.267 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002205/0.8677, allocations: 0 / 1.267 GB, free: 5.539 MB / 0.7917 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.008097/0.8758, allocations: 3.94 MB / 1.27 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.8758, allocations: 8.031 kB / 1.27 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.8783, allocations: 0.5379 MB / 1.271 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/0.885, allocations: 3.185 MB / 1.274 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.8852, allocations: 160 kB / 1.274 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005981/0.8858, allocations: 231.9 kB / 1.274 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005841/0.8916, allocations: 2.57 MB / 1.277 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.8917, allocations: 7.875 kB / 1.277 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.892, allocations: 92 kB / 1.277 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.024e-05/0.8921, allocations: 75.89 kB / 1.277 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.8963, allocations: 1.979 MB / 1.279 GB, free: 8.453 MB / 0.8073 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.01592/0.9122, allocations: 10.74 MB / 1.29 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.9145, allocations: 1.521 MB / 1.291 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.916, allocations: 1.04 MB / 1.292 GB, free: 10.62 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.9171, allocations: 1.176 MB / 1.293 GB, free: 9.188 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.9172, allocations: 51.59 kB / 1.293 GB, free: 9.129 MB / 0.823 GB Notification: Performance of pre-optimization done (n=124): time 5.35e-06/0.9172, allocations: 4 kB / 1.293 GB, free: 9.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=132): time 0.0113/0.9285, allocations: 6.168 MB / 1.299 GB, free: 2.793 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.9287, allocations: 234.6 kB / 1.299 GB, free: 2.516 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005733/0.9344, allocations: 3.408 MB / 1.303 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000297/0.9348, allocations: 61.64 kB / 1.303 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.936, allocations: 1.483 MB / 1.304 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.9365, allocations: 453.4 kB / 1.305 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.9366, allocations: 32 kB / 1.305 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9367, allocations: 365.9 kB / 1.305 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.9383, allocations: 1.089 MB / 1.306 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.9401, allocations: 1.496 MB / 1.308 GB, free: 9.996 MB / 0.8386 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.009757/0.9498, allocations: 6.912 MB / 1.314 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.9499, allocations: 4 kB / 1.314 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005073/0.9549, allocations: 3.35 MB / 1.318 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.9554, allocations: 0.6431 MB / 1.318 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.9554, allocations: 11.98 kB / 1.318 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.9556, allocations: 85.61 kB / 1.318 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.9567, allocations: 279.5 kB / 1.319 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.9591, allocations: 3.029 MB / 1.322 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.9615, allocations: 188.7 kB / 1.322 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.9616, allocations: 67.98 kB / 1.322 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.9616, allocations: 4 kB / 1.322 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004327/0.966, allocations: 3.435 MB / 1.325 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.966, allocations: 8.031 kB / 1.325 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.9662, allocations: 85.67 kB / 1.325 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.9672, allocations: 279.5 kB / 1.326 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.9695, allocations: 3.025 MB / 1.329 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.972, allocations: 191.7 kB / 1.329 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.9722, allocations: 71.98 kB / 1.329 GB, free: 3.113 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001842/0.974, allocations: 1.116 MB / 1.33 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/0.9747, allocations: 327.9 kB / 1.33 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.9783, allocations: 2.522 MB / 1.333 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00276/0.981, allocations: 2.233 MB / 1.335 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.9811, allocations: 0 / 1.335 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.9826, allocations: 0.7038 MB / 1.336 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/0.983, allocations: 36 kB / 1.336 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.9844, allocations: 146.1 kB / 1.336 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.9847, allocations: 141.2 kB / 1.336 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003912/0.9887, allocations: 2.722 MB / 1.338 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005201/0.9939, allocations: 3.984 MB / 1.342 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00135/0.9953, allocations: 1.029 MB / 1.343 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003822/0.9991, allocations: 2.346 MB / 1.346 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of Backend: time 7.32e-07/0.9991, allocations: 0 / 1.346 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008467/1.008, allocations: 6.007 MB / 1.352 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of SimCode: time 0.01428/1.022, allocations: 8.333 MB / 1.36 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of Templates: time 0.4582/1.48, allocations: 73.53 MB / 1.431 GB, free: 346.9 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)