Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 88.78 kB / 16.67 MB, free: 6.594 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.001064/0.001064, allocations: 184 kB / 17.58 MB, free: 6.188 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.385/1.385, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7135/0.7135, allocations: 115.5 MB / 408.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4727, allocations: 77.52 MB / 0.5606 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05364/0.5263, allocations: 59.71 MB / 0.6189 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.5437, allocations: 11.93 MB / 0.6305 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.5464, allocations: 55.62 kB / 0.6306 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.5484, allocations: 0.5477 MB / 0.6311 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005734/0.5541, allocations: 1.8 MB / 0.6329 GB, free: 9.168 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.5573, allocations: 1.085 MB / 0.6339 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005195/0.5625, allocations: 3.898 MB / 0.6377 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.5641, allocations: 0.9 MB / 0.6386 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.5667, allocations: 1.128 MB / 0.6397 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.568, allocations: 0.8475 MB / 0.6406 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.5682, allocations: 44 kB / 0.6406 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.571, allocations: 1.345 MB / 0.6419 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.5712, allocations: 218.8 kB / 0.6421 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008157/0.5721, allocations: 0.6389 MB / 0.6427 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.5744, allocations: 1.691 MB / 0.6444 GB, free: 13.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5745, allocations: 0 / 0.6444 GB, free: 13.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5745, allocations: 0 / 0.6444 GB, free: 13.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.5745, allocations: 4 kB / 0.6444 GB, free: 13.33 MB / 494.1 MB 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.00276/0.5773, allocations: 1.489 MB / 0.6458 GB, free: 11.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5773, allocations: 11.97 kB / 0.6459 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.579, allocations: 383 kB / 0.6462 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.5811, allocations: 1.124 MB / 0.6473 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.5815, allocations: 133.9 kB / 0.6475 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5816, allocations: 84 kB / 0.6475 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.5836, allocations: 0.9622 MB / 0.6485 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5836, allocations: 4 kB / 0.6485 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.5837, allocations: 32 kB / 0.6485 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.5837, allocations: 20 kB / 0.6485 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.5859, allocations: 0.8548 MB / 0.6494 GB, free: 8.086 MB / 494.1 MB 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.006503/0.5924, allocations: 4.805 MB / 0.6541 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.594, allocations: 0.5893 MB / 0.6546 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006304/0.5946, allocations: 280.7 kB / 0.6549 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.5961, allocations: 1.392 MB / 0.6563 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.5961, allocations: 42.5 kB / 0.6563 GB, free: 316 kB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/0.5961, allocations: 0 / 0.6563 GB, free: 316 kB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.008763/0.6049, allocations: 2.051 MB / 0.6583 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.605, allocations: 59.39 kB / 0.6584 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.6067, allocations: 1.051 MB / 0.6594 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.755e-05/0.6068, allocations: 37.7 kB / 0.6594 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.6073, allocations: 0.5235 MB / 0.6599 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.6074, allocations: 149.8 kB / 0.6601 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.6075, allocations: 49.69 kB / 0.6601 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6076, allocations: 330 kB / 0.6604 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007753/0.6084, allocations: 285 kB / 0.6607 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009174/0.6093, allocations: 0.4903 MB / 0.6612 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.6108, allocations: 0.6702 MB / 0.6618 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6108, allocations: 0 / 0.6618 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00255/0.6134, allocations: 0.9804 MB / 0.6628 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.6135, allocations: 212.2 kB / 0.663 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6136, allocations: 4 kB / 0.663 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.6149, allocations: 324.6 kB / 0.6633 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.6154, allocations: 123.7 kB / 0.6634 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.6169, allocations: 0.9493 MB / 0.6644 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.6183, allocations: 179.3 kB / 0.6645 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.6184, allocations: 35.98 kB / 0.6646 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.6184, allocations: 4 kB / 0.6646 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002224/0.6206, allocations: 0.8359 MB / 0.6654 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6206, allocations: 4.406 kB / 0.6654 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6218, allocations: 324.5 kB / 0.6657 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.6222, allocations: 115.8 kB / 0.6658 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.6237, allocations: 0.9347 MB / 0.6667 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.6249, allocations: 160.2 kB / 0.6669 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.625, allocations: 31.98 kB / 0.6669 GB, free: 5.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007198/0.6257, allocations: 352.9 kB / 0.6672 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.6259, allocations: 110.7 kB / 0.6673 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.6298, allocations: 1.155 MB / 0.6685 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.6299, allocations: 8 kB / 0.6685 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.6299, allocations: 0 / 0.6685 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6299, allocations: 3.984 kB / 0.6685 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/0.6357, allocations: 2.161 MB / 0.6706 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6358, allocations: 4 kB / 0.6706 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.636, allocations: 55.91 kB / 0.6707 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.6371, allocations: 326.8 kB / 0.671 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.6372, allocations: 23.98 kB / 0.671 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.6388, allocations: 0.9754 MB / 0.6719 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6388, allocations: 0 / 0.6719 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.6424, allocations: 1.187 MB / 0.6731 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/0.643, allocations: 275.5 kB / 0.6734 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.6432, allocations: 15.98 kB / 0.6734 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.644, allocations: 103.8 kB / 0.6735 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.6441, allocations: 35.89 kB / 0.6735 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.6442, allocations: 23.98 kB / 0.6735 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001195/0.6454, allocations: 0.7428 MB / 0.6743 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6454, allocations: 0 / 0.6743 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001586/0.647, allocations: 0.5613 MB / 0.6748 GB, free: 12.8 MB / 0.5137 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008744/0.6479, allocations: 417.1 kB / 0.6752 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.6508, allocations: 1.063 MB / 0.6762 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6508, allocations: 0 / 0.6762 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.6516, allocations: 341.1 kB / 0.6766 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.6546, allocations: 0.5057 MB / 0.6771 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.6585, allocations: 2.275 MB / 0.6793 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.6591, allocations: 1.062 MB / 0.6803 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.6594, allocations: 83.36 kB / 0.6804 GB, free: 7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.031e-06/0.6594, allocations: 0 / 0.6804 GB, free: 7 MB / 0.5137 GB Notification: Performance of Templates: time 0.03388/0.6933, allocations: 23.75 MB / 0.7036 GB, free: 15.41 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)