Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 105.4 kB / 16.37 MB, free: 6.309 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.001575/0.001575, allocations: 189.5 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.377/1.377, 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.747/1.747, 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.001474/0.001474, allocations: 75.91 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.205, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.6603/0.8654, allocations: 278.1 MB / 1.056 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03905/0.9045, allocations: 26.32 MB / 1.082 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004635/0.9092, allocations: 107.4 kB / 1.082 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004856/0.9141, allocations: 1.502 MB / 1.084 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01354/0.9277, allocations: 4.56 MB / 1.088 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01312/0.9408, allocations: 4.593 MB / 1.093 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02766/0.9685, allocations: 18.5 MB / 1.111 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01542/0.984, allocations: 8.374 MB / 1.119 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01758/1.002, allocations: 6.89 MB / 1.126 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01258/1.014, allocations: 5.43 MB / 1.131 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003288/1.018, allocations: 0.8516 MB / 1.132 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/1.031, allocations: 5.073 MB / 1.137 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.5706/1.602, allocations: 2.35 MB / 1.139 GB, free: 50.83 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01042/1.613, allocations: 4.369 MB / 1.143 GB, free: 50.83 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.03235/1.645, allocations: 14.75 MB / 1.158 GB, free: 50.53 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/1.645, allocations: 0 / 1.158 GB, free: 50.53 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.627e-06/1.645, allocations: 1.594 kB / 1.158 GB, free: 50.53 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000871/1.646, allocations: 0 / 1.158 GB, free: 50.53 MB / 0.92 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.03557/1.681, allocations: 8.445 MB / 1.166 GB, free: 47.42 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/1.682, allocations: 12.56 kB / 1.166 GB, free: 47.42 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/1.693, allocations: 1.504 MB / 1.167 GB, free: 47.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/1.709, allocations: 6.563 MB / 1.174 GB, free: 46.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/1.71, allocations: 379 kB / 1.174 GB, free: 46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/1.712, allocations: 0.4998 MB / 1.175 GB, free: 46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/1.734, allocations: 7.123 MB / 1.182 GB, free: 45.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/1.734, allocations: 11.3 kB / 1.182 GB, free: 45.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/1.735, allocations: 200.9 kB / 1.182 GB, free: 45.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003191/1.735, allocations: 229.4 kB / 1.182 GB, free: 45.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/1.751, allocations: 6.284 MB / 1.188 GB, free: 45.48 MB / 0.92 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.04706/1.798, allocations: 28.22 MB / 1.216 GB, free: 34.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00658/1.805, allocations: 4.592 MB / 1.22 GB, free: 33.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/1.809, allocations: 2.571 MB / 1.223 GB, free: 33.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.81, allocations: 0.9195 MB / 1.224 GB, free: 32.63 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003915/1.814, allocations: 2.201 MB / 1.226 GB, free: 32.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=323): time 9.588e-06/1.814, allocations: 0.75 kB / 1.226 GB, free: 32.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=327): time 0.0242/1.838, allocations: 11.59 MB / 1.237 GB, free: 29.39 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/1.838, allocations: 195.7 kB / 1.237 GB, free: 29.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007988/1.846, allocations: 5.001 MB / 1.242 GB, free: 27.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001/1.847, allocations: 96.2 kB / 1.242 GB, free: 27.95 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002816/1.85, allocations: 2.675 MB / 1.245 GB, free: 26.81 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001645/1.852, allocations: 1.141 MB / 1.246 GB, free: 25.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/1.853, allocations: 0.7074 MB / 1.247 GB, free: 25.87 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/1.853, allocations: 306 kB / 1.247 GB, free: 25.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/1.856, allocations: 1.958 MB / 1.249 GB, free: 25.21 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/1.859, allocations: 2.885 MB / 1.252 GB, free: 23.87 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006113/1.866, allocations: 4.821 MB / 1.256 GB, free: 21.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/1.866, allocations: 4.656 kB / 1.256 GB, free: 21.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.009161/1.875, allocations: 5.572 MB / 1.262 GB, free: 18.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/1.875, allocations: 45.17 kB / 1.262 GB, free: 18.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/1.875, allocations: 20.2 kB / 1.262 GB, free: 18.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008299/1.876, allocations: 257.2 kB / 1.262 GB, free: 18.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/1.879, allocations: 0.8096 MB / 1.263 GB, free: 17.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/1.881, allocations: 3.633 MB / 1.266 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/1.887, allocations: 309.8 kB / 1.267 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005482/1.887, allocations: 136 kB / 1.267 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007406/1.895, allocations: 4.079 MB / 1.271 GB, free: 9.395 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003052/1.898, allocations: 2.862 MB / 1.274 GB, free: 6.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005603/1.903, allocations: 4.794 MB / 1.278 GB, free: 1.312 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.146e-05/1.903, allocations: 4 kB / 1.278 GB, free: 1.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=461) (initialization_lambda0): time 0.009884/1.913, allocations: 5.509 MB / 1.284 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/1.913, allocations: 49.69 kB / 1.284 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/1.914, allocations: 17.72 kB / 1.284 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/1.914, allocations: 216.3 kB / 1.284 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/1.918, allocations: 0.7914 MB / 1.285 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004332/1.922, allocations: 4.504 MB / 1.289 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00624/1.928, allocations: 339.4 kB / 1.289 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006261/1.929, allocations: 132.3 kB / 1.29 GB, free: 5.648 MB / 0.9356 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.001143/1.93, allocations: 442.6 kB / 1.29 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.932, allocations: 0.494 MB / 1.291 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009368/1.941, allocations: 4.889 MB / 1.295 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006463/1.947, allocations: 4.084 MB / 1.299 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.947, allocations: 0 / 1.299 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003687/1.951, allocations: 1.112 MB / 1.3 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.952, allocations: 83.95 kB / 1.3 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/1.956, allocations: 210.7 kB / 1.301 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/1.956, allocations: 199.7 kB / 1.301 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009643/1.966, allocations: 5.065 MB / 1.306 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01129/1.977, allocations: 7.539 MB / 1.313 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003022/1.98, allocations: 2.105 MB / 1.315 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.006636/1.987, allocations: 3.515 MB / 1.319 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of Backend: time 4.71e-07/1.987, allocations: 0 / 1.319 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01628/2.003, allocations: 7.207 MB / 1.326 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of SimCode: time 0.03081/2.034, allocations: 14.46 MB / 1.34 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.205/2.239, allocations: 131.7 MB / 1.468 GB, free: 400 kB / 1.107 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)