Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009334/0.0009333, allocations: 173.9 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205 MB / 0.5766 GB, free: 21.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000754/0.000754, allocations: 85.19 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003315, allocations: 8.531 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1786, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.6674/0.8461, allocations: 275.6 MB / 1.166 GB, free: 60 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0355/0.8817, allocations: 26.99 MB / 1.192 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005042/0.8867, allocations: 100.1 kB / 1.192 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.8915, allocations: 1.242 MB / 1.194 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.9051, allocations: 4.24 MB / 1.198 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.9172, allocations: 3.915 MB / 1.202 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.03097/0.9482, allocations: 23.91 MB / 1.225 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009232/0.9575, allocations: 6.511 MB / 1.231 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01283/0.9704, allocations: 5.355 MB / 1.236 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01/0.9804, allocations: 4.968 MB / 1.241 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.9818, allocations: 260 kB / 1.242 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.9931, allocations: 4.814 MB / 1.246 GB, free: 1.867 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002877/0.996, allocations: 1.661 MB / 1.248 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.007517/1.004, allocations: 3.572 MB / 1.251 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01878/1.022, allocations: 14.14 MB / 1.265 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.022, allocations: 0 / 1.265 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.194e-06/1.022, allocations: 0 / 1.265 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003412/1.023, allocations: 0 / 1.265 GB, free: 14.43 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: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.01575/1.039, allocations: 6.904 MB / 1.272 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.039, allocations: 8.031 kB / 1.272 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008596/1.047, allocations: 1.521 MB / 1.273 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/1.059, allocations: 6.617 MB / 1.28 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/1.059, allocations: 381.6 kB / 1.28 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/1.061, allocations: 0.5076 MB / 1.281 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/1.073, allocations: 7.158 MB / 1.288 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.725e-05/1.073, allocations: 8 kB / 1.288 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004866/1.074, allocations: 211.9 kB / 1.288 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/1.074, allocations: 221.5 kB / 1.288 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/1.085, allocations: 6.33 MB / 1.294 GB, free: 240 kB / 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.04023/1.125, allocations: 28.05 MB / 1.322 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006052/1.131, allocations: 4.4 MB / 1.326 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/1.135, allocations: 2.567 MB / 1.329 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.136, allocations: 0.9311 MB / 1.329 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003618/1.14, allocations: 2.207 MB / 1.332 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=323): time 6.031e-06/1.14, allocations: 0 / 1.332 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327): time 0.02329/1.163, allocations: 11.57 MB / 1.343 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.163, allocations: 196.7 kB / 1.343 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008263/1.171, allocations: 4.901 MB / 1.348 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009448/1.172, allocations: 105.7 kB / 1.348 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003179/1.175, allocations: 2.682 MB / 1.351 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001423/1.177, allocations: 1.136 MB / 1.352 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/1.177, allocations: 317.3 kB / 1.352 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/1.177, allocations: 305.1 kB / 1.352 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/1.18, allocations: 1.939 MB / 1.354 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/1.184, allocations: 2.862 MB / 1.357 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/1.191, allocations: 4.802 MB / 1.362 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.191, allocations: 4 kB / 1.362 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.01076/1.201, allocations: 5.553 MB / 1.367 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005407/1.202, allocations: 0.5636 MB / 1.368 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/1.202, allocations: 20 kB / 1.368 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/1.203, allocations: 261.4 kB / 1.368 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/1.207, allocations: 0.7996 MB / 1.369 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/1.21, allocations: 3.429 MB / 1.372 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005724/1.215, allocations: 0.5972 MB / 1.373 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/1.216, allocations: 140 kB / 1.373 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.216, allocations: 4 kB / 1.373 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008205/1.224, allocations: 5.046 MB / 1.378 GB, free: 7.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.578e-05/1.224, allocations: 16 kB / 1.378 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/1.225, allocations: 222.4 kB / 1.378 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/1.228, allocations: 0.7996 MB / 1.379 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/1.232, allocations: 4.114 MB / 1.383 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.238, allocations: 0.5797 MB / 1.383 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000535/1.239, allocations: 140 kB / 1.383 GB, free: 1.391 MB / 0.9011 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 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (not torn): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.005391/1.244, allocations: 2.438 MB / 1.386 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001636/1.246, allocations: 0.494 MB / 1.386 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00836/1.254, allocations: 4.876 MB / 1.391 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006164/1.26, allocations: 4.081 MB / 1.395 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.26, allocations: 0 / 1.395 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/1.264, allocations: 1.112 MB / 1.396 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.265, allocations: 91.91 kB / 1.396 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004411/1.269, allocations: 478.4 kB / 1.397 GB, free: 3.668 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/1.27, allocations: 190.3 kB / 1.397 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.4117/1.681, allocations: 5.086 MB / 1.402 GB, free: 350.3 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01166/1.693, allocations: 7.508 MB / 1.409 GB, free: 349.9 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003417/1.697, allocations: 2.107 MB / 1.411 GB, free: 349.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006276/1.703, allocations: 3.441 MB / 1.415 GB, free: 348.9 MB / 0.9167 GB Notification: Performance of Backend: time 6.82e-07/1.703, allocations: 0 / 1.415 GB, free: 348.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.717, allocations: 7.193 MB / 1.422 GB, free: 346.4 MB / 0.9167 GB Notification: Performance of SimCode: time 0.0284/1.746, allocations: 16.97 MB / 1.438 GB, free: 337.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.1574/1.903, allocations: 127.3 MB / 1.562 GB, free: 218.8 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)