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: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008826/0.0008825, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4717/0.4717, allocations: 90.92 MB / 99.35 MB, free: 2.219 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.393/1.393, allocations: 221.5 MB / 343.2 MB, free: 1.543 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.0008326/0.0008325, allocations: 106 kB / 416 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.242e-05/1.243e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 72.31 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.974/1.092, allocations: 382.1 MB / 0.9267 GB, free: 98.97 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.093, allocations: 86.52 kB / 0.9268 GB, free: 98.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.158/4.25, allocations: 0.8716 GB / 1.798 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/4.25, allocations: 0 / 1.798 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002675/4.251, allocations: 35.69 kB / 1.798 GB, free: 89.91 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.004631/4.255, allocations: 1.737 MB / 1.8 GB, free: 89.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/4.255, allocations: 13.28 kB / 1.8 GB, free: 89.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/4.257, allocations: 238.2 kB / 1.8 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/4.26, allocations: 1.702 MB / 1.802 GB, free: 88.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/4.261, allocations: 33.22 kB / 1.802 GB, free: 88.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/4.261, allocations: 59.88 kB / 1.802 GB, free: 88.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/4.262, allocations: 0.7047 MB / 1.803 GB, free: 88.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/4.264, allocations: 0.8854 MB / 1.804 GB, free: 88.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/4.264, allocations: 8.344 kB / 1.804 GB, free: 88.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/4.264, allocations: 0 / 1.804 GB, free: 88.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/4.264, allocations: 41.64 kB / 1.804 GB, free: 88.64 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.005806/4.27, allocations: 4.526 MB / 1.808 GB, free: 86.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/4.271, allocations: 0.4983 MB / 1.809 GB, free: 86.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/4.271, allocations: 256.9 kB / 1.809 GB, free: 86.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/4.271, allocations: 0.8334 MB / 1.81 GB, free: 85.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/4.271, allocations: 42.98 kB / 1.81 GB, free: 85.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.214e-06/4.272, allocations: 1.375 kB / 1.81 GB, free: 85.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.003974/4.275, allocations: 1.004 MB / 1.811 GB, free: 85.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/4.276, allocations: 59.69 kB / 1.811 GB, free: 85.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/4.277, allocations: 0.886 MB / 1.812 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/4.277, allocations: 29.64 kB / 1.812 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/4.278, allocations: 0.6387 MB / 1.812 GB, free: 85.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/4.278, allocations: 199.6 kB / 1.812 GB, free: 85.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/4.278, allocations: 0 / 1.812 GB, free: 85.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/4.278, allocations: 331.4 kB / 1.813 GB, free: 84.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/4.278, allocations: 195.5 kB / 1.813 GB, free: 84.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/4.279, allocations: 417.7 kB / 1.813 GB, free: 84.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/4.279, allocations: 279 kB / 1.814 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/4.279, allocations: 3 kB / 1.814 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003942/4.283, allocations: 1.135 MB / 1.815 GB, free: 84.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003198/4.284, allocations: 1.326 MB / 1.816 GB, free: 83.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/4.284, allocations: 3.938 kB / 1.816 GB, free: 83.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/4.284, allocations: 127.4 kB / 1.816 GB, free: 83.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/4.285, allocations: 164.7 kB / 1.816 GB, free: 83.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005582/4.285, allocations: 0.6964 MB / 1.817 GB, free: 82.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/4.286, allocations: 130.6 kB / 1.817 GB, free: 82.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/4.287, allocations: 30.53 kB / 1.817 GB, free: 82.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/4.287, allocations: 6.219 kB / 1.817 GB, free: 82.48 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003729/4.29, allocations: 0.9858 MB / 1.818 GB, free: 82.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/4.29, allocations: 3.375 kB / 1.818 GB, free: 82.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/4.291, allocations: 123.1 kB / 1.818 GB, free: 82.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/4.291, allocations: 155 kB / 1.818 GB, free: 82.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004951/4.292, allocations: 0.7072 MB / 1.819 GB, free: 81.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/4.293, allocations: 108.8 kB / 1.819 GB, free: 81.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/4.293, allocations: 32.73 kB / 1.819 GB, free: 81.9 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.0002402/4.293, allocations: 125.4 kB / 1.819 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/4.293, allocations: 116.8 kB / 1.819 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/4.298, allocations: 1.115 MB / 1.821 GB, free: 81.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/4.298, allocations: 16.16 kB / 1.821 GB, free: 81.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/4.298, allocations: 3.562 kB / 1.821 GB, free: 81.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003499/4.301, allocations: 1.035 MB / 1.822 GB, free: 81.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/4.307, allocations: 2.359 MB / 1.824 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/4.307, allocations: 3.875 kB / 1.824 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/4.308, allocations: 117.5 kB / 1.824 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/4.308, allocations: 119.8 kB / 1.824 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/4.308, allocations: 10.34 kB / 1.824 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004743/4.309, allocations: 0.6911 MB / 1.825 GB, free: 80.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/4.309, allocations: 6.844 kB / 1.825 GB, free: 80.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/4.313, allocations: 1.694 MB / 1.826 GB, free: 80 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009042/4.314, allocations: 316.6 kB / 1.827 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/4.314, allocations: 11.84 kB / 1.827 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/4.316, allocations: 57.66 kB / 1.827 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/4.316, allocations: 45.86 kB / 1.827 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/4.316, allocations: 34.66 kB / 1.827 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001249/4.317, allocations: 0.6801 MB / 1.828 GB, free: 79.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/4.317, allocations: 3.781 kB / 1.828 GB, free: 79.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00292/4.32, allocations: 0.7802 MB / 1.828 GB, free: 79.57 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.001632/4.322, allocations: 0.7967 MB / 1.829 GB, free: 79.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001988/4.324, allocations: 0.9063 MB / 1.83 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/4.324, allocations: 0 / 1.83 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/4.324, allocations: 321.2 kB / 1.83 GB, free: 79.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/4.327, allocations: 0.5584 MB / 1.831 GB, free: 79.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/4.331, allocations: 1.7 MB / 1.832 GB, free: 78.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/4.332, allocations: 1.201 MB / 1.834 GB, free: 78.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001607/4.334, allocations: 332 kB / 1.834 GB, free: 78.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/4.334, allocations: 77.75 kB / 1.834 GB, free: 78.06 MB / 0.6198 GB Notification: Performance of SimCode: time 1.743e-06/4.334, allocations: 0 / 1.834 GB, free: 78.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.03996/4.374, allocations: 27.7 MB / 1.861 GB, free: 76.3 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)