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.001096/0.001096, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4971/0.4971, allocations: 90.8 MB / 104.5 MB, free: 13.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 221.3 MB / 348.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 95.92 kB / 421.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.502e-05, allocations: 7.984 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 72.3 MB / 0.5603 GB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9138/1.037, allocations: 382.8 MB / 0.9341 GB, free: 90.43 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.037, allocations: 89.52 kB / 0.9342 GB, free: 90.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.132/4.169, allocations: 0.8754 GB / 1.81 GB, free: 85.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/4.169, allocations: 0 / 1.81 GB, free: 85.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002555/4.169, allocations: 45.95 kB / 1.81 GB, free: 85.63 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.004577/4.174, allocations: 1.739 MB / 1.811 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/4.174, allocations: 18.2 kB / 1.811 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003323/4.174, allocations: 142.8 kB / 1.812 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/4.175, allocations: 240.6 kB / 1.812 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/4.179, allocations: 1.7 MB / 1.813 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/4.179, allocations: 78.06 kB / 1.813 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/4.179, allocations: 97.09 kB / 1.814 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/4.181, allocations: 1.018 MB / 1.815 GB, free: 84.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/4.181, allocations: 6.891 kB / 1.815 GB, free: 84.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/4.181, allocations: 41.2 kB / 1.815 GB, free: 84.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/4.181, allocations: 39.94 kB / 1.815 GB, free: 84.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/4.182, allocations: 0.761 MB / 1.815 GB, free: 84.32 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.005055/4.187, allocations: 4.735 MB / 1.82 GB, free: 82.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009158/4.188, allocations: 0.5355 MB / 1.821 GB, free: 82.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/4.189, allocations: 268.4 kB / 1.821 GB, free: 82.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/4.189, allocations: 0.836 MB / 1.822 GB, free: 81.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/4.189, allocations: 44.64 kB / 1.822 GB, free: 81.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/4.189, allocations: 0 / 1.822 GB, free: 81.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.003705/4.193, allocations: 1.041 MB / 1.823 GB, free: 81.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/4.193, allocations: 58.09 kB / 1.823 GB, free: 81.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/4.194, allocations: 1.103 MB / 1.824 GB, free: 81.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/4.195, allocations: 42.27 kB / 1.824 GB, free: 81.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/4.195, allocations: 0.6229 MB / 1.824 GB, free: 80.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/4.195, allocations: 213.1 kB / 1.825 GB, free: 80.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/4.195, allocations: 14.75 kB / 1.825 GB, free: 80.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/4.195, allocations: 329.7 kB / 1.825 GB, free: 80.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/4.196, allocations: 207.5 kB / 1.825 GB, free: 80.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/4.196, allocations: 436.6 kB / 1.826 GB, free: 80.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/4.196, allocations: 270.8 kB / 1.826 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/4.196, allocations: 1.156 kB / 1.826 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003755/4.2, allocations: 1.191 MB / 1.827 GB, free: 80.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002954/4.2, allocations: 1.336 MB / 1.828 GB, free: 78.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/4.201, allocations: 3.625 kB / 1.828 GB, free: 78.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/4.201, allocations: 138.2 kB / 1.828 GB, free: 78.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/4.202, allocations: 154.6 kB / 1.829 GB, free: 78.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005022/4.202, allocations: 0.6849 MB / 1.829 GB, free: 78.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/4.203, allocations: 165.7 kB / 1.829 GB, free: 78.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/4.203, allocations: 34.86 kB / 1.829 GB, free: 78.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/4.203, allocations: 2.812 kB / 1.829 GB, free: 78.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003455/4.207, allocations: 1.04 MB / 1.831 GB, free: 78.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/4.207, allocations: 3.656 kB / 1.831 GB, free: 78.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/4.207, allocations: 128.4 kB / 1.831 GB, free: 78.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/4.208, allocations: 157.2 kB / 1.831 GB, free: 78.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004186/4.208, allocations: 0.6835 MB / 1.831 GB, free: 77.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/4.209, allocations: 152.2 kB / 1.832 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/4.209, allocations: 33.34 kB / 1.832 GB, free: 77.5 MB / 0.6198 GB 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.0001593/4.209, allocations: 146.2 kB / 1.832 GB, free: 77.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/4.21, allocations: 135 kB / 1.832 GB, free: 77.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/4.213, allocations: 1.187 MB / 1.833 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/4.213, allocations: 10.73 kB / 1.833 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/4.213, allocations: 3.594 kB / 1.833 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003324/4.217, allocations: 1.065 MB / 1.834 GB, free: 77.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/4.222, allocations: 2.537 MB / 1.837 GB, free: 76.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/4.222, allocations: 3.156 kB / 1.837 GB, free: 76.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/4.223, allocations: 121.1 kB / 1.837 GB, free: 76.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/4.223, allocations: 126.3 kB / 1.837 GB, free: 76.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/4.223, allocations: 20.66 kB / 1.837 GB, free: 76.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004248/4.223, allocations: 0.6721 MB / 1.837 GB, free: 76.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/4.223, allocations: 6.391 kB / 1.838 GB, free: 76.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/4.227, allocations: 1.792 MB / 1.839 GB, free: 75.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/4.228, allocations: 337.5 kB / 1.84 GB, free: 75.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/4.228, allocations: 17.88 kB / 1.84 GB, free: 75.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/4.229, allocations: 81.75 kB / 1.84 GB, free: 75.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/4.229, allocations: 50.53 kB / 1.84 GB, free: 75.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/4.229, allocations: 37.33 kB / 1.84 GB, free: 75.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001142/4.23, allocations: 0.8823 MB / 1.841 GB, free: 75.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/4.23, allocations: 0 / 1.841 GB, free: 75.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002149/4.233, allocations: 0.7876 MB / 1.841 GB, free: 75.03 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.00568/4.238, allocations: 3.798 MB / 1.845 GB, free: 73.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001616/4.24, allocations: 0.9455 MB / 1.846 GB, free: 73.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/4.24, allocations: 3.375 kB / 1.846 GB, free: 73.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005542/4.24, allocations: 335.3 kB / 1.846 GB, free: 73.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/4.244, allocations: 0.7547 MB / 1.847 GB, free: 73.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/4.247, allocations: 2.098 MB / 1.849 GB, free: 72.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/4.248, allocations: 1.202 MB / 1.85 GB, free: 71.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001497/4.249, allocations: 393.3 kB / 1.851 GB, free: 71.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/4.25, allocations: 0.4899 MB / 1.851 GB, free: 71.64 MB / 0.6198 GB Notification: Performance of SimCode: time 7.42e-07/4.25, allocations: 0 / 1.851 GB, free: 71.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06814/4.318, allocations: 49.65 MB / 1.9 GB, free: 65.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/4.318, allocations: 220.2 kB / 1.9 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/7.907, allocations: 7.938 kB / 1.9 GB, free: 65.64 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)