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.001067/0.001067, allocations: 107.2 kB / 17.04 MB, free: 6.082 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.001085/0.001085, allocations: 195 kB / 17.98 MB, free: 5.16 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6932/0.6932, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 55.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3314, allocations: 76.15 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05005/0.3815, allocations: 61.16 MB / 0.6173 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.3979, allocations: 11.99 MB / 0.629 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.4003, allocations: 59.62 kB / 0.6291 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.4024, allocations: 0.6792 MB / 0.6297 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.4081, allocations: 1.969 MB / 0.6316 GB, free: 8.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.4111, allocations: 1.204 MB / 0.6328 GB, free: 7.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.4154, allocations: 3.087 MB / 0.6358 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.4168, allocations: 1.103 MB / 0.6369 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.4197, allocations: 1.32 MB / 0.6382 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.4209, allocations: 0.9071 MB / 0.6391 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.4211, allocations: 120 kB / 0.6392 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.4238, allocations: 1.458 MB / 0.6406 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.4242, allocations: 282.9 kB / 0.6409 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009848/0.4252, allocations: 0.6997 MB / 0.6416 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004705/0.4299, allocations: 2.312 MB / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.43, allocations: 3.938 kB / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.43, allocations: 4 kB / 0.6439 GB, free: 11.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.43, allocations: 0 / 0.6439 GB, free: 11.98 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.002829/0.4328, allocations: 1.724 MB / 0.6455 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4329, allocations: 8.031 kB / 0.6455 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.4344, allocations: 343 kB / 0.6459 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.4365, allocations: 1.156 MB / 0.647 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.4366, allocations: 62 kB / 0.6471 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4367, allocations: 80 kB / 0.6471 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.4384, allocations: 0.9741 MB / 0.6481 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4385, allocations: 11.88 kB / 0.6481 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.4386, allocations: 35.94 kB / 0.6481 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.4386, allocations: 20 kB / 0.6481 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.4405, allocations: 0.7962 MB / 0.6489 GB, free: 6.609 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.006569/0.4471, allocations: 5.15 MB / 0.654 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.4485, allocations: 0.554 MB / 0.6545 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.4491, allocations: 262.7 kB / 0.6547 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.4504, allocations: 1.369 MB / 0.6561 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4505, allocations: 42.55 kB / 0.6561 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.4505, allocations: 0 / 0.6561 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007238/0.4577, allocations: 1.763 MB / 0.6578 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4578, allocations: 55.41 kB / 0.6579 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.4594, allocations: 1.079 MB / 0.659 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/0.4595, allocations: 33.7 kB / 0.659 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.4599, allocations: 0.5311 MB / 0.6595 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4601, allocations: 145.9 kB / 0.6596 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.4603, allocations: 138.1 kB / 0.6598 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4604, allocations: 326 kB / 0.6601 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.4611, allocations: 279.3 kB / 0.6604 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008549/0.462, allocations: 0.5036 MB / 0.6608 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.4633, allocations: 0.6624 MB / 0.6615 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4633, allocations: 4 kB / 0.6615 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00223/0.4655, allocations: 0.9498 MB / 0.6624 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4655, allocations: 12.06 kB / 0.6624 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4656, allocations: 8 kB / 0.6624 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.4667, allocations: 304.5 kB / 0.6627 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.4672, allocations: 119.9 kB / 0.6628 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.4685, allocations: 0.9034 MB / 0.6637 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.4696, allocations: 143.2 kB / 0.6639 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.4696, allocations: 31.98 kB / 0.6639 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009752/0.4706, allocations: 489.2 kB / 0.6644 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000922/0.4716, allocations: 0.4962 MB / 0.6648 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001255/0.4728, allocations: 0.651 MB / 0.6655 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.594e-06/0.4728, allocations: 0 / 0.6655 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002177/0.475, allocations: 0.9499 MB / 0.6664 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.475, allocations: 4 kB / 0.6664 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4751, allocations: 8 kB / 0.6664 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009811/0.476, allocations: 296.6 kB / 0.6667 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.4765, allocations: 119.8 kB / 0.6668 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.4777, allocations: 0.8919 MB / 0.6677 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4789, allocations: 139.5 kB / 0.6678 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.4789, allocations: 27.98 kB / 0.6678 GB, free: 2.047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.000216/0.4792, allocations: 220 kB / 0.6681 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.4793, allocations: 110.7 kB / 0.6682 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.4826, allocations: 1.056 MB / 0.6692 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4826, allocations: 4 kB / 0.6692 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4826, allocations: 0 / 0.6692 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4827, allocations: 3.984 kB / 0.6692 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.487, allocations: 2.064 MB / 0.6712 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.487, allocations: 0 / 0.6712 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.4872, allocations: 51.91 kB / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008714/0.4881, allocations: 300.9 kB / 0.6716 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.4882, allocations: 16 kB / 0.6716 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.4895, allocations: 0.9327 MB / 0.6725 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4895, allocations: 7.875 kB / 0.6725 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.4925, allocations: 1.086 MB / 0.6735 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.4929, allocations: 259.5 kB / 0.6738 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.4931, allocations: 11.94 kB / 0.6738 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.4938, allocations: 63.94 kB / 0.6739 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.4938, allocations: 39.83 kB / 0.6739 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.4939, allocations: 23.98 kB / 0.6739 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001141/0.4951, allocations: 0.7551 MB / 0.6747 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4951, allocations: 0 / 0.6747 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001466/0.4965, allocations: 0.5692 MB / 0.6752 GB, free: 10.3 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.0007713/0.4973, allocations: 415.9 kB / 0.6756 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002575/0.4999, allocations: 1.024 MB / 0.6766 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4999, allocations: 4.312 kB / 0.6766 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.5006, allocations: 309.4 kB / 0.6769 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.5026, allocations: 0.5197 MB / 0.6774 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.5056, allocations: 1.804 MB / 0.6792 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.5062, allocations: 1.061 MB / 0.6802 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007017/0.5069, allocations: 218.6 kB / 0.6804 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.507, allocations: 75.42 kB / 0.6805 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.507, allocations: 0 / 0.6805 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.03679/0.5438, allocations: 25.13 MB / 0.705 GB, free: 11.99 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)