Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001324/0.001324, allocations: 188.9 kB / 376.9 MB, free: 1.824 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.466/1.466, allocations: 205 MB / 0.6354 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.0009019/0.0009018, allocations: 98.55 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009943/0.0009943, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2091, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.5583/0.7675, allocations: 74.76 MB / 1.055 GB, free: 67.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.795, allocations: 15.11 MB / 1.07 GB, free: 58.87 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004337/0.7994, allocations: 59.25 kB / 1.07 GB, free: 58.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.8027, allocations: 0.679 MB / 1.071 GB, free: 58.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.813, allocations: 2.36 MB / 1.073 GB, free: 57.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.8179, allocations: 1.273 MB / 1.074 GB, free: 56.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008274/0.8262, allocations: 5.557 MB / 1.08 GB, free: 54.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.8287, allocations: 1.181 MB / 1.081 GB, free: 53.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.8323, allocations: 1.385 MB / 1.082 GB, free: 53.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.8345, allocations: 1.196 MB / 1.083 GB, free: 52.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.8348, allocations: 74.88 kB / 1.083 GB, free: 52.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.8377, allocations: 1.253 MB / 1.085 GB, free: 52.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.8381, allocations: 318.3 kB / 1.085 GB, free: 51.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.8391, allocations: 0.8092 MB / 1.086 GB, free: 51.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.8437, allocations: 2.786 MB / 1.088 GB, free: 50.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8437, allocations: 0 / 1.088 GB, free: 50.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8437, allocations: 0 / 1.088 GB, free: 50.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.59e-05/0.8438, allocations: 0 / 1.088 GB, free: 50.42 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.004708/0.8486, allocations: 2.078 MB / 1.09 GB, free: 49.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8486, allocations: 9.094 kB / 1.09 GB, free: 49.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.8495, allocations: 234.2 kB / 1.091 GB, free: 48.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.852, allocations: 1.474 MB / 1.092 GB, free: 48.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.852, allocations: 82.89 kB / 1.092 GB, free: 48.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.8522, allocations: 101.2 kB / 1.092 GB, free: 47.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.8542, allocations: 1.102 MB / 1.093 GB, free: 47.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.8542, allocations: 0 / 1.093 GB, free: 47.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.8543, allocations: 40.34 kB / 1.093 GB, free: 47.47 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.8543, allocations: 24.75 kB / 1.093 GB, free: 47.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.8562, allocations: 0.893 MB / 1.094 GB, free: 47.15 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.006082/0.8623, allocations: 4.913 MB / 1.099 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.8637, allocations: 0.6199 MB / 1.1 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.8643, allocations: 345 kB / 1.1 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.8648, allocations: 0.8291 MB / 1.101 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.8648, allocations: 39.28 kB / 1.101 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=61): time 2.334e-06/0.8648, allocations: 0 / 1.101 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=61): time 0.007084/0.8719, allocations: 1.702 MB / 1.103 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.872, allocations: 58.5 kB / 1.103 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.8738, allocations: 1.209 MB / 1.104 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.8739, allocations: 41.02 kB / 1.104 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.8744, allocations: 0.6049 MB / 1.104 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.8746, allocations: 212.3 kB / 1.105 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.8749, allocations: 153.7 kB / 1.105 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.875, allocations: 339.2 kB / 1.105 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.8756, allocations: 284.8 kB / 1.105 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.8764, allocations: 0.4966 MB / 1.106 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.8778, allocations: 0.7094 MB / 1.107 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8778, allocations: 0 / 1.107 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005041/0.8828, allocations: 1.269 MB / 1.108 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.8829, allocations: 5.969 kB / 1.108 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8829, allocations: 8.375 kB / 1.108 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006642/0.8836, allocations: 141.2 kB / 1.108 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.8842, allocations: 163.4 kB / 1.108 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007956/0.885, allocations: 0.7012 MB / 1.109 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.8865, allocations: 162.7 kB / 1.109 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.8866, allocations: 40.47 kB / 1.109 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/0.8878, allocations: 0.5479 MB / 1.11 GB, free: 38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007993/0.8886, allocations: 0.4952 MB / 1.11 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001287/0.8899, allocations: 0.7015 MB / 1.111 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/0.8899, allocations: 3.828 kB / 1.111 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00476/0.8947, allocations: 1.263 MB / 1.112 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8947, allocations: 6.094 kB / 1.112 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.8947, allocations: 4.219 kB / 1.112 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.8952, allocations: 142.9 kB / 1.112 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.8958, allocations: 157.8 kB / 1.112 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006892/0.8965, allocations: 0.7044 MB / 1.113 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.898, allocations: 142.9 kB / 1.113 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.8981, allocations: 36.44 kB / 1.113 GB, free: 36.21 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.0002598/0.8984, allocations: 226.6 kB / 1.113 GB, free: 36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/0.8988, allocations: 132.3 kB / 1.113 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.9037, allocations: 1.267 MB / 1.115 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.9038, allocations: 9.766 kB / 1.115 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.9038, allocations: 0 / 1.115 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004161/0.908, allocations: 1.106 MB / 1.116 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007005/0.915, allocations: 2.607 MB / 1.118 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.915, allocations: 3.031 kB / 1.118 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/0.9155, allocations: 119.5 kB / 1.118 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/0.9159, allocations: 128.5 kB / 1.119 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.916, allocations: 20.86 kB / 1.119 GB, free: 33.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/0.9207, allocations: 2.378 MB / 1.121 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9207, allocations: 3.438 kB / 1.121 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03303/0.9538, allocations: 10.73 MB / 1.131 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/0.9545, allocations: 309 kB / 1.132 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.9548, allocations: 14.31 kB / 1.132 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.9558, allocations: 81.55 kB / 1.132 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.956, allocations: 62.14 kB / 1.132 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.9561, allocations: 36.36 kB / 1.132 GB, free: 26.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001239/0.9573, allocations: 0.8653 MB / 1.133 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9573, allocations: 0 / 1.133 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003315/0.9606, allocations: 1.089 MB / 1.134 GB, free: 25.86 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.0009729/0.9616, allocations: 466.9 kB / 1.134 GB, free: 25.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.9642, allocations: 1.104 MB / 1.135 GB, free: 25.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.9642, allocations: 3.406 kB / 1.135 GB, free: 25.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.9657, allocations: 0.562 MB / 1.136 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/0.9697, allocations: 0.7667 MB / 1.137 GB, free: 24.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.9759, allocations: 3.505 MB / 1.14 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.9769, allocations: 1.193 MB / 1.141 GB, free: 21.87 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001907/0.9788, allocations: 319.3 kB / 1.141 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.9793, allocations: 108.5 kB / 1.142 GB, free: 21.77 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.9793, allocations: 0 / 1.142 GB, free: 21.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.06209/1.041, allocations: 33.73 MB / 1.175 GB, free: 14.22 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)