Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.0017/0.001701, allocations: 184.5 kB / 376.9 MB, free: 1.809 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.472/1.472, allocations: 205 MB / 0.6353 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.78 kB / 0.748 GB, free: 61.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 59.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2504, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.5539/0.8044, allocations: 74.72 MB / 1.055 GB, free: 67.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.8239, allocations: 15.12 MB / 1.07 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004199/0.8281, allocations: 59.25 kB / 1.07 GB, free: 58.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.8308, allocations: 0.6742 MB / 1.071 GB, free: 58.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008098/0.8389, allocations: 2.364 MB / 1.073 GB, free: 57.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.8427, allocations: 1.271 MB / 1.074 GB, free: 56.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006274/0.849, allocations: 5.567 MB / 1.08 GB, free: 54.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.8508, allocations: 1.184 MB / 1.081 GB, free: 53.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.8533, allocations: 1.38 MB / 1.082 GB, free: 53.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.8547, allocations: 1.212 MB / 1.083 GB, free: 52.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.8549, allocations: 76.59 kB / 1.083 GB, free: 52.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.8579, allocations: 1.252 MB / 1.085 GB, free: 52.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.8582, allocations: 316.8 kB / 1.085 GB, free: 51.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.8591, allocations: 0.8081 MB / 1.086 GB, free: 51.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.8629, allocations: 2.784 MB / 1.088 GB, free: 50.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8629, allocations: 0 / 1.088 GB, free: 50.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8629, allocations: 0 / 1.088 GB, free: 50.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.8629, allocations: 3.156 kB / 1.088 GB, free: 50.43 MB / 0.7448 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.003468/0.8664, allocations: 2.085 MB / 1.09 GB, free: 49.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8664, allocations: 9.594 kB / 1.09 GB, free: 49.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007507/0.8672, allocations: 231.1 kB / 1.091 GB, free: 48.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.8693, allocations: 1.486 MB / 1.092 GB, free: 48.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.8694, allocations: 76.77 kB / 1.092 GB, free: 48.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.8695, allocations: 101.4 kB / 1.092 GB, free: 48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.8712, allocations: 1.099 MB / 1.093 GB, free: 47.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.8713, allocations: 0 / 1.093 GB, free: 47.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.8713, allocations: 41.16 kB / 1.093 GB, free: 47.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.8714, allocations: 31.28 kB / 1.093 GB, free: 47.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.873, allocations: 0.8932 MB / 1.094 GB, free: 47.16 MB / 0.7448 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.004925/0.878, allocations: 4.906 MB / 1.099 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.8792, allocations: 0.627 MB / 1.1 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.8799, allocations: 343.3 kB / 1.1 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.8804, allocations: 0.8277 MB / 1.101 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.8804, allocations: 46.59 kB / 1.101 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 1.884e-06/0.8804, allocations: 0 / 1.101 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.006858/0.8873, allocations: 1.689 MB / 1.103 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8873, allocations: 61.73 kB / 1.103 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.8887, allocations: 1.207 MB / 1.104 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.8888, allocations: 40.05 kB / 1.104 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.8892, allocations: 0.6006 MB / 1.104 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.8894, allocations: 222.2 kB / 1.105 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.8896, allocations: 154 kB / 1.105 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.8897, allocations: 338.9 kB / 1.105 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/0.8903, allocations: 287.3 kB / 1.105 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.8911, allocations: 0.4966 MB / 1.106 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.8923, allocations: 0.7119 MB / 1.107 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.8923, allocations: 0 / 1.107 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004262/0.8965, allocations: 1.274 MB / 1.108 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8966, allocations: 6.469 kB / 1.108 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8966, allocations: 3.375 kB / 1.108 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/0.8971, allocations: 137.6 kB / 1.108 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.8977, allocations: 162.4 kB / 1.108 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006754/0.8983, allocations: 0.7039 MB / 1.109 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.8995, allocations: 167.2 kB / 1.109 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.8995, allocations: 33.03 kB / 1.109 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009134/0.9005, allocations: 0.5502 MB / 1.11 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007363/0.9012, allocations: 0.4896 MB / 1.11 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001191/0.9024, allocations: 0.7063 MB / 1.111 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.145e-06/0.9024, allocations: 4.797 kB / 1.111 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004292/0.9067, allocations: 1.267 MB / 1.112 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.9067, allocations: 6.406 kB / 1.112 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9068, allocations: 3.875 kB / 1.112 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.9072, allocations: 144.6 kB / 1.112 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.9078, allocations: 160.3 kB / 1.112 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007136/0.9085, allocations: 0.6944 MB / 1.113 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.9098, allocations: 144.1 kB / 1.113 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.9099, allocations: 37.48 kB / 1.113 GB, free: 36.22 MB / 0.7448 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.0002681/0.9102, allocations: 225.7 kB / 1.113 GB, free: 36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.9105, allocations: 131.3 kB / 1.113 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/0.9149, allocations: 1.27 MB / 1.115 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.9149, allocations: 10 kB / 1.115 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.915, allocations: 0.6875 kB / 1.115 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003883/0.9188, allocations: 1.105 MB / 1.116 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006415/0.9253, allocations: 2.61 MB / 1.118 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.9253, allocations: 3.25 kB / 1.118 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.9257, allocations: 110.4 kB / 1.118 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.9262, allocations: 136.9 kB / 1.119 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.9263, allocations: 17.75 kB / 1.119 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/0.9306, allocations: 2.38 MB / 1.121 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.9306, allocations: 3 kB / 1.121 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03235/0.963, allocations: 10.74 MB / 1.131 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.9637, allocations: 305 kB / 1.132 GB, free: 26.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.964, allocations: 18.06 kB / 1.132 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.9652, allocations: 86.45 kB / 1.132 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.9654, allocations: 64.02 kB / 1.132 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.9656, allocations: 30.75 kB / 1.132 GB, free: 26.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001382/0.9669, allocations: 0.8689 MB / 1.133 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.3e-07/0.967, allocations: 4 kB / 1.133 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003996/0.971, allocations: 1.09 MB / 1.134 GB, free: 25.85 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001264/0.9722, allocations: 448.9 kB / 1.134 GB, free: 25.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.9752, allocations: 1.105 MB / 1.135 GB, free: 25.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9752, allocations: 0 / 1.135 GB, free: 25.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.9767, allocations: 0.5608 MB / 1.136 GB, free: 25.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/0.9806, allocations: 0.7717 MB / 1.137 GB, free: 24.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/0.9874, allocations: 3.496 MB / 1.14 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.9885, allocations: 1.197 MB / 1.141 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001639/0.9901, allocations: 311.2 kB / 1.141 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.9904, allocations: 113 kB / 1.142 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.9904, allocations: 0 / 1.142 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.07158/1.062, allocations: 33.73 MB / 1.175 GB, free: 14.25 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)