Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001066, allocations: 109.2 kB / 17.09 MB, free: 5.836 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.001278/0.001278, allocations: 194.7 kB / 18.02 MB, free: 4.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6889/0.6889, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 62.19 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1366, allocations: 76.19 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06392/0.2005, allocations: 75.15 MB / 0.7061 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.2197, allocations: 15.17 MB / 0.7209 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.2223, allocations: 67.62 kB / 0.721 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.2248, allocations: 0.8268 MB / 0.7218 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007353/0.2322, allocations: 2.588 MB / 0.7243 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.2358, allocations: 1.406 MB / 0.7257 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006061/0.2419, allocations: 4.389 MB / 0.73 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.2439, allocations: 1.449 MB / 0.7314 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.2479, allocations: 1.666 MB / 0.733 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.2499, allocations: 1.221 MB / 0.7342 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.2502, allocations: 164 kB / 0.7344 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.253, allocations: 1.408 MB / 0.7358 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.2534, allocations: 394.6 kB / 0.7361 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000879/0.2543, allocations: 0.9061 MB / 0.737 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003521/0.2578, allocations: 2.859 MB / 0.7398 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2578, allocations: 4 kB / 0.7398 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2578, allocations: 0 / 0.7398 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.2579, allocations: 4 kB / 0.7398 GB, free: 6.348 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003342/0.2612, allocations: 2.087 MB / 0.7419 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2613, allocations: 8.031 kB / 0.7419 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.262, allocations: 226.8 kB / 0.7421 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.2643, allocations: 1.525 MB / 0.7436 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.2644, allocations: 74 kB / 0.7436 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.2645, allocations: 107.9 kB / 0.7437 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.2664, allocations: 1.096 MB / 0.7448 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2665, allocations: 0 / 0.7448 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.8e-05/0.2666, allocations: 36 kB / 0.7449 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.2666, allocations: 27.98 kB / 0.7449 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.2684, allocations: 0.8939 MB / 0.7458 GB, free: 120 kB / 0.5762 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.2891/0.5575, allocations: 4.89 MB / 0.7505 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.5589, allocations: 0.6175 MB / 0.7511 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/0.5596, allocations: 353.3 kB / 0.7515 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/0.56, allocations: 0.8259 MB / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.56, allocations: 43.28 kB / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.455e-06/0.56, allocations: 0 / 0.7523 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007242/0.5673, allocations: 1.692 MB / 0.754 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.5673, allocations: 58.44 kB / 0.754 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.5691, allocations: 1.226 MB / 0.7552 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.5692, allocations: 42.52 kB / 0.7553 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.5696, allocations: 0.6056 MB / 0.7559 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.5698, allocations: 219.8 kB / 0.7561 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.57, allocations: 155.9 kB / 0.7562 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.5701, allocations: 338.1 kB / 0.7565 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.5707, allocations: 290.5 kB / 0.7568 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.5714, allocations: 499.5 kB / 0.7573 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.5726, allocations: 0.7081 MB / 0.758 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5726, allocations: 2.406 kB / 0.758 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004513/0.5772, allocations: 1.273 MB / 0.7592 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5772, allocations: 6.312 kB / 0.7592 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5772, allocations: 7.469 kB / 0.7592 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/0.5777, allocations: 138.2 kB / 0.7594 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.5783, allocations: 157.8 kB / 0.7595 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007513/0.5791, allocations: 0.7018 MB / 0.7602 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/0.58, allocations: 117.2 kB / 0.7603 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.58, allocations: 33.22 kB / 0.7603 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001054/0.5811, allocations: 0.5562 MB / 0.7609 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008377/0.5819, allocations: 0.4905 MB / 0.7614 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001223/0.5832, allocations: 0.7022 MB / 0.7621 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.5832, allocations: 5.75 kB / 0.7621 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004577/0.5878, allocations: 1.269 MB / 0.7633 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5878, allocations: 10.44 kB / 0.7633 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5878, allocations: 3.875 kB / 0.7633 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/0.5883, allocations: 132.9 kB / 0.7634 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.5888, allocations: 159.7 kB / 0.7636 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006117/0.5894, allocations: 0.7004 MB / 0.7643 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/0.5903, allocations: 100.5 kB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.5904, allocations: 34.94 kB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.5905, allocations: 225.6 kB / 0.7646 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.5907, allocations: 135.5 kB / 0.7647 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.595, allocations: 1.272 MB / 0.766 GB, free: 99.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003918/0.599, allocations: 1.099 MB / 0.7671 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.599, allocations: 4.844 kB / 0.7671 GB, free: 98.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.5993, allocations: 299.7 kB / 0.7674 GB, free: 98.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.5995, allocations: 10.94 kB / 0.7674 GB, free: 98.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.6002, allocations: 54.75 kB / 0.7674 GB, free: 98.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.6003, allocations: 51.05 kB / 0.7675 GB, free: 98.52 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002378/0.6026, allocations: 0.963 MB / 0.7684 GB, free: 98.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001995/0.6047, allocations: 1.335 MB / 0.7697 GB, free: 97.22 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005736/0.6052, allocations: 336.2 kB / 0.77 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008997/0.6061, allocations: 0.8606 MB / 0.7709 GB, free: 96.57 MB / 0.5762 GB Notification: Performance of Backend: time 4.91e-07/0.6062, allocations: 0 / 0.7709 GB, free: 96.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002848/0.609, allocations: 1.384 MB / 0.7722 GB, free: 95.98 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004021/0.613, allocations: 3.149 MB / 0.7753 GB, free: 94 MB / 0.5762 GB Notification: Performance of Templates: time 0.03461/0.6477, allocations: 33.54 MB / 0.8081 GB, free: 61.88 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)