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.001128/0.001128, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4941/0.4941, allocations: 92 MB / 108.5 MB, free: 13.08 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.663/1.663, allocations: 223.2 MB / 354.3 MB, free: 10.45 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.001216/0.001216, allocations: 96.22 kB / 427.4 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 15.94 kB / 0.4982 GB, free: 42.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 72.31 MB / 0.5689 GB, free: 1.684 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.352, allocations: 382.8 MB / 0.9427 GB, free: 84.22 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.353, allocations: 95.02 kB / 0.9428 GB, free: 84.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.269/4.622, allocations: 0.8782 GB / 1.821 GB, free: 84.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/4.622, allocations: 0 / 1.821 GB, free: 84.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002479/4.622, allocations: 39.34 kB / 1.821 GB, free: 84.77 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.005624/4.628, allocations: 2.015 MB / 1.823 GB, free: 83.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/4.628, allocations: 7.688 kB / 1.823 GB, free: 83.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/4.629, allocations: 243 kB / 1.823 GB, free: 83.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/4.633, allocations: 1.72 MB / 1.825 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/4.633, allocations: 80.03 kB / 1.825 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/4.634, allocations: 100 kB / 1.825 GB, free: 83.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/4.636, allocations: 1.1 MB / 1.826 GB, free: 83.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/4.637, allocations: 2.906 kB / 1.826 GB, free: 83.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/4.637, allocations: 44.36 kB / 1.826 GB, free: 83.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/4.637, allocations: 44.86 kB / 1.826 GB, free: 83.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/4.639, allocations: 0.9114 MB / 1.827 GB, free: 83.34 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007418/4.646, allocations: 4.734 MB / 1.832 GB, free: 81.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/4.648, allocations: 0.6218 MB / 1.832 GB, free: 81.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/4.648, allocations: 0.8292 MB / 1.833 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/4.648, allocations: 41.78 kB / 1.833 GB, free: 80.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.535e-06/4.648, allocations: 0 / 1.833 GB, free: 80.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.007712/4.656, allocations: 1.94 MB / 1.835 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/4.656, allocations: 62.42 kB / 1.835 GB, free: 80.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/4.658, allocations: 1.12 MB / 1.836 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/4.658, allocations: 36.67 kB / 1.836 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/4.659, allocations: 0.6279 MB / 1.837 GB, free: 79.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/4.659, allocations: 211 kB / 1.837 GB, free: 79.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/4.659, allocations: 16.75 kB / 1.837 GB, free: 79.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/4.659, allocations: 328.2 kB / 1.837 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/4.66, allocations: 277.8 kB / 1.838 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/4.66, allocations: 0.4976 MB / 1.838 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/4.661, allocations: 341.4 kB / 1.838 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/4.661, allocations: 2.719 kB / 1.838 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0049/4.666, allocations: 1.344 MB / 1.84 GB, free: 78.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003649/4.666, allocations: 1.342 MB / 1.841 GB, free: 77.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/4.666, allocations: 3.938 kB / 1.841 GB, free: 77.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007915/4.667, allocations: 172.6 kB / 1.841 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/4.668, allocations: 155.2 kB / 1.841 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000855/4.669, allocations: 0.7397 MB / 1.842 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/4.67, allocations: 157.1 kB / 1.842 GB, free: 77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/4.67, allocations: 36.59 kB / 1.842 GB, free: 77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/4.67, allocations: 3.875 kB / 1.842 GB, free: 77 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004241/4.675, allocations: 1.197 MB / 1.844 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/4.675, allocations: 5.844 kB / 1.844 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/4.675, allocations: 164.2 kB / 1.844 GB, free: 76.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/4.676, allocations: 153.1 kB / 1.844 GB, free: 76.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007316/4.677, allocations: 0.7396 MB / 1.845 GB, free: 76.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/4.678, allocations: 150.9 kB / 1.845 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/4.678, allocations: 37.98 kB / 1.845 GB, free: 76.39 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 () * Number of clocked 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.0009704/4.679, allocations: 420.2 kB / 1.845 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/4.68, allocations: 133.2 kB / 1.845 GB, free: 76.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/4.684, allocations: 1.344 MB / 1.847 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/4.684, allocations: 10.2 kB / 1.847 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/4.684, allocations: 3.5 kB / 1.847 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004004/4.688, allocations: 1.223 MB / 1.848 GB, free: 75.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/4.695, allocations: 2.7 MB / 1.85 GB, free: 75.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/4.695, allocations: 7.797 kB / 1.85 GB, free: 75.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/4.696, allocations: 125.2 kB / 1.851 GB, free: 75.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/4.696, allocations: 151.8 kB / 1.851 GB, free: 75.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/4.696, allocations: 19.03 kB / 1.851 GB, free: 75.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006631/4.697, allocations: 0.7276 MB / 1.851 GB, free: 74.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/4.697, allocations: 7.094 kB / 1.851 GB, free: 74.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/4.702, allocations: 2.018 MB / 1.853 GB, free: 74.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/4.703, allocations: 334.8 kB / 1.854 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/4.703, allocations: 20.56 kB / 1.854 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/4.704, allocations: 81.64 kB / 1.854 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/4.704, allocations: 59.09 kB / 1.854 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/4.704, allocations: 30.5 kB / 1.854 GB, free: 74.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001257/4.706, allocations: 0.8983 MB / 1.855 GB, free: 73.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/4.706, allocations: 0 / 1.855 GB, free: 73.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002455/4.708, allocations: 0.7794 MB / 1.856 GB, free: 73.84 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 () * Number of clocked 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.001762/4.71, allocations: 0.7929 MB / 1.856 GB, free: 73.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002492/4.712, allocations: 1.106 MB / 1.857 GB, free: 73.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/4.712, allocations: 0 / 1.857 GB, free: 73.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008444/4.713, allocations: 409.8 kB / 1.858 GB, free: 73.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/4.716, allocations: 0.746 MB / 1.859 GB, free: 73.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/4.721, allocations: 2.775 MB / 1.861 GB, free: 72.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/4.721, allocations: 1.196 MB / 1.862 GB, free: 71.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00138/4.723, allocations: 300.7 kB / 1.863 GB, free: 71.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/4.723, allocations: 108.4 kB / 1.863 GB, free: 71.39 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/4.723, allocations: 0 / 1.863 GB, free: 71.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.04905/4.772, allocations: 33.15 MB / 1.895 GB, free: 69.09 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)