Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00101/0.00101, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.0009978/0.0009978, allocations: 196 kB / 17.98 MB, free: 5.031 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.263/1.263, 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.6903/0.6903, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.12 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3296, allocations: 76.14 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05084/0.3805, allocations: 61.18 MB / 0.6173 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01707/0.3976, allocations: 11.98 MB / 0.629 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.3999, allocations: 59.62 kB / 0.6291 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.402, allocations: 0.6831 MB / 0.6297 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005602/0.4077, allocations: 1.962 MB / 0.6316 GB, free: 8.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.4107, allocations: 1.211 MB / 0.6328 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.4145, allocations: 3.083 MB / 0.6358 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.4158, allocations: 1.098 MB / 0.6369 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.4185, allocations: 1.33 MB / 0.6382 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.4197, allocations: 0.8944 MB / 0.6391 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.4199, allocations: 116 kB / 0.6392 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.4224, allocations: 1.462 MB / 0.6406 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.4226, allocations: 286.9 kB / 0.6409 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.4233, allocations: 0.6958 MB / 0.6416 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.4265, allocations: 2.321 MB / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4265, allocations: 0 / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4265, allocations: 0 / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.4266, allocations: 4 kB / 0.6438 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.002989/0.4296, allocations: 1.724 MB / 0.6455 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4296, allocations: 12.03 kB / 0.6455 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.4316, allocations: 406.8 kB / 0.6459 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.4337, allocations: 1.167 MB / 0.6471 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.4338, allocations: 69.94 kB / 0.6471 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.4339, allocations: 80 kB / 0.6472 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.4358, allocations: 1.003 MB / 0.6482 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4358, allocations: 3.938 kB / 0.6482 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.4359, allocations: 36 kB / 0.6482 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4359, allocations: 20 kB / 0.6482 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.438, allocations: 0.8508 MB / 0.6491 GB, free: 6.449 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.006455/0.4444, allocations: 5.244 MB / 0.6542 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.4475, allocations: 0.7897 MB / 0.655 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/0.4481, allocations: 292.8 kB / 0.6553 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/0.4488, allocations: 0.9063 MB / 0.6561 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4488, allocations: 46.5 kB / 0.6562 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 1.804e-06/0.4488, allocations: 0 / 0.6562 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007636/0.4565, allocations: 1.861 MB / 0.658 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4565, allocations: 55.41 kB / 0.6581 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.458, allocations: 1.079 MB / 0.6591 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.4581, allocations: 37.7 kB / 0.6591 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.4585, allocations: 0.5272 MB / 0.6597 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.4586, allocations: 161.7 kB / 0.6598 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.4589, allocations: 134.2 kB / 0.6599 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.459, allocations: 330 kB / 0.6603 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/0.4598, allocations: 311.3 kB / 0.6606 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/0.4608, allocations: 0.5212 MB / 0.6611 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.4623, allocations: 0.7171 MB / 0.6618 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4623, allocations: 0 / 0.6618 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00336/0.4657, allocations: 1.153 MB / 0.6629 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.4657, allocations: 8 kB / 0.6629 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.4658, allocations: 4 kB / 0.6629 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.467, allocations: 308.7 kB / 0.6632 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.4675, allocations: 131.8 kB / 0.6633 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.4688, allocations: 0.9021 MB / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.47, allocations: 155.2 kB / 0.6643 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.4701, allocations: 31.98 kB / 0.6644 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001109/0.4712, allocations: 0.5051 MB / 0.6649 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009784/0.4722, allocations: 0.5329 MB / 0.6654 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001483/0.4737, allocations: 0.7056 MB / 0.6661 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.4737, allocations: 0 / 0.6661 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003137/0.4768, allocations: 1.125 MB / 0.6672 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4769, allocations: 8 kB / 0.6672 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4769, allocations: 8.062 kB / 0.6672 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.4779, allocations: 304.6 kB / 0.6675 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.4784, allocations: 131.8 kB / 0.6676 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.4797, allocations: 0.8957 MB / 0.6685 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.4808, allocations: 135.5 kB / 0.6686 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.4808, allocations: 31.98 kB / 0.6686 GB, free: 1.32 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.0002096/0.4811, allocations: 216.8 kB / 0.6689 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.4812, allocations: 114.6 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.4847, allocations: 1.095 MB / 0.67 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4847, allocations: 15.94 kB / 0.67 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4847, allocations: 0 / 0.67 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.4847, allocations: 3.984 kB / 0.67 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/0.4894, allocations: 2.179 MB / 0.6722 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4894, allocations: 4 kB / 0.6722 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.4897, allocations: 67.89 kB / 0.6722 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008952/0.4906, allocations: 302.9 kB / 0.6725 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4906, allocations: 19.92 kB / 0.6726 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.4919, allocations: 0.923 MB / 0.6735 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4919, allocations: 4 kB / 0.6735 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.4952, allocations: 1.177 MB / 0.6746 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.4956, allocations: 267.5 kB / 0.6749 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.4957, allocations: 8 kB / 0.6749 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/0.4965, allocations: 71.91 kB / 0.6749 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.4966, allocations: 47.67 kB / 0.675 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.4966, allocations: 23.92 kB / 0.675 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001073/0.4977, allocations: 0.7551 MB / 0.6757 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4977, allocations: 4 kB / 0.6757 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001404/0.4991, allocations: 0.5693 MB / 0.6763 GB, free: 9.266 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.0007357/0.4999, allocations: 396.3 kB / 0.6767 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002849/0.5027, allocations: 1.118 MB / 0.6778 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5027, allocations: 0 / 0.6778 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.5035, allocations: 358.3 kB / 0.6781 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.5055, allocations: 0.5131 MB / 0.6786 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.5101, allocations: 2 MB / 0.6806 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.5107, allocations: 1.069 MB / 0.6816 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.5114, allocations: 228.9 kB / 0.6818 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.5116, allocations: 83.42 kB / 0.6819 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.5116, allocations: 0 / 0.6819 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of Templates: time 0.03752/0.5491, allocations: 25.12 MB / 0.7064 GB, free: 10.62 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)