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.001034/0.001034, allocations: 96.27 kB / 15.69 MB, free: 480 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.001992/0.001992, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.592/1.592, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8426/0.8426, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 13.17 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3363/0.4717, allocations: 51.31 MB / 0.6068 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.4833, allocations: 10.33 MB / 0.6169 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.4846, allocations: 46.62 kB / 0.617 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.486, allocations: 0.6278 MB / 0.6176 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.4902, allocations: 1.95 MB / 0.6195 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.4935, allocations: 1.318 MB / 0.6208 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.4959, allocations: 1.857 MB / 0.6226 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009732/0.4969, allocations: 0.8231 MB / 0.6234 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.4984, allocations: 0.9907 MB / 0.6243 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007176/0.4991, allocations: 0.6109 MB / 0.6249 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.4992, allocations: 46.66 kB / 0.625 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.5011, allocations: 0.9854 MB / 0.6259 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.5013, allocations: 192.2 kB / 0.6261 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.5015, allocations: 287.3 kB / 0.6264 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.5031, allocations: 1.594 MB / 0.628 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.5031, allocations: 0 / 0.628 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5031, allocations: 0 / 0.628 GB, free: 11.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.5031, allocations: 3.938 kB / 0.628 GB, free: 11.22 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.0023/0.5054, allocations: 1.506 MB / 0.6294 GB, free: 10.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5054, allocations: 9.75 kB / 0.6294 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.5056, allocations: 124.2 kB / 0.6296 GB, free: 9.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.5076, allocations: 479.1 kB / 0.63 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5092, allocations: 1.046 MB / 0.631 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/0.5095, allocations: 131.8 kB / 0.6312 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5097, allocations: 79.66 kB / 0.6312 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5115, allocations: 1.025 MB / 0.6322 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.5115, allocations: 5.016 kB / 0.6322 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.5116, allocations: 35.03 kB / 0.6323 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5116, allocations: 24.44 kB / 0.6323 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.5138, allocations: 0.9508 MB / 0.6332 GB, free: 7.703 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.005352/0.5192, allocations: 4.934 MB / 0.6381 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.5223, allocations: 0.9226 MB / 0.639 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/0.5229, allocations: 0.896 MB / 0.6398 GB, free: 1.848 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5229, allocations: 37.22 kB / 0.6399 GB, free: 1.805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.5229, allocations: 0 / 0.6399 GB, free: 1.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.007771/0.5307, allocations: 2.197 MB / 0.642 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.5307, allocations: 58.66 kB / 0.6421 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.532, allocations: 1.074 MB / 0.6431 GB, free: 132 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.532, allocations: 32.83 kB / 0.6431 GB, free: 96 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.5324, allocations: 0.535 MB / 0.6437 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.5325, allocations: 151.8 kB / 0.6438 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.5325, allocations: 10.47 kB / 0.6438 GB, free: 15.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.5326, allocations: 331.3 kB / 0.6441 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008452/0.5335, allocations: 341.3 kB / 0.6445 GB, free: 15.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/0.5345, allocations: 0.5427 MB / 0.645 GB, free: 14.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.5353, allocations: 389.9 kB / 0.6454 GB, free: 14.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5354, allocations: 3.953 kB / 0.6454 GB, free: 14.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002495/0.5379, allocations: 1.084 MB / 0.6464 GB, free: 13.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004848/0.5384, allocations: 1.668 MB / 0.6481 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5384, allocations: 4 kB / 0.6481 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.5395, allocations: 333.2 kB / 0.6484 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.5401, allocations: 135.8 kB / 0.6485 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.5414, allocations: 0.9444 MB / 0.6494 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.5427, allocations: 203.8 kB / 0.6496 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.5428, allocations: 31.98 kB / 0.6497 GB, free: 9.867 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.5428, allocations: 0 / 0.6497 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002435/0.5453, allocations: 0.9532 MB / 0.6506 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5453, allocations: 8 kB / 0.6506 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009998/0.5463, allocations: 316.8 kB / 0.6509 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.5468, allocations: 139.8 kB / 0.651 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.5482, allocations: 0.9444 MB / 0.652 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.5495, allocations: 183.3 kB / 0.6521 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.5496, allocations: 27.98 kB / 0.6522 GB, free: 7.277 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.0007847/0.5504, allocations: 349 kB / 0.6525 GB, free: 6.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.5507, allocations: 114.6 kB / 0.6526 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004342/0.555, allocations: 1.241 MB / 0.6538 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/0.5551, allocations: 8 kB / 0.6538 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5551, allocations: 0 / 0.6538 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5551, allocations: 3.984 kB / 0.6538 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/0.5607, allocations: 2.339 MB / 0.6561 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5608, allocations: 4.281 kB / 0.6561 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.5611, allocations: 83.88 kB / 0.6562 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009662/0.5621, allocations: 312.6 kB / 0.6565 GB, free: 2.742 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.5621, allocations: 23.98 kB / 0.6565 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.5636, allocations: 0.9739 MB / 0.6575 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5636, allocations: 0 / 0.6575 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/0.5672, allocations: 1.441 MB / 0.6589 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.5678, allocations: 287.6 kB / 0.6591 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5679, allocations: 15.94 kB / 0.6592 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008835/0.5688, allocations: 131.7 kB / 0.6593 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.5689, allocations: 39.52 kB / 0.6593 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.569, allocations: 23.98 kB / 0.6593 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.5701, allocations: 0.7549 MB / 0.6601 GB, free: 14.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5702, allocations: 0 / 0.6601 GB, free: 14.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001666/0.5718, allocations: 0.5614 MB / 0.6606 GB, free: 14.36 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.004708/0.5765, allocations: 2.852 MB / 0.6634 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.5797, allocations: 1.235 MB / 0.6646 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5798, allocations: 0 / 0.6646 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.5807, allocations: 394.9 kB / 0.665 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.5831, allocations: 0.4994 MB / 0.6655 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.5899, allocations: 5.964 MB / 0.6713 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.5905, allocations: 1.093 MB / 0.6724 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008842/0.5913, allocations: 220.3 kB / 0.6726 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.5918, allocations: 419.3 kB / 0.673 GB, free: 1.438 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5918, allocations: 0 / 0.673 GB, free: 1.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3662/0.9581, allocations: 33.24 MB / 0.7054 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003146/0.9584, allocations: 260.9 kB / 0.7057 GB, free: 328 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.579, allocations: 0 / 0.7057 GB, free: 328 kB / 0.5137 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: