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.002091/0.002091, allocations: 182.1 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.5833/0.5833, allocations: 91.97 MB / 108.5 MB, free: 13.07 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.525/1.525, allocations: 223.2 MB / 354.3 MB, free: 12.23 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.001094/0.001094, allocations: 104.2 kB / 427.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004581, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 72.3 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.259, allocations: 382.8 MB / 0.9428 GB, free: 84.29 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.259, allocations: 93.27 kB / 0.9429 GB, free: 84.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.269/4.528, allocations: 0.878 GB / 1.821 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.357e-06/4.528, allocations: 2.594 kB / 1.821 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003631/4.529, allocations: 45.61 kB / 1.821 GB, free: 85.46 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.007574/4.536, allocations: 2.013 MB / 1.823 GB, free: 84.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/4.536, allocations: 7.75 kB / 1.823 GB, free: 84.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005363/4.537, allocations: 144.7 kB / 1.823 GB, free: 84.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/4.538, allocations: 244.8 kB / 1.823 GB, free: 84.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/4.543, allocations: 1.722 MB / 1.825 GB, free: 84.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/4.543, allocations: 74.81 kB / 1.825 GB, free: 84.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/4.543, allocations: 107.7 kB / 1.825 GB, free: 84.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/4.546, allocations: 1.09 MB / 1.826 GB, free: 84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/4.546, allocations: 5.484 kB / 1.826 GB, free: 83.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/4.546, allocations: 40.28 kB / 1.826 GB, free: 83.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/4.546, allocations: 39.81 kB / 1.826 GB, free: 83.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/4.548, allocations: 0.909 MB / 1.827 GB, free: 83.98 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.007837/4.556, allocations: 4.724 MB / 1.832 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/4.557, allocations: 0.6053 MB / 1.832 GB, free: 82.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/4.558, allocations: 0.8324 MB / 1.833 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/4.558, allocations: 44.19 kB / 1.833 GB, free: 81.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.595e-06/4.558, allocations: 0 / 1.833 GB, free: 81.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.007248/4.565, allocations: 1.838 MB / 1.835 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/4.565, allocations: 63.72 kB / 1.835 GB, free: 80.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/4.567, allocations: 1.108 MB / 1.836 GB, free: 80.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/4.567, allocations: 45.11 kB / 1.836 GB, free: 80.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005816/4.568, allocations: 0.633 MB / 1.837 GB, free: 80.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/4.568, allocations: 197.9 kB / 1.837 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/4.568, allocations: 17.75 kB / 1.837 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001143/4.568, allocations: 335.1 kB / 1.837 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/4.569, allocations: 268.8 kB / 1.838 GB, free: 79.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/4.57, allocations: 0.5004 MB / 1.838 GB, free: 79.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/4.571, allocations: 336.8 kB / 1.838 GB, free: 79.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/4.571, allocations: 3.953 kB / 1.838 GB, free: 79.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004523/4.575, allocations: 1.345 MB / 1.84 GB, free: 79.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000268/4.575, allocations: 1.419 MB / 1.841 GB, free: 78.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/4.575, allocations: 7.062 kB / 1.841 GB, free: 78.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/4.576, allocations: 153.6 kB / 1.841 GB, free: 78.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/4.577, allocations: 163.2 kB / 1.841 GB, free: 78.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006907/4.577, allocations: 0.7066 MB / 1.842 GB, free: 77.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/4.579, allocations: 166.5 kB / 1.842 GB, free: 77.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/4.579, allocations: 40.31 kB / 1.842 GB, free: 77.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/4.579, allocations: 3.969 kB / 1.842 GB, free: 77.54 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004149/4.583, allocations: 1.188 MB / 1.843 GB, free: 77.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/4.583, allocations: 5.312 kB / 1.843 GB, free: 77.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/4.584, allocations: 150.8 kB / 1.844 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/4.584, allocations: 153.5 kB / 1.844 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006622/4.585, allocations: 0.7218 MB / 1.844 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/4.586, allocations: 147.9 kB / 1.845 GB, free: 76.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/4.587, allocations: 38.67 kB / 1.845 GB, free: 76.93 MB / 0.6198 GB 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 () * Number of clocked 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.0008752/4.587, allocations: 419.2 kB / 1.845 GB, free: 76.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/4.588, allocations: 133.3 kB / 1.845 GB, free: 76.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/4.592, allocations: 1.327 MB / 1.846 GB, free: 76.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/4.592, allocations: 6.844 kB / 1.846 GB, free: 76.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/4.592, allocations: 6.375 kB / 1.846 GB, free: 76.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004077/4.596, allocations: 1.212 MB / 1.848 GB, free: 76.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007307/4.604, allocations: 2.671 MB / 1.85 GB, free: 75.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/4.604, allocations: 1.812 kB / 1.85 GB, free: 75.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/4.604, allocations: 124.8 kB / 1.85 GB, free: 75.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/4.605, allocations: 140.5 kB / 1.851 GB, free: 75.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/4.605, allocations: 21.83 kB / 1.851 GB, free: 75.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004564/4.609, allocations: 2.544 MB / 1.853 GB, free: 74.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/4.61, allocations: 5.094 kB / 1.853 GB, free: 74.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/4.615, allocations: 1.998 MB / 1.855 GB, free: 73.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/4.616, allocations: 330.8 kB / 1.855 GB, free: 73.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/4.616, allocations: 18.53 kB / 1.855 GB, free: 73.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009481/4.617, allocations: 80.14 kB / 1.855 GB, free: 73.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/4.617, allocations: 61.86 kB / 1.855 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/4.617, allocations: 30.11 kB / 1.855 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001386/4.619, allocations: 0.8958 MB / 1.856 GB, free: 73.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/4.619, allocations: 0 / 1.856 GB, free: 73.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002205/4.621, allocations: 0.7939 MB / 1.857 GB, free: 73.48 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006491/4.627, allocations: 4.012 MB / 1.861 GB, free: 71.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002246/4.63, allocations: 1.087 MB / 1.862 GB, free: 71.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/4.63, allocations: 3.75 kB / 1.862 GB, free: 71.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/4.631, allocations: 0.5893 MB / 1.863 GB, free: 71.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/4.634, allocations: 0.7581 MB / 1.863 GB, free: 71.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/4.651, allocations: 10.61 MB / 1.874 GB, free: 66.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/4.652, allocations: 1.21 MB / 1.875 GB, free: 65.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001543/4.654, allocations: 307 kB / 1.875 GB, free: 65.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/4.654, allocations: 0.5106 MB / 1.876 GB, free: 65.26 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/4.654, allocations: 6.297 kB / 1.876 GB, free: 65.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07024/4.724, allocations: 47.55 MB / 1.922 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/4.725, allocations: 240.6 kB / 1.922 GB, free: 46.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/8.275, allocations: 0 / 1.922 GB, free: 46.61 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)