Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.833/1.833, allocations: 287.4 MB / 303.2 MB, free: 8.309 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.0009763/0.0009765, allocations: 181.1 kB / 371.8 MB, free: 10.84 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.341/1.341, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0008401/0.0008401, allocations: 93.27 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 12.5 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1787, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.6335/0.8123, allocations: 254.2 MB / 1.228 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03142/0.8437, allocations: 24.71 MB / 1.252 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.8471, allocations: 91.38 kB / 1.252 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.8507, allocations: 0.9975 MB / 1.253 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.861, allocations: 3.368 MB / 1.256 GB, free: 344 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009287/0.8703, allocations: 3.258 MB / 1.259 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.02389/0.8942, allocations: 20.26 MB / 1.279 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.9046, allocations: 6.505 MB / 1.285 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.9158, allocations: 5.092 MB / 1.29 GB, free: 13.09 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008174/0.924, allocations: 4.656 MB / 1.295 GB, free: 8.414 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.9254, allocations: 260 kB / 1.295 GB, free: 8.16 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008557/0.9339, allocations: 3.006 MB / 1.298 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002371/0.9363, allocations: 1.599 MB / 1.3 GB, free: 3.543 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.9391, allocations: 1.568 MB / 1.301 GB, free: 1.965 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.9518, allocations: 11.37 MB / 1.312 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.9518, allocations: 0 / 1.312 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9518, allocations: 0 / 1.312 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002788/0.9521, allocations: 0 / 1.312 GB, free: 6.566 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.01601/0.9681, allocations: 6.887 MB / 1.319 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9682, allocations: 12.03 kB / 1.319 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008518/0.9767, allocations: 1.502 MB / 1.32 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.9903, allocations: 6.611 MB / 1.327 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.9907, allocations: 377.5 kB / 1.327 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/0.9922, allocations: 0.4999 MB / 1.328 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/1.006, allocations: 7.09 MB / 1.335 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/1.006, allocations: 19.78 kB / 1.335 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005106/1.007, allocations: 200 kB / 1.335 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/1.007, allocations: 229.4 kB / 1.335 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/1.018, allocations: 6.259 MB / 1.341 GB, free: 8.559 MB / 0.8698 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.04406/1.062, allocations: 28.01 MB / 1.369 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/1.068, allocations: 4.579 MB / 1.373 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003626/1.072, allocations: 2.563 MB / 1.376 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.073, allocations: 0.9389 MB / 1.376 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003391/1.077, allocations: 2.191 MB / 1.379 GB, free: 220 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=323): time 5.45e-06/1.077, allocations: 0 / 1.379 GB, free: 220 kB / 0.9011 GB Notification: Performance of matching and sorting (n=327): time 0.0225/1.099, allocations: 11.57 MB / 1.39 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/1.099, allocations: 196.8 kB / 1.39 GB, free: 4.23 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007322/1.107, allocations: 4.822 MB / 1.395 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006631/1.107, allocations: 97.7 kB / 1.395 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/1.11, allocations: 2.686 MB / 1.397 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.111, allocations: 1.14 MB / 1.399 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/1.112, allocations: 68 kB / 1.399 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002808/1.112, allocations: 457.6 kB / 1.399 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/1.115, allocations: 1.916 MB / 1.401 GB, free: 9.004 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/1.119, allocations: 2.858 MB / 1.404 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007899/1.127, allocations: 4.79 MB / 1.408 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/1.127, allocations: 4 kB / 1.408 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.01027/1.137, allocations: 5.511 MB / 1.414 GB, free: 11.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/1.138, allocations: 0.5653 MB / 1.414 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/1.138, allocations: 16 kB / 1.414 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/1.139, allocations: 245.5 kB / 1.415 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/1.142, allocations: 0.8151 MB / 1.415 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/1.145, allocations: 3.43 MB / 1.419 GB, free: 5.777 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005575/1.151, allocations: 0.5878 MB / 1.419 GB, free: 5.191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005703/1.152, allocations: 148 kB / 1.419 GB, free: 5.047 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.152, allocations: 0 / 1.419 GB, free: 5.047 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.391/1.543, allocations: 5.026 MB / 1.424 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-05/1.543, allocations: 16.22 kB / 1.424 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007592/1.543, allocations: 217.7 kB / 1.425 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/1.547, allocations: 0.7956 MB / 1.425 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/1.551, allocations: 4.11 MB / 1.429 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/1.558, allocations: 0.5793 MB / 1.43 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000902/1.558, allocations: 144.7 kB / 1.43 GB, free: 332.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 424 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.005926/1.564, allocations: 2.416 MB / 1.432 GB, free: 331.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/1.566, allocations: 0.4932 MB / 1.433 GB, free: 331.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/1.576, allocations: 4.88 MB / 1.438 GB, free: 329.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006815/1.583, allocations: 4.086 MB / 1.442 GB, free: 327.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.583, allocations: 0.5156 kB / 1.442 GB, free: 327.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003272/1.586, allocations: 1.135 MB / 1.443 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.587, allocations: 82.5 kB / 1.443 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003974/1.591, allocations: 464.4 kB / 1.443 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/1.592, allocations: 192.5 kB / 1.444 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01018/1.602, allocations: 5.086 MB / 1.448 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01246/1.615, allocations: 7.524 MB / 1.456 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003197/1.618, allocations: 2.099 MB / 1.458 GB, free: 321.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006615/1.624, allocations: 3.372 MB / 1.461 GB, free: 320.6 MB / 0.948 GB Notification: Performance of Backend: time 1.042e-06/1.624, allocations: 0 / 1.461 GB, free: 320.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01649/1.641, allocations: 7.136 MB / 1.468 GB, free: 318.1 MB / 0.948 GB Notification: Performance of SimCode: time 0.02786/1.669, allocations: 16.69 MB / 1.484 GB, free: 309.6 MB / 0.948 GB Notification: Performance of Templates: time 0.1596/1.828, allocations: 124.5 MB / 1.606 GB, free: 190.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)