Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.0007089/0.0007089, allocations: 92.86 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.0007731/0.0007731, allocations: 172.9 kB / 16.58 MB, free: 6.016 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.178/1.178, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.602/0.602, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002807, allocations: 8.594 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.264/0.3801, allocations: 69.42 MB / 0.6247 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.3959, allocations: 14.19 MB / 0.6385 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.3974, allocations: 56.62 kB / 0.6386 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.3987, allocations: 0.5648 MB / 0.6391 GB, free: 1.113 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.4028, allocations: 1.994 MB / 0.6411 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.4051, allocations: 0.9659 MB / 0.642 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.4092, allocations: 4.806 MB / 0.6467 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.4104, allocations: 1.017 MB / 0.6477 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.4121, allocations: 1.28 MB / 0.649 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.4132, allocations: 1.076 MB / 0.65 GB, free: 10.06 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4133, allocations: 53.03 kB / 0.6501 GB, free: 10.06 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.4151, allocations: 0.9253 MB / 0.651 GB, free: 9.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.4153, allocations: 272.6 kB / 0.6512 GB, free: 9.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.4156, allocations: 357 kB / 0.6516 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.4173, allocations: 2.08 MB / 0.6536 GB, free: 7.746 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4173, allocations: 0 / 0.6536 GB, free: 7.746 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4173, allocations: 0 / 0.6536 GB, free: 7.746 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4173, allocations: 0 / 0.6536 GB, free: 7.746 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.002616/0.4199, allocations: 1.799 MB / 0.6554 GB, free: 5.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.42, allocations: 12.03 kB / 0.6554 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.4201, allocations: 144 kB / 0.6555 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006094/0.4207, allocations: 245.8 kB / 0.6557 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.4227, allocations: 1.451 MB / 0.6572 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.4228, allocations: 74 kB / 0.6572 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4229, allocations: 104 kB / 0.6573 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4246, allocations: 1.116 MB / 0.6584 GB, free: 2.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.4246, allocations: 4 kB / 0.6584 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/0.4247, allocations: 43.98 kB / 0.6585 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.4248, allocations: 27.94 kB / 0.6585 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.4264, allocations: 0.9212 MB / 0.6594 GB, free: 1.656 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.004674/0.4311, allocations: 4.919 MB / 0.6642 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.4323, allocations: 0.6368 MB / 0.6648 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.4329, allocations: 362.3 kB / 0.6652 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005076/0.4334, allocations: 0.8316 MB / 0.666 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.4335, allocations: 43.11 kB / 0.666 GB, free: 10.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 1.724e-06/0.4335, allocations: 0 / 0.666 GB, free: 10.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.005773/0.4393, allocations: 1.885 MB / 0.6679 GB, free: 8.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.4393, allocations: 59.95 kB / 0.6679 GB, free: 8.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.4406, allocations: 1.202 MB / 0.6691 GB, free: 7.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.4406, allocations: 41.7 kB / 0.6691 GB, free: 7.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.4411, allocations: 0.6026 MB / 0.6697 GB, free: 6.527 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.4412, allocations: 216.9 kB / 0.6699 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.4413, allocations: 8 kB / 0.6699 GB, free: 6.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.4414, allocations: 341.9 kB / 0.6703 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.442, allocations: 297.8 kB / 0.6705 GB, free: 5.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.4427, allocations: 0.5013 MB / 0.671 GB, free: 5.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.4433, allocations: 363 kB / 0.6714 GB, free: 4.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4433, allocations: 0 / 0.6714 GB, free: 4.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003736/0.447, allocations: 1.394 MB / 0.6727 GB, free: 3.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-05/0.4471, allocations: 197.9 kB / 0.6729 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4472, allocations: 4 kB / 0.6729 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004619/0.4476, allocations: 152.4 kB / 0.6731 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.4482, allocations: 167.8 kB / 0.6732 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006788/0.4488, allocations: 0.72 MB / 0.6739 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.4497, allocations: 167 kB / 0.6741 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.4498, allocations: 35.98 kB / 0.6741 GB, free: 1.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-06/0.4498, allocations: 4 kB / 0.6741 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00363/0.4534, allocations: 1.245 MB / 0.6754 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4534, allocations: 4.375 kB / 0.6754 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/0.4538, allocations: 152.7 kB / 0.6755 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.4543, allocations: 159.8 kB / 0.6757 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006384/0.455, allocations: 0.72 MB / 0.6764 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/0.4558, allocations: 158.9 kB / 0.6765 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.4558, allocations: 35.98 kB / 0.6765 GB, free: 15.32 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.0004226/0.4562, allocations: 420.8 kB / 0.6769 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.4564, allocations: 130.4 kB / 0.6771 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.4602, allocations: 1.4 MB / 0.6784 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.4603, allocations: 15.95 kB / 0.6785 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4603, allocations: 3.984 kB / 0.6785 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003451/0.4637, allocations: 1.232 MB / 0.6797 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.469, allocations: 2.723 MB / 0.6823 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.469, allocations: 4.438 kB / 0.6823 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.4694, allocations: 123.8 kB / 0.6824 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/0.4698, allocations: 140.7 kB / 0.6826 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.4699, allocations: 24 kB / 0.6826 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/0.4738, allocations: 2.482 MB / 0.685 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4738, allocations: 4 kB / 0.685 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004366/0.4781, allocations: 1.84 MB / 0.6868 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.4786, allocations: 335.1 kB / 0.6871 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.4787, allocations: 23.89 kB / 0.6872 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.4795, allocations: 99.75 kB / 0.6873 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.4796, allocations: 64.23 kB / 0.6873 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.4796, allocations: 31.98 kB / 0.6874 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001044/0.4807, allocations: 0.8622 MB / 0.6882 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4807, allocations: 0 / 0.6882 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001629/0.4823, allocations: 0.7057 MB / 0.6889 GB, free: 2.277 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.005257/0.4876, allocations: 2.702 MB / 0.6915 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.49, allocations: 1.16 MB / 0.6927 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.49, allocations: 4 kB / 0.6927 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.4913, allocations: 0.5956 MB / 0.6932 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/0.4946, allocations: 0.7606 MB / 0.694 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.5116, allocations: 8.362 MB / 0.7022 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.5125, allocations: 1.183 MB / 0.7033 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001363/0.5139, allocations: 302.9 kB / 0.7036 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.5146, allocations: 0.511 MB / 0.7041 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.5146, allocations: 0 / 0.7041 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.5722, allocations: 42.13 MB / 0.7452 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.5725, allocations: 257.3 kB / 0.7455 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.967, allocations: 0 / 0.7455 GB, free: 8.285 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: