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: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 178.7 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.4979/0.4979, allocations: 90.92 MB / 99.35 MB, free: 2.172 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.324/1.324, allocations: 221.5 MB / 343.2 MB, free: 1.547 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.0009275/0.0009274, allocations: 101 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.562e-05, allocations: 7.984 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 72.31 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9445/1.059, allocations: 382.1 MB / 0.9267 GB, free: 98.96 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.059, allocations: 86.7 kB / 0.9268 GB, free: 98.92 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.111/4.17, allocations: 0.8714 GB / 1.798 GB, free: 90.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/4.17, allocations: 3.594 kB / 1.798 GB, free: 90.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002639/4.17, allocations: 49.14 kB / 1.798 GB, free: 90.21 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.004885/4.175, allocations: 1.72 MB / 1.8 GB, free: 89.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/4.175, allocations: 13.81 kB / 1.8 GB, free: 89.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/4.176, allocations: 244.2 kB / 1.8 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/4.18, allocations: 1.709 MB / 1.802 GB, free: 89.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/4.18, allocations: 29.75 kB / 1.802 GB, free: 89.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/4.181, allocations: 63.44 kB / 1.802 GB, free: 89.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00164/4.182, allocations: 0.6968 MB / 1.803 GB, free: 89.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/4.184, allocations: 0.8817 MB / 1.803 GB, free: 88.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/4.184, allocations: 0 / 1.803 GB, free: 88.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-05/4.184, allocations: 5.406 kB / 1.803 GB, free: 88.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/4.184, allocations: 43.12 kB / 1.804 GB, free: 88.93 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.006923/4.191, allocations: 4.512 MB / 1.808 GB, free: 87.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/4.192, allocations: 0.4904 MB / 1.808 GB, free: 87.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/4.192, allocations: 251.1 kB / 1.809 GB, free: 87.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/4.193, allocations: 0.8295 MB / 1.809 GB, free: 86.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/4.193, allocations: 43.42 kB / 1.809 GB, free: 86.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.535e-06/4.193, allocations: 0 / 1.809 GB, free: 86.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.004046/4.197, allocations: 0.9938 MB / 1.81 GB, free: 85.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/4.197, allocations: 60.81 kB / 1.811 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/4.198, allocations: 0.8885 MB / 1.811 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.978e-05/4.199, allocations: 26.98 kB / 1.811 GB, free: 85.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/4.199, allocations: 0.6354 MB / 1.812 GB, free: 85.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/4.199, allocations: 197.3 kB / 1.812 GB, free: 85.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/4.199, allocations: 2.594 kB / 1.812 GB, free: 85.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/4.199, allocations: 332.7 kB / 1.813 GB, free: 85.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/4.2, allocations: 190.2 kB / 1.813 GB, free: 85.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/4.2, allocations: 417.8 kB / 1.813 GB, free: 84.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/4.201, allocations: 282.1 kB / 1.813 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/4.201, allocations: 0 / 1.813 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003889/4.205, allocations: 1.128 MB / 1.814 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003105/4.205, allocations: 1.41 MB / 1.816 GB, free: 83.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/4.205, allocations: 4.688 kB / 1.816 GB, free: 83.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/4.205, allocations: 109 kB / 1.816 GB, free: 83.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/4.206, allocations: 166.2 kB / 1.816 GB, free: 83.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009691/4.207, allocations: 0.7496 MB / 1.817 GB, free: 82.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/4.208, allocations: 124.8 kB / 1.817 GB, free: 82.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/4.208, allocations: 34.27 kB / 1.817 GB, free: 82.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/4.208, allocations: 8.656 kB / 1.817 GB, free: 82.68 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003563/4.212, allocations: 0.9753 MB / 1.818 GB, free: 82.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/4.212, allocations: 8.688 kB / 1.818 GB, free: 82.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/4.212, allocations: 108.8 kB / 1.818 GB, free: 82.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/4.213, allocations: 158.9 kB / 1.818 GB, free: 82.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008789/4.214, allocations: 0.7532 MB / 1.819 GB, free: 82.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/4.215, allocations: 103.7 kB / 1.819 GB, free: 82.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/4.215, allocations: 38.7 kB / 1.819 GB, free: 82.1 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.0002534/4.215, allocations: 121.5 kB / 1.819 GB, free: 81.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/4.215, allocations: 119.6 kB / 1.819 GB, free: 81.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/4.219, allocations: 1.117 MB / 1.82 GB, free: 81.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/4.219, allocations: 7.094 kB / 1.82 GB, free: 81.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/4.219, allocations: 3.094 kB / 1.82 GB, free: 81.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003325/4.223, allocations: 1.023 MB / 1.821 GB, free: 81.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/4.229, allocations: 2.322 MB / 1.824 GB, free: 81.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/4.229, allocations: 0 / 1.824 GB, free: 81.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/4.229, allocations: 122.3 kB / 1.824 GB, free: 81.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/4.229, allocations: 106 kB / 1.824 GB, free: 81.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/4.229, allocations: 7.266 kB / 1.824 GB, free: 81.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/4.233, allocations: 2.174 MB / 1.826 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/4.233, allocations: 10.02 kB / 1.826 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/4.237, allocations: 1.678 MB / 1.828 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/4.238, allocations: 306.3 kB / 1.828 GB, free: 79.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/4.238, allocations: 13.77 kB / 1.828 GB, free: 79.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/4.239, allocations: 67.7 kB / 1.828 GB, free: 79.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/4.239, allocations: 54.3 kB / 1.828 GB, free: 79.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/4.239, allocations: 32.88 kB / 1.828 GB, free: 79.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001276/4.241, allocations: 0.6879 MB / 1.829 GB, free: 79.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/4.241, allocations: 0 / 1.829 GB, free: 79.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003054/4.244, allocations: 0.7868 MB / 1.83 GB, free: 78.94 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.001597/4.245, allocations: 0.7733 MB / 1.83 GB, free: 78.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002561/4.248, allocations: 1.024 MB / 1.831 GB, free: 78.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/4.248, allocations: 0 / 1.831 GB, free: 78.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/4.249, allocations: 0.4914 MB / 1.832 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/4.252, allocations: 0.563 MB / 1.832 GB, free: 78.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/4.255, allocations: 1.699 MB / 1.834 GB, free: 78.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000856/4.256, allocations: 1.206 MB / 1.835 GB, free: 77.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001732/4.258, allocations: 342 kB / 1.836 GB, free: 77.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/4.258, allocations: 76.58 kB / 1.836 GB, free: 77.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.533e-06/4.258, allocations: 3.188 kB / 1.836 GB, free: 77.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.04101/4.299, allocations: 27.52 MB / 1.862 GB, free: 75.49 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)