Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",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.0006795/0.0006833, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007259/0.000726, allocations: 172.4 kB / 16.58 MB, free: 6.848 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.172/1.172, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6069/0.6069, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.000261, allocations: 14.53 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1167, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.2725/0.3893, allocations: 69.38 MB / 0.6246 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.4075, allocations: 14.19 MB / 0.6385 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.4098, allocations: 56.62 kB / 0.6386 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.4118, allocations: 0.5658 MB / 0.6391 GB, free: 1.074 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.4176, allocations: 1.981 MB / 0.641 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.4205, allocations: 0.9744 MB / 0.642 GB, free: 14.81 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005414/0.426, allocations: 4.806 MB / 0.6467 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.4278, allocations: 1.027 MB / 0.6477 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.4303, allocations: 1.276 MB / 0.6489 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.4322, allocations: 1.089 MB / 0.65 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.4325, allocations: 53.84 kB / 0.6501 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.435, allocations: 0.9192 MB / 0.651 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.4355, allocations: 268.7 kB / 0.6512 GB, free: 9.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006079/0.4361, allocations: 356.8 kB / 0.6515 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.4385, allocations: 2.081 MB / 0.6536 GB, free: 7.711 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4385, allocations: 0 / 0.6536 GB, free: 7.711 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4385, allocations: 4 kB / 0.6536 GB, free: 7.707 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.4385, allocations: 0 / 0.6536 GB, free: 7.707 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002884/0.4414, allocations: 1.796 MB / 0.6553 GB, free: 5.852 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4415, allocations: 12.03 kB / 0.6554 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.4416, allocations: 151.9 kB / 0.6555 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006314/0.4423, allocations: 237.9 kB / 0.6557 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.4443, allocations: 1.447 MB / 0.6571 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.4444, allocations: 74 kB / 0.6572 GB, free: 3.875 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.4445, allocations: 108 kB / 0.6573 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.4463, allocations: 1.112 MB / 0.6584 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.4463, allocations: 4 kB / 0.6584 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/0.4464, allocations: 36 kB / 0.6584 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.4465, allocations: 27.94 kB / 0.6585 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.4481, allocations: 0.9329 MB / 0.6594 GB, free: 1.625 MB / 478.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.004999/0.4532, allocations: 4.908 MB / 0.6642 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.4544, allocations: 0.6438 MB / 0.6648 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/0.4551, allocations: 362.3 kB / 0.6651 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.4557, allocations: 0.8277 MB / 0.6659 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4557, allocations: 35.12 kB / 0.666 GB, free: 10.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 2.224e-06/0.4557, allocations: 0 / 0.666 GB, free: 10.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.006028/0.4617, allocations: 1.892 MB / 0.6678 GB, free: 8.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4618, allocations: 55.97 kB / 0.6679 GB, free: 8.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.4632, allocations: 1.198 MB / 0.6691 GB, free: 7.168 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.4633, allocations: 45.7 kB / 0.6691 GB, free: 7.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.4638, allocations: 0.6103 MB / 0.6697 GB, free: 6.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.464, allocations: 212.9 kB / 0.6699 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.464, allocations: 12 kB / 0.6699 GB, free: 6.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4641, allocations: 337.9 kB / 0.6702 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.4647, allocations: 293.8 kB / 0.6705 GB, free: 5.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.4654, allocations: 0.5124 MB / 0.671 GB, free: 5.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.4661, allocations: 359 kB / 0.6714 GB, free: 4.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4661, allocations: 0 / 0.6714 GB, free: 4.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003862/0.47, allocations: 1.39 MB / 0.6727 GB, free: 3.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.4701, allocations: 204.5 kB / 0.6729 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4701, allocations: 4 kB / 0.6729 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/0.4706, allocations: 144.7 kB / 0.673 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.4712, allocations: 171.8 kB / 0.6732 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007248/0.4719, allocations: 0.7123 MB / 0.6739 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/0.4729, allocations: 167.1 kB / 0.6741 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.4729, allocations: 31.98 kB / 0.6741 GB, free: 1.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.044e-06/0.473, allocations: 7.938 kB / 0.6741 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003648/0.4766, allocations: 1.249 MB / 0.6753 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4766, allocations: 4 kB / 0.6753 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.477, allocations: 145.9 kB / 0.6755 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.4776, allocations: 167.7 kB / 0.6756 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006938/0.4783, allocations: 0.7199 MB / 0.6763 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.4792, allocations: 159.2 kB / 0.6765 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.4793, allocations: 35.98 kB / 0.6765 GB, free: 15.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.00055/0.4798, allocations: 417.5 kB / 0.6769 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.48, allocations: 134.4 kB / 0.677 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.4839, allocations: 1.396 MB / 0.6784 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4839, allocations: 11.95 kB / 0.6784 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4839, allocations: 0 / 0.6784 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00346/0.4874, allocations: 1.232 MB / 0.6796 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.493, allocations: 2.739 MB / 0.6823 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.493, allocations: 4 kB / 0.6823 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.4935, allocations: 127.7 kB / 0.6824 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.4939, allocations: 140.8 kB / 0.6826 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.4939, allocations: 23.98 kB / 0.6826 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/0.498, allocations: 2.466 MB / 0.685 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.498, allocations: 4 kB / 0.685 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/0.5025, allocations: 1.848 MB / 0.6868 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005948/0.5031, allocations: 331 kB / 0.6871 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5034, allocations: 27.89 kB / 0.6871 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008407/0.5042, allocations: 91.88 kB / 0.6872 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5043, allocations: 52.38 kB / 0.6873 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.5044, allocations: 31.97 kB / 0.6873 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001251/0.5057, allocations: 0.8624 MB / 0.6881 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5057, allocations: 3.938 kB / 0.6881 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001875/0.5075, allocations: 0.7096 MB / 0.6888 GB, free: 2.258 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005404/0.513, allocations: 2.705 MB / 0.6915 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.5153, allocations: 1.16 MB / 0.6926 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5153, allocations: 0 / 0.6926 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.5167, allocations: 0.6034 MB / 0.6932 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.5196, allocations: 0.7501 MB / 0.6939 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.5361, allocations: 8.368 MB / 0.7021 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.5368, allocations: 1.179 MB / 0.7033 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001079/0.5379, allocations: 311.4 kB / 0.7036 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/0.5385, allocations: 0.511 MB / 0.7041 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.5385, allocations: 0 / 0.7041 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/0.5968, allocations: 42.07 MB / 0.7451 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.597, allocations: 238.7 kB / 0.7454 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.966, allocations: 0 / 0.7454 GB, free: 8.387 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: