Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009575, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001472/0.001472, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.602/1.602, allocations: 251.9 MB / 0.51 GB, free: 4.801 MB / 414.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.0005022/0.0005022, allocations: 20 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4699, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05229/0.5223, allocations: 51.35 MB / 0.7781 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.5383, allocations: 10.21 MB / 0.7881 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.54, allocations: 47.62 kB / 0.7881 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.542, allocations: 0.6296 MB / 0.7887 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.548, allocations: 1.896 MB / 0.7906 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.5519, allocations: 1.248 MB / 0.7918 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004097/0.556, allocations: 1.843 MB / 0.7936 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.5576, allocations: 0.7979 MB / 0.7944 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.56, allocations: 0.977 MB / 0.7954 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.5614, allocations: 0.6105 MB / 0.7959 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.5615, allocations: 44 kB / 0.796 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.5639, allocations: 0.9946 MB / 0.797 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.5642, allocations: 199.1 kB / 0.7972 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.5646, allocations: 285 kB / 0.7974 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.5667, allocations: 1.578 MB / 0.799 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5667, allocations: 0 / 0.799 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5667, allocations: 4 kB / 0.799 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.5667, allocations: 0 / 0.799 GB, free: 2.531 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003338/0.5701, allocations: 1.485 MB / 0.8004 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/0.5701, allocations: 15.97 kB / 0.8004 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.5725, allocations: 477.9 kB / 0.8009 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.5746, allocations: 1.059 MB / 0.8019 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.575, allocations: 125.9 kB / 0.802 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5751, allocations: 87.98 kB / 0.8021 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.5772, allocations: 0.9956 MB / 0.8031 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5772, allocations: 0 / 0.8031 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.5773, allocations: 32 kB / 0.8031 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.5773, allocations: 16 kB / 0.8031 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.5797, allocations: 0.9368 MB / 0.8041 GB, free: 13.16 MB / 0.6231 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.006932/0.5866, allocations: 4.671 MB / 0.8086 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/0.5901, allocations: 0.9462 MB / 0.8095 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008537/0.5909, allocations: 0.9107 MB / 0.8104 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.591, allocations: 39 kB / 0.8105 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 4.539e-06/0.591, allocations: 0 / 0.8105 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.008747/0.5998, allocations: 2.209 MB / 0.8126 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.5998, allocations: 55.84 kB / 0.8127 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.6015, allocations: 1.075 MB / 0.8137 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.6016, allocations: 41.64 kB / 0.8138 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.602, allocations: 0.5119 MB / 0.8143 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.6021, allocations: 165.6 kB / 0.8144 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.6022, allocations: 12 kB / 0.8144 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6023, allocations: 333.9 kB / 0.8148 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008868/0.6032, allocations: 336.9 kB / 0.8151 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.6043, allocations: 0.5307 MB / 0.8156 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.6052, allocations: 368.6 kB / 0.816 GB, free: 304 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6052, allocations: 0 / 0.816 GB, free: 304 kB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002681/0.6079, allocations: 1.065 MB / 0.817 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005574/0.6085, allocations: 1.407 MB / 0.8184 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.6085, allocations: 7.984 kB / 0.8184 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.6098, allocations: 328.6 kB / 0.8187 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.6104, allocations: 135.8 kB / 0.8188 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.6118, allocations: 0.9503 MB / 0.8197 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.6131, allocations: 187.3 kB / 0.8199 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.6132, allocations: 31.98 kB / 0.82 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.6132, allocations: 4 kB / 0.82 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002436/0.6156, allocations: 0.9361 MB / 0.8209 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6157, allocations: 4 kB / 0.8209 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.6168, allocations: 328.8 kB / 0.8212 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.6173, allocations: 135.8 kB / 0.8213 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.6188, allocations: 0.9382 MB / 0.8222 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.6201, allocations: 175.2 kB / 0.8224 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.6202, allocations: 31.98 kB / 0.8224 GB, free: 9.484 MB / 0.6387 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006018/0.6208, allocations: 345 kB / 0.8228 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.621, allocations: 122.5 kB / 0.8229 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.6247, allocations: 1.245 MB / 0.8241 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.6247, allocations: 8 kB / 0.8241 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.6248, allocations: 4 kB / 0.8241 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6248, allocations: 3.984 kB / 0.8241 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.6301, allocations: 2.363 MB / 0.8264 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.6301, allocations: 4.062 kB / 0.8264 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.6305, allocations: 75.88 kB / 0.8265 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.6315, allocations: 334.9 kB / 0.8268 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.6316, allocations: 23.98 kB / 0.8268 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6332, allocations: 0.9737 MB / 0.8278 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6332, allocations: 3.938 kB / 0.8278 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.637, allocations: 1.425 MB / 0.8292 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006774/0.6377, allocations: 299.4 kB / 0.8295 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.6379, allocations: 8 kB / 0.8295 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.6387, allocations: 115.8 kB / 0.8296 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.6388, allocations: 47.22 kB / 0.8296 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.6389, allocations: 23.98 kB / 0.8297 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001207/0.6401, allocations: 0.7547 MB / 0.8304 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6401, allocations: 0 / 0.8304 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001622/0.6418, allocations: 0.5614 MB / 0.8309 GB, free: 0.5195 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008515/0.6426, allocations: 376.5 kB / 0.8313 GB, free: 148 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003371/0.646, allocations: 1.217 MB / 0.8325 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.646, allocations: 0 / 0.8325 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009162/0.6469, allocations: 395.1 kB / 0.8329 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.6494, allocations: 0.5198 MB / 0.8334 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/0.655, allocations: 2.503 MB / 0.8358 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.6557, allocations: 1.09 MB / 0.8369 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001128/0.6569, allocations: 238.9 kB / 0.8371 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.6571, allocations: 83.41 kB / 0.8372 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/0.6571, allocations: 0 / 0.8372 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.03976/0.6969, allocations: 24.01 MB / 0.8606 GB, free: 2.32 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: