Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_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 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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 110.8 kB / 17.04 MB, free: 5.355 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.0011/0.0011, allocations: 196.8 kB / 17.98 MB, free: 4.895 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7395/0.7395, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 76.14 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06223/0.3655, allocations: 75.18 MB / 0.631 GB, free: 9.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02081/0.3864, allocations: 15.17 MB / 0.6458 GB, free: 10 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.3888, allocations: 63.62 kB / 0.6459 GB, free: 9.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.3911, allocations: 0.8267 MB / 0.6467 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.3978, allocations: 2.596 MB / 0.6492 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.4013, allocations: 1.383 MB / 0.6505 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005826/0.4071, allocations: 4.411 MB / 0.6549 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.4094, allocations: 1.451 MB / 0.6563 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.4133, allocations: 1.639 MB / 0.6579 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.4154, allocations: 1.217 MB / 0.6591 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.4158, allocations: 164 kB / 0.6592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.4189, allocations: 1.415 MB / 0.6606 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.4195, allocations: 398.6 kB / 0.661 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.4208, allocations: 0.9099 MB / 0.6619 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.4252, allocations: 2.875 MB / 0.6647 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4252, allocations: 4 kB / 0.6647 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4252, allocations: 0 / 0.6647 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.902e-05/0.4253, allocations: 0 / 0.6647 GB, free: 6.605 MB / 0.4981 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.004313/0.4296, allocations: 2.1 MB / 0.6667 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4296, allocations: 8.031 kB / 0.6667 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000915/0.4306, allocations: 234.7 kB / 0.667 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.4335, allocations: 1.525 MB / 0.6685 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.4336, allocations: 78 kB / 0.6685 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.4338, allocations: 100 kB / 0.6686 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.436, allocations: 1.096 MB / 0.6697 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.4361, allocations: 7.938 kB / 0.6697 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/0.4362, allocations: 43.98 kB / 0.6697 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.4362, allocations: 24 kB / 0.6698 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.4382, allocations: 0.8978 MB / 0.6706 GB, free: 356 kB / 0.4981 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.006758/0.445, allocations: 4.905 MB / 0.6754 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4465, allocations: 0.6272 MB / 0.676 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/0.4473, allocations: 350.8 kB / 0.6764 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.4479, allocations: 0.8277 MB / 0.6772 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4479, allocations: 47.11 kB / 0.6772 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.214e-06/0.448, allocations: 0 / 0.6772 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.004909/0.4529, allocations: 1.409 MB / 0.6786 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.4529, allocations: 55.97 kB / 0.6787 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.4547, allocations: 1.226 MB / 0.6799 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.4548, allocations: 41.7 kB / 0.6799 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.4554, allocations: 0.6065 MB / 0.6805 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.4556, allocations: 212.9 kB / 0.6807 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.4558, allocations: 154.5 kB / 0.6808 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.4559, allocations: 341.9 kB / 0.6812 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.4566, allocations: 288.7 kB / 0.6814 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/0.4575, allocations: 0.4888 MB / 0.6819 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.459, allocations: 0.708 MB / 0.6826 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.459, allocations: 0 / 0.6826 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004772/0.4638, allocations: 1.277 MB / 0.6839 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.4638, allocations: 8 kB / 0.6839 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4638, allocations: 4 kB / 0.6839 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/0.4645, allocations: 145.1 kB / 0.684 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.4652, allocations: 163.7 kB / 0.6842 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008579/0.4661, allocations: 0.7162 MB / 0.6849 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4672, allocations: 115 kB / 0.685 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.4673, allocations: 35.98 kB / 0.685 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.4684, allocations: 0.5566 MB / 0.6856 GB, free: 344 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008308/0.4692, allocations: 487.8 kB / 0.686 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001424/0.4707, allocations: 0.7004 MB / 0.6867 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.4707, allocations: 0 / 0.6867 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004706/0.4754, allocations: 1.265 MB / 0.6879 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4754, allocations: 6.188 kB / 0.6879 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4754, allocations: 4 kB / 0.6879 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.476, allocations: 162.3 kB / 0.6881 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.4767, allocations: 155.8 kB / 0.6882 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/0.4775, allocations: 0.7085 MB / 0.6889 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4786, allocations: 103.4 kB / 0.689 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/0.4787, allocations: 35.98 kB / 0.6891 GB, free: 12.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.4789, allocations: 228.9 kB / 0.6893 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.4793, allocations: 134.4 kB / 0.6894 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004627/0.4839, allocations: 1.261 MB / 0.6907 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4839, allocations: 8 kB / 0.6907 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.484, allocations: 4 kB / 0.6907 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004051/0.488, allocations: 1.092 MB / 0.6917 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.4923, allocations: 2.31 MB / 0.694 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.4923, allocations: 4 kB / 0.694 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.4929, allocations: 112.2 kB / 0.6941 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005867/0.4935, allocations: 147.6 kB / 0.6942 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.4935, allocations: 19.98 kB / 0.6943 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000817/0.4944, allocations: 0.7046 MB / 0.6949 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4944, allocations: 7.938 kB / 0.695 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.4972, allocations: 1.399 MB / 0.6963 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/0.4978, allocations: 307.2 kB / 0.6966 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.4981, allocations: 19.98 kB / 0.6966 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008986/0.499, allocations: 56 kB / 0.6967 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4991, allocations: 56.25 kB / 0.6967 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.4992, allocations: 27.98 kB / 0.6968 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00131/0.5005, allocations: 0.8818 MB / 0.6976 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5005, allocations: 0 / 0.6976 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001882/0.5024, allocations: 0.7174 MB / 0.6983 GB, free: 2.809 MB / 0.5294 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009673/0.5034, allocations: 475.5 kB / 0.6988 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.5061, allocations: 1.121 MB / 0.6999 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.5061, allocations: 4 kB / 0.6999 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009934/0.5071, allocations: 399.2 kB / 0.7003 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/0.5107, allocations: 0.8064 MB / 0.701 GB, free: 64 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.5147, allocations: 2.28 MB / 0.7033 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.5155, allocations: 1.176 MB / 0.7044 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00113/0.5166, allocations: 311.2 kB / 0.7047 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.5169, allocations: 103.4 kB / 0.7048 GB, free: 12.09 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5169, allocations: 0 / 0.7048 GB, free: 12.09 MB / 0.545 GB Notification: Performance of Templates: time 0.04996/0.5669, allocations: 32 MB / 0.7361 GB, free: 12.41 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)