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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.6 kB / 8.002 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.4782/0.4782, allocations: 90.91 MB / 99.34 MB, free: 2.18 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.343/1.343, allocations: 221.5 MB / 343.2 MB, free: 1.531 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.001004/0.001004, allocations: 98.34 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.713e-05, allocations: 4 kB / 494.6 MB, free: 52.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 72.31 MB / 0.5536 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.18, allocations: 382.1 MB / 0.9268 GB, free: 98.46 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.18, allocations: 91.19 kB / 0.9269 GB, free: 98.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.032/4.212, allocations: 0.8714 GB / 1.798 GB, free: 90.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/4.212, allocations: 0 / 1.798 GB, free: 90.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001404/4.212, allocations: 37.56 kB / 1.798 GB, free: 90.38 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.003164/4.216, allocations: 1.748 MB / 1.8 GB, free: 89.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/4.216, allocations: 10.56 kB / 1.8 GB, free: 89.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007457/4.216, allocations: 233.9 kB / 1.8 GB, free: 89.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/4.219, allocations: 1.714 MB / 1.802 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/4.219, allocations: 31.25 kB / 1.802 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/4.219, allocations: 61.19 kB / 1.802 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/4.22, allocations: 0.6964 MB / 1.803 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/4.222, allocations: 0.8837 MB / 1.804 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/4.222, allocations: 4.312 kB / 1.804 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/4.222, allocations: 3.531 kB / 1.804 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/4.222, allocations: 38.58 kB / 1.804 GB, free: 89.11 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.004765/4.227, allocations: 4.507 MB / 1.808 GB, free: 87.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/4.227, allocations: 0.4915 MB / 1.808 GB, free: 87.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/4.228, allocations: 251.4 kB / 1.809 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/4.228, allocations: 0.8265 MB / 1.81 GB, free: 86.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/4.228, allocations: 48.86 kB / 1.81 GB, free: 86.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.227e-06/4.228, allocations: 0 / 1.81 GB, free: 86.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.003695/4.232, allocations: 0.9939 MB / 1.811 GB, free: 86.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/4.232, allocations: 59.84 kB / 1.811 GB, free: 86.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/4.233, allocations: 0.8875 MB / 1.811 GB, free: 85.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/4.233, allocations: 29.39 kB / 1.812 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/4.233, allocations: 0.6363 MB / 1.812 GB, free: 85.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/4.234, allocations: 198.3 kB / 1.812 GB, free: 85.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/4.234, allocations: 2.156 kB / 1.812 GB, free: 85.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.923e-05/4.234, allocations: 331.4 kB / 1.813 GB, free: 85.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/4.234, allocations: 192.2 kB / 1.813 GB, free: 85.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/4.234, allocations: 413.4 kB / 1.813 GB, free: 84.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/4.235, allocations: 283.9 kB / 1.813 GB, free: 84.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/4.235, allocations: 0 / 1.813 GB, free: 84.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00373/4.239, allocations: 1.127 MB / 1.815 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/4.239, allocations: 1.413 MB / 1.816 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/4.239, allocations: 4.812 kB / 1.816 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/4.239, allocations: 108 kB / 1.816 GB, free: 83.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/4.24, allocations: 166.6 kB / 1.816 GB, free: 83.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009669/4.241, allocations: 0.7456 MB / 1.817 GB, free: 82.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/4.242, allocations: 130.2 kB / 1.817 GB, free: 82.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/4.242, allocations: 33.56 kB / 1.817 GB, free: 82.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/4.242, allocations: 4.438 kB / 1.817 GB, free: 82.85 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/4.246, allocations: 0.9747 MB / 1.818 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/4.246, allocations: 3.031 kB / 1.818 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/4.246, allocations: 112.8 kB / 1.818 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/4.247, allocations: 155.2 kB / 1.818 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008596/4.247, allocations: 0.7584 MB / 1.819 GB, free: 82.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/4.248, allocations: 108.6 kB / 1.819 GB, free: 82.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/4.249, allocations: 38.33 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.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0002259/4.249, allocations: 123.9 kB / 1.819 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003533/4.252, allocations: 0.9932 MB / 1.82 GB, free: 82.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/4.253, allocations: 122.5 kB / 1.82 GB, free: 81.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/4.256, allocations: 1.108 MB / 1.821 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/4.256, allocations: 6.844 kB / 1.822 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/4.256, allocations: 0 / 1.822 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003333/4.26, allocations: 1.023 MB / 1.823 GB, free: 81.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/4.265, allocations: 2.333 MB / 1.825 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/4.265, allocations: 3.719 kB / 1.825 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/4.266, allocations: 126.4 kB / 1.825 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/4.266, allocations: 99.34 kB / 1.825 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/4.266, allocations: 10.06 kB / 1.825 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/4.269, allocations: 2.172 MB / 1.827 GB, free: 79.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/4.269, allocations: 0 / 1.827 GB, free: 79.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/4.273, allocations: 1.673 MB / 1.829 GB, free: 79.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006044/4.274, allocations: 317.2 kB / 1.829 GB, free: 79.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/4.274, allocations: 10.33 kB / 1.829 GB, free: 79.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/4.275, allocations: 59.77 kB / 1.829 GB, free: 79.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/4.275, allocations: 60.56 kB / 1.829 GB, free: 79.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/4.275, allocations: 42.36 kB / 1.829 GB, free: 79.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000864/4.276, allocations: 0.6772 MB / 1.83 GB, free: 79.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/4.276, allocations: 2.5 kB / 1.83 GB, free: 79.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002063/4.278, allocations: 0.7896 MB / 1.831 GB, free: 78.99 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005549/4.283, allocations: 3.714 MB / 1.834 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002324/4.286, allocations: 1.018 MB / 1.835 GB, free: 77.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/4.286, allocations: 3.656 kB / 1.835 GB, free: 77.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/4.287, allocations: 493.8 kB / 1.836 GB, free: 76.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/4.29, allocations: 0.5657 MB / 1.836 GB, free: 76.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/4.294, allocations: 1.996 MB / 1.838 GB, free: 76.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/4.295, allocations: 1.21 MB / 1.839 GB, free: 75.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001572/4.296, allocations: 331.7 kB / 1.84 GB, free: 75.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/4.297, allocations: 493 kB / 1.84 GB, free: 75.51 MB / 0.6198 GB Notification: Performance of SimCode: time 1.643e-06/4.297, allocations: 1.312 kB / 1.84 GB, free: 75.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/4.367, allocations: 38.66 MB / 1.878 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/4.367, allocations: 175.6 kB / 1.878 GB, free: 72.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/7.352, allocations: 0 / 1.878 GB, free: 72.98 MB / 0.6198 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)