Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",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.0006985/0.0006985, 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.0007285/0.0007285, allocations: 176.8 kB / 16.58 MB, free: 6.461 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.202/1.202, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5966/0.5966, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002632, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2612/0.3785, allocations: 56.43 MB / 0.612 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.3908, allocations: 11.21 MB / 0.623 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.3922, allocations: 56.97 kB / 0.623 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.3934, allocations: 465.2 kB / 0.6234 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.3969, allocations: 1.537 MB / 0.625 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.3992, allocations: 0.8456 MB / 0.6258 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.4026, allocations: 3.403 MB / 0.6291 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4037, allocations: 0.7903 MB / 0.6299 GB, free: 9.605 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.4054, allocations: 1.038 MB / 0.6309 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009162/0.4063, allocations: 0.7976 MB / 0.6317 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.522e-05/0.4064, allocations: 45.03 kB / 0.6317 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.4084, allocations: 1.093 MB / 0.6328 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.4086, allocations: 195.3 kB / 0.633 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.4089, allocations: 286.8 kB / 0.6332 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.4103, allocations: 1.626 MB / 0.6348 GB, free: 6.594 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4104, allocations: 0 / 0.6348 GB, free: 6.594 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4104, allocations: 0 / 0.6348 GB, free: 6.594 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4104, allocations: 0 / 0.6348 GB, free: 6.594 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002134/0.4125, allocations: 1.511 MB / 0.6363 GB, free: 5.414 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4126, allocations: 10.03 kB / 0.6363 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.4127, allocations: 122.1 kB / 0.6364 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.4144, allocations: 467.8 kB / 0.6369 GB, free: 5.121 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.416, allocations: 1.081 MB / 0.6379 GB, free: 4.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.4163, allocations: 138.7 kB / 0.6381 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.4164, allocations: 81.91 kB / 0.6381 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.418, allocations: 0.9984 MB / 0.6391 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4181, allocations: 1.781 kB / 0.6391 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.4181, allocations: 31.16 kB / 0.6391 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.4182, allocations: 21.94 kB / 0.6392 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.4201, allocations: 0.9072 MB / 0.64 GB, free: 3.086 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.004962/0.425, allocations: 4.907 MB / 0.6448 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.4277, allocations: 0.8918 MB / 0.6457 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.4283, allocations: 320 kB / 0.646 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.4289, allocations: 0.9088 MB / 0.6469 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4289, allocations: 34.56 kB / 0.6469 GB, free: 13.06 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/0.4289, allocations: 0 / 0.6469 GB, free: 13.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.00678/0.4357, allocations: 2.149 MB / 0.649 GB, free: 11.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.4357, allocations: 55.41 kB / 0.6491 GB, free: 11.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.437, allocations: 1.048 MB / 0.6501 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.437, allocations: 33.7 kB / 0.6501 GB, free: 10.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.4374, allocations: 0.5312 MB / 0.6507 GB, free: 9.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.4375, allocations: 145.8 kB / 0.6508 GB, free: 9.824 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.4375, allocations: 12 kB / 0.6508 GB, free: 9.812 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.4376, allocations: 333.9 kB / 0.6511 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.4384, allocations: 320.9 kB / 0.6514 GB, free: 9.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008566/0.4392, allocations: 0.5337 MB / 0.652 GB, free: 8.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.44, allocations: 354 kB / 0.6523 GB, free: 8.203 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.44, allocations: 0 / 0.6523 GB, free: 8.203 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002959/0.443, allocations: 1.223 MB / 0.6535 GB, free: 6.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.4431, allocations: 213.3 kB / 0.6537 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4431, allocations: 7.938 kB / 0.6537 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.4442, allocations: 337.3 kB / 0.654 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.4447, allocations: 127.9 kB / 0.6541 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.4459, allocations: 0.9405 MB / 0.6551 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.447, allocations: 191.3 kB / 0.6552 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.4471, allocations: 31.97 kB / 0.6553 GB, free: 5.051 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.4471, allocations: 6.344 kB / 0.6553 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002751/0.4499, allocations: 1.074 MB / 0.6563 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4499, allocations: 4.438 kB / 0.6563 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008958/0.4508, allocations: 320.6 kB / 0.6566 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.4513, allocations: 131.8 kB / 0.6568 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.4524, allocations: 0.9402 MB / 0.6577 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/0.4534, allocations: 163.4 kB / 0.6578 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.4535, allocations: 31.98 kB / 0.6579 GB, free: 2.363 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 (51): * Single equations (assignments): 50 * 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.0004312/0.4539, allocations: 349.6 kB / 0.6582 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.4541, allocations: 110.7 kB / 0.6583 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.4572, allocations: 1.199 MB / 0.6595 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4573, allocations: 4 kB / 0.6595 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4573, allocations: 4 kB / 0.6595 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4573, allocations: 4.078 kB / 0.6595 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004413/0.4617, allocations: 2.265 MB / 0.6617 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4617, allocations: 4 kB / 0.6617 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.462, allocations: 67.89 kB / 0.6618 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008812/0.4629, allocations: 328.8 kB / 0.6621 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.4629, allocations: 16 kB / 0.6621 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.4642, allocations: 0.9737 MB / 0.6631 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4642, allocations: 0 / 0.6631 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.4672, allocations: 1.257 MB / 0.6643 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.4677, allocations: 283.4 kB / 0.6646 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.4678, allocations: 15.98 kB / 0.6646 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007938/0.4686, allocations: 107.9 kB / 0.6647 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.4687, allocations: 39.91 kB / 0.6647 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.4687, allocations: 23.98 kB / 0.6647 GB, free: 11.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009966/0.4697, allocations: 0.735 MB / 0.6654 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4698, allocations: 0 / 0.6654 GB, free: 10.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001402/0.4712, allocations: 0.5574 MB / 0.666 GB, free: 9.828 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 (33): * Single equations (assignments): 28 * 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.003839/0.475, allocations: 2.055 MB / 0.668 GB, free: 7.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.4777, allocations: 1.159 MB / 0.6691 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4777, allocations: 128 / 0.6691 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.4785, allocations: 374.3 kB / 0.6695 GB, free: 6.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.4805, allocations: 0.494 MB / 0.67 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.4941, allocations: 6.847 MB / 0.6767 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.4947, allocations: 1.058 MB / 0.6777 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008699/0.4956, allocations: 230.6 kB / 0.6779 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.4961, allocations: 407.3 kB / 0.6783 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of SimCode: time 1.532e-06/0.4961, allocations: 0 / 0.6783 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.5445, allocations: 33.22 MB / 0.7107 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.5447, allocations: 247.5 kB / 0.711 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.723, allocations: 4 kB / 0.711 GB, free: 11.81 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: