Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009719/0.0009719, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4889/0.4889, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007898/0.0007898, allocations: 95.14 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.957e-05, allocations: 7.938 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.14, allocations: 382.1 MB / 0.9268 GB, free: 98.48 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.14, allocations: 89.77 kB / 0.9269 GB, free: 98.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.028/4.169, allocations: 0.8716 GB / 1.798 GB, free: 90.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.744e-06/4.169, allocations: 0 / 1.798 GB, free: 90.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000151/4.169, allocations: 45.58 kB / 1.798 GB, free: 90.25 MB / 0.6198 GB 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.003211/4.172, allocations: 1.744 MB / 1.8 GB, free: 89.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/4.172, allocations: 10.31 kB / 1.8 GB, free: 89.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007521/4.173, allocations: 237.5 kB / 1.8 GB, free: 89.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/4.176, allocations: 1.705 MB / 1.802 GB, free: 89.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/4.176, allocations: 32.38 kB / 1.802 GB, free: 89.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/4.176, allocations: 58.5 kB / 1.802 GB, free: 89.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/4.177, allocations: 0.7079 MB / 1.803 GB, free: 89.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/4.178, allocations: 0.8881 MB / 1.804 GB, free: 89.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/4.178, allocations: 3 kB / 1.804 GB, free: 89.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/4.178, allocations: 7.125 kB / 1.804 GB, free: 89.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/4.178, allocations: 38.08 kB / 1.804 GB, free: 89.01 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.00456/4.183, allocations: 4.524 MB / 1.808 GB, free: 87.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/4.184, allocations: 0.5004 MB / 1.809 GB, free: 87.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/4.184, allocations: 258 kB / 1.809 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/4.184, allocations: 0.8295 MB / 1.81 GB, free: 86.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/4.184, allocations: 40.08 kB / 1.81 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/4.184, allocations: 2.406 kB / 1.81 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.00371/4.188, allocations: 1.003 MB / 1.811 GB, free: 86.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/4.188, allocations: 58.97 kB / 1.811 GB, free: 85.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/4.189, allocations: 0.8914 MB / 1.812 GB, free: 85.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/4.189, allocations: 25.7 kB / 1.812 GB, free: 85.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/4.19, allocations: 0.6323 MB / 1.812 GB, free: 85.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/4.19, allocations: 201.4 kB / 1.813 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/4.19, allocations: 1.281 kB / 1.813 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/4.19, allocations: 334.1 kB / 1.813 GB, free: 85.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/4.19, allocations: 189.4 kB / 1.813 GB, free: 85.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/4.19, allocations: 423.7 kB / 1.813 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/4.191, allocations: 279.1 kB / 1.814 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/4.191, allocations: 0 / 1.814 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003704/4.195, allocations: 1.143 MB / 1.815 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002858/4.195, allocations: 1.331 MB / 1.816 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/4.195, allocations: 3.938 kB / 1.816 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/4.196, allocations: 120.6 kB / 1.816 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/4.196, allocations: 155.9 kB / 1.816 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005196/4.197, allocations: 0.6991 MB / 1.817 GB, free: 82.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/4.198, allocations: 126 kB / 1.817 GB, free: 82.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/4.198, allocations: 38.88 kB / 1.817 GB, free: 82.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/4.198, allocations: 8.906 kB / 1.817 GB, free: 82.85 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003594/4.201, allocations: 0.9873 MB / 1.818 GB, free: 82.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/4.201, allocations: 6.469 kB / 1.818 GB, free: 82.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/4.202, allocations: 123.5 kB / 1.818 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/4.202, allocations: 154 kB / 1.818 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004622/4.203, allocations: 0.6986 MB / 1.819 GB, free: 82.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/4.204, allocations: 108.7 kB / 1.819 GB, free: 82.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/4.204, allocations: 35.61 kB / 1.819 GB, free: 82.27 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.yPL:VARIABLE(min = 0.0 unit = "1" ) "Part load ratio" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002219/4.204, allocations: 134.2 kB / 1.819 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003544/4.208, allocations: 1.003 MB / 1.82 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/4.208, allocations: 125.4 kB / 1.821 GB, free: 81.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/4.212, allocations: 1.121 MB / 1.822 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/4.212, allocations: 7.812 kB / 1.822 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/4.212, allocations: 0 / 1.822 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003349/4.215, allocations: 1.034 MB / 1.823 GB, free: 81.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/4.221, allocations: 2.349 MB / 1.825 GB, free: 81.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/4.221, allocations: 5.219 kB / 1.825 GB, free: 81.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/4.221, allocations: 122.7 kB / 1.825 GB, free: 81.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/4.221, allocations: 120.8 kB / 1.825 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/4.221, allocations: 13.81 kB / 1.825 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004354/4.222, allocations: 0.6853 MB / 1.826 GB, free: 80.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/4.222, allocations: 6.781 kB / 1.826 GB, free: 80.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/4.226, allocations: 1.701 MB / 1.828 GB, free: 80.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/4.227, allocations: 309.9 kB / 1.828 GB, free: 80.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/4.227, allocations: 10.45 kB / 1.828 GB, free: 80.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/4.228, allocations: 69.62 kB / 1.828 GB, free: 80.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/4.228, allocations: 46.77 kB / 1.828 GB, free: 80.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/4.228, allocations: 35.7 kB / 1.828 GB, free: 80.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008786/4.229, allocations: 0.6818 MB / 1.829 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/4.229, allocations: 0 / 1.829 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002041/4.231, allocations: 0.7815 MB / 1.829 GB, free: 79.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005636/4.236, allocations: 3.737 MB / 1.833 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00161/4.238, allocations: 0.9045 MB / 1.834 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/4.238, allocations: 3.25 kB / 1.834 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004898/4.238, allocations: 315.2 kB / 1.834 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/4.241, allocations: 0.5591 MB / 1.835 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/4.245, allocations: 2.009 MB / 1.837 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/4.246, allocations: 1.199 MB / 1.838 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001407/4.247, allocations: 336.6 kB / 1.838 GB, free: 76.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/4.248, allocations: 488 kB / 1.839 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.573e-06/4.248, allocations: 7 kB / 1.839 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07079/4.318, allocations: 38.88 MB / 1.877 GB, free: 74.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/4.319, allocations: 170 kB / 1.877 GB, free: 74.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/7.399, allocations: 0 / 1.877 GB, free: 74.01 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)