Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 202.6 kB / 16.79 MB, free: 6.84 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7599/0.7599, allocations: 122.9 MB / 413.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 72 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 77.92 MB / 0.5665 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3122/0.4745, allocations: 60.85 MB / 0.6259 GB, free: 3.211 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01694/0.4914, allocations: 12.08 MB / 0.6377 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.4941, allocations: 56.72 kB / 0.6378 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.496, allocations: 0.5469 MB / 0.6383 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005171/0.5012, allocations: 1.8 MB / 0.6401 GB, free: 8.328 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.5041, allocations: 1.088 MB / 0.6411 GB, free: 7.512 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.5096, allocations: 3.912 MB / 0.645 GB, free: 5.328 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.5113, allocations: 0.9426 MB / 0.6459 GB, free: 4.715 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.5145, allocations: 1.165 MB / 0.647 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.516, allocations: 0.9026 MB / 0.6479 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.5162, allocations: 58.81 kB / 0.648 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.5193, allocations: 1.339 MB / 0.6493 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.5197, allocations: 245.2 kB / 0.6495 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009272/0.5206, allocations: 0.638 MB / 0.6501 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.5239, allocations: 2.254 MB / 0.6523 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5239, allocations: 0 / 0.6523 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.5239, allocations: 0 / 0.6523 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.5239, allocations: 0 / 0.6523 GB, free: 0.5742 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003206/0.5271, allocations: 1.734 MB / 0.654 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5272, allocations: 12.03 kB / 0.654 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.5294, allocations: 406.8 kB / 0.6544 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.5316, allocations: 1.136 MB / 0.6555 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/0.532, allocations: 121.9 kB / 0.6556 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.5321, allocations: 80 kB / 0.6557 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.5342, allocations: 1.001 MB / 0.6567 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5342, allocations: 0 / 0.6567 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.5343, allocations: 35.94 kB / 0.6567 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.5344, allocations: 27.94 kB / 0.6568 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.5368, allocations: 0.886 MB / 0.6576 GB, free: 10.98 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.006099/0.5429, allocations: 4.864 MB / 0.6624 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.5464, allocations: 0.7959 MB / 0.6631 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.5472, allocations: 324.3 kB / 0.6635 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006137/0.5478, allocations: 0.8947 MB / 0.6643 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.5478, allocations: 54.44 kB / 0.6644 GB, free: 3.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 3.376e-06/0.5478, allocations: 0 / 0.6644 GB, free: 3.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.008713/0.5566, allocations: 1.966 MB / 0.6663 GB, free: 1.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5566, allocations: 55.41 kB / 0.6664 GB, free: 1.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.5581, allocations: 1.063 MB / 0.6674 GB, free: 352 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.5582, allocations: 37.7 kB / 0.6674 GB, free: 308 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.5586, allocations: 0.5236 MB / 0.6679 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5588, allocations: 157.7 kB / 0.6681 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.559, allocations: 134 kB / 0.6682 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5591, allocations: 322 kB / 0.6685 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/0.5601, allocations: 322.9 kB / 0.6688 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.5612, allocations: 0.5217 MB / 0.6693 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.5629, allocations: 0.71 MB / 0.67 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.5629, allocations: 4 kB / 0.67 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002786/0.5657, allocations: 1.012 MB / 0.671 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5658, allocations: 12.03 kB / 0.671 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5658, allocations: 4 kB / 0.671 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.5671, allocations: 321.2 kB / 0.6714 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.5677, allocations: 119.8 kB / 0.6715 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.5691, allocations: 0.9084 MB / 0.6724 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.5705, allocations: 187.2 kB / 0.6725 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.5706, allocations: 27.98 kB / 0.6726 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001243/0.5718, allocations: 0.5264 MB / 0.6731 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001079/0.5729, allocations: 0.5155 MB / 0.6736 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001687/0.5746, allocations: 0.7069 MB / 0.6743 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.5746, allocations: 4 kB / 0.6743 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002816/0.5775, allocations: 1 MB / 0.6752 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5775, allocations: 15.97 kB / 0.6753 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5775, allocations: 4 kB / 0.6753 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.5787, allocations: 308.6 kB / 0.6756 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.5792, allocations: 123.8 kB / 0.6757 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.5807, allocations: 0.9044 MB / 0.6766 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.5822, allocations: 163.5 kB / 0.6767 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.5823, allocations: 27.98 kB / 0.6767 GB, free: 6.371 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0002572/0.5825, allocations: 224 kB / 0.677 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.5827, allocations: 110.7 kB / 0.6771 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.5866, allocations: 1.143 MB / 0.6782 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.5866, allocations: 4 kB / 0.6782 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5866, allocations: 11.88 kB / 0.6782 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5866, allocations: 3.984 kB / 0.6782 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005374/0.592, allocations: 2.218 MB / 0.6804 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.592, allocations: 0 / 0.6804 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.5924, allocations: 75.88 kB / 0.6804 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.5934, allocations: 311.7 kB / 0.6807 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.5935, allocations: 8 kB / 0.6807 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.595, allocations: 0.9425 MB / 0.6817 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.595, allocations: 11.91 kB / 0.6817 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/0.5988, allocations: 1.201 MB / 0.6828 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.5994, allocations: 263.5 kB / 0.6831 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.5996, allocations: 19.98 kB / 0.6831 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009343/0.6005, allocations: 99.8 kB / 0.6832 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6006, allocations: 39.89 kB / 0.6832 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.6007, allocations: 23.98 kB / 0.6833 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001206/0.6019, allocations: 0.7432 MB / 0.684 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6019, allocations: 0 / 0.684 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001626/0.6035, allocations: 0.5652 MB / 0.6845 GB, free: 14.16 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008129/0.6043, allocations: 383.1 kB / 0.6849 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003315/0.6077, allocations: 1.144 MB / 0.686 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6077, allocations: 4 kB / 0.686 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009325/0.6086, allocations: 362.5 kB / 0.6864 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.611, allocations: 0.5002 MB / 0.6869 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.6165, allocations: 2.451 MB / 0.6893 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.617, allocations: 1.069 MB / 0.6903 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009635/0.618, allocations: 222.8 kB / 0.6905 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.6182, allocations: 83.42 kB / 0.6906 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.6182, allocations: 0 / 0.6906 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of Templates: time 0.04/0.6582, allocations: 24 MB / 0.714 GB, free: 180 kB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)