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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006881/0.0006881, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007527/0.0007525, allocations: 172.4 kB / 16.58 MB, free: 6.852 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.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6077/0.6077, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002664, allocations: 8.781 kB / 493.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.2596/0.3775, allocations: 56.5 MB / 0.6121 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.3896, allocations: 11.22 MB / 0.623 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.3908, allocations: 53.16 kB / 0.6231 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.392, allocations: 475.7 kB / 0.6235 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.3951, allocations: 1.531 MB / 0.625 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.3972, allocations: 0.8733 MB / 0.6259 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.4004, allocations: 3.4 MB / 0.6292 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.4014, allocations: 0.8103 MB / 0.63 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.4031, allocations: 1.044 MB / 0.631 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009153/0.404, allocations: 0.8078 MB / 0.6318 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.59e-05/0.4041, allocations: 42.16 kB / 0.6318 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.4061, allocations: 1.085 MB / 0.6329 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.4063, allocations: 208.9 kB / 0.6331 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.4065, allocations: 286.5 kB / 0.6334 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.408, allocations: 1.634 MB / 0.635 GB, free: 6.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.408, allocations: 1.125 kB / 0.635 GB, free: 6.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.408, allocations: 0 / 0.635 GB, free: 6.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.408, allocations: 0 / 0.635 GB, free: 6.41 MB / 462.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.002165/0.4102, allocations: 1.534 MB / 0.6365 GB, free: 5.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.4102, allocations: 9.875 kB / 0.6365 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.4104, allocations: 123.5 kB / 0.6366 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.4121, allocations: 476.9 kB / 0.6371 GB, free: 4.922 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.4137, allocations: 1.084 MB / 0.6381 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.414, allocations: 137.1 kB / 0.6382 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.4141, allocations: 78.16 kB / 0.6383 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.4158, allocations: 1.023 MB / 0.6393 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4158, allocations: 13.17 kB / 0.6393 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.4159, allocations: 35.22 kB / 0.6394 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.4159, allocations: 19.16 kB / 0.6394 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.4179, allocations: 0.9477 MB / 0.6403 GB, free: 2.852 MB / 462.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.004893/0.4228, allocations: 4.916 MB / 0.6451 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.4256, allocations: 0.9096 MB / 0.646 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.4263, allocations: 344.5 kB / 0.6463 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/0.4268, allocations: 0.9024 MB / 0.6472 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.4268, allocations: 42.5 kB / 0.6472 GB, free: 12.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.432e-06/0.4268, allocations: 0 / 0.6472 GB, free: 12.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.006927/0.4338, allocations: 2.205 MB / 0.6494 GB, free: 11.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.4338, allocations: 55.41 kB / 0.6494 GB, free: 11.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.435, allocations: 1.06 MB / 0.6505 GB, free: 10.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.4351, allocations: 37.7 kB / 0.6505 GB, free: 10.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.4354, allocations: 0.5196 MB / 0.651 GB, free: 9.551 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4355, allocations: 157.8 kB / 0.6512 GB, free: 9.395 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.4356, allocations: 12 kB / 0.6512 GB, free: 9.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.4357, allocations: 333.9 kB / 0.6515 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/0.4365, allocations: 344.9 kB / 0.6518 GB, free: 8.715 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009381/0.4374, allocations: 0.549 MB / 0.6524 GB, free: 8.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.4382, allocations: 376 kB / 0.6527 GB, free: 7.711 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4383, allocations: 0 / 0.6527 GB, free: 7.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00239/0.4407, allocations: 1.09 MB / 0.6538 GB, free: 6.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.4408, allocations: 217.3 kB / 0.654 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4408, allocations: 7.953 kB / 0.654 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4418, allocations: 326.6 kB / 0.6543 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.4423, allocations: 131.8 kB / 0.6544 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.4435, allocations: 0.9425 MB / 0.6554 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4446, allocations: 199.9 kB / 0.6556 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.4447, allocations: 28.53 kB / 0.6556 GB, free: 4.688 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.4447, allocations: 4 kB / 0.6556 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002125/0.4468, allocations: 0.953 MB / 0.6565 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4468, allocations: 7.953 kB / 0.6565 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/0.4477, allocations: 329 kB / 0.6568 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.4482, allocations: 131.8 kB / 0.657 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.4494, allocations: 0.9401 MB / 0.6579 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.4503, allocations: 175.4 kB / 0.6581 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.4503, allocations: 27.98 kB / 0.6581 GB, free: 2.102 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000372/0.4507, allocations: 364.9 kB / 0.6584 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4508, allocations: 106.7 kB / 0.6585 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.4541, allocations: 1.25 MB / 0.6597 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4541, allocations: 8 kB / 0.6598 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4541, allocations: 0 / 0.6598 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4542, allocations: 3.984 kB / 0.6598 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.4585, allocations: 2.328 MB / 0.662 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4585, allocations: 0 / 0.662 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.4588, allocations: 79.89 kB / 0.6621 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008268/0.4596, allocations: 334.8 kB / 0.6624 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.4597, allocations: 15.98 kB / 0.6624 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.4609, allocations: 0.9621 MB / 0.6634 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4609, allocations: 7.938 kB / 0.6634 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/0.4639, allocations: 1.314 MB / 0.6647 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.4643, allocations: 279.4 kB / 0.6649 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.4644, allocations: 16 kB / 0.665 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.4652, allocations: 123.8 kB / 0.6651 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.4653, allocations: 43.67 kB / 0.6651 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.4653, allocations: 23.98 kB / 0.6651 GB, free: 10.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009448/0.4663, allocations: 0.7315 MB / 0.6659 GB, free: 9.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4663, allocations: 8 kB / 0.6659 GB, free: 9.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001291/0.4676, allocations: 0.5652 MB / 0.6664 GB, free: 9.363 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00381/0.4714, allocations: 2.103 MB / 0.6685 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002759/0.4742, allocations: 1.227 MB / 0.6697 GB, free: 5.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4742, allocations: 0 / 0.6697 GB, free: 5.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.475, allocations: 398.9 kB / 0.67 GB, free: 5.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.477, allocations: 0.4992 MB / 0.6705 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.4908, allocations: 6.969 MB / 0.6773 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.4914, allocations: 1.065 MB / 0.6784 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008571/0.4922, allocations: 226 kB / 0.6786 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.4927, allocations: 415.3 kB / 0.679 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4928, allocations: 0 / 0.679 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.542, allocations: 33.54 MB / 0.7117 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.5422, allocations: 258.2 kB / 0.712 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/2.726, allocations: 0 / 0.712 GB, free: 10.7 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: