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.001019/0.001019, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4705/0.4705, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.247/1.247, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 100.6 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.884e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6255/0.946, allocations: 382.8 MB / 0.9341 GB, free: 456 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.9463, allocations: 86.58 kB / 0.9342 GB, free: 412 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.067/4.014, allocations: 0.8753 GB / 1.809 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.022e-06/4.014, allocations: 0 / 1.809 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001366/4.014, allocations: 42.64 kB / 1.81 GB, free: 65.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.003279/4.017, allocations: 1.741 MB / 1.811 GB, free: 64.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/4.017, allocations: 14.02 kB / 1.811 GB, free: 64.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/4.017, allocations: 146.4 kB / 1.811 GB, free: 64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/4.018, allocations: 238.1 kB / 1.812 GB, free: 63.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/4.021, allocations: 1.704 MB / 1.813 GB, free: 62.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/4.021, allocations: 77.61 kB / 1.813 GB, free: 62.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/4.022, allocations: 103.9 kB / 1.813 GB, free: 62.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/4.023, allocations: 1.028 MB / 1.814 GB, free: 61.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/4.023, allocations: 0 / 1.814 GB, free: 61.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/4.023, allocations: 36 kB / 1.814 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/4.023, allocations: 43.36 kB / 1.815 GB, free: 61.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/4.025, allocations: 0.7536 MB / 1.815 GB, free: 60.26 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.006233/4.031, allocations: 4.721 MB / 1.82 GB, free: 55.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/4.032, allocations: 0.5247 MB / 1.82 GB, free: 54.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/4.032, allocations: 267.7 kB / 1.821 GB, free: 54.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/4.033, allocations: 0.8305 MB / 1.821 GB, free: 53.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/4.033, allocations: 39.12 kB / 1.821 GB, free: 53.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.816e-06/4.033, allocations: 0 / 1.821 GB, free: 53.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.00381/4.036, allocations: 1.028 MB / 1.822 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/4.037, allocations: 58.44 kB / 1.823 GB, free: 52.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/4.038, allocations: 1.101 MB / 1.824 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/4.038, allocations: 41.7 kB / 1.824 GB, free: 51.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/4.039, allocations: 0.6221 MB / 1.824 GB, free: 50.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/4.039, allocations: 211.4 kB / 1.824 GB, free: 50.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/4.039, allocations: 18.91 kB / 1.824 GB, free: 50.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/4.039, allocations: 333.9 kB / 1.825 GB, free: 50.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/4.039, allocations: 199.9 kB / 1.825 GB, free: 49.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/4.039, allocations: 436.8 kB / 1.825 GB, free: 49.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/4.04, allocations: 269.5 kB / 1.826 GB, free: 49.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/4.04, allocations: 0 / 1.826 GB, free: 49.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003717/4.044, allocations: 1.176 MB / 1.827 GB, free: 47.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002509/4.044, allocations: 1.432 MB / 1.828 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/4.044, allocations: 4 kB / 1.828 GB, free: 46.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/4.044, allocations: 112.7 kB / 1.828 GB, free: 46.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/4.045, allocations: 158 kB / 1.828 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004514/4.045, allocations: 0.668 MB / 1.829 GB, free: 45.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/4.047, allocations: 166.9 kB / 1.829 GB, free: 45.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/4.047, allocations: 35.94 kB / 1.829 GB, free: 45.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/4.047, allocations: 4 kB / 1.829 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003452/4.05, allocations: 1.036 MB / 1.83 GB, free: 44.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/4.05, allocations: 7.875 kB / 1.83 GB, free: 44.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/4.051, allocations: 111.1 kB / 1.83 GB, free: 44.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/4.051, allocations: 163.7 kB / 1.831 GB, free: 43.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004186/4.052, allocations: 0.6561 MB / 1.831 GB, free: 43.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/4.053, allocations: 151.1 kB / 1.831 GB, free: 43.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/4.053, allocations: 31.98 kB / 1.831 GB, free: 43.12 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 () * 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.0002052/4.053, allocations: 152.9 kB / 1.832 GB, free: 42.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/4.054, allocations: 134.4 kB / 1.832 GB, free: 42.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/4.058, allocations: 1.165 MB / 1.833 GB, free: 41.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/4.058, allocations: 8 kB / 1.833 GB, free: 41.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/4.058, allocations: 0 / 1.833 GB, free: 41.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003246/4.061, allocations: 1.057 MB / 1.834 GB, free: 40.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005627/4.066, allocations: 2.507 MB / 1.836 GB, free: 37.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/4.067, allocations: 4.375 kB / 1.836 GB, free: 37.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/4.067, allocations: 135.7 kB / 1.836 GB, free: 37.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/4.067, allocations: 104.8 kB / 1.837 GB, free: 37.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/4.067, allocations: 16 kB / 1.837 GB, free: 37.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/4.07, allocations: 2.238 MB / 1.839 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/4.07, allocations: 4 kB / 1.839 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/4.075, allocations: 1.758 MB / 1.84 GB, free: 33.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000781/4.075, allocations: 339 kB / 1.841 GB, free: 33.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/4.076, allocations: 16 kB / 1.841 GB, free: 33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008217/4.076, allocations: 75.94 kB / 1.841 GB, free: 32.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/4.076, allocations: 64.25 kB / 1.841 GB, free: 32.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/4.077, allocations: 31.92 kB / 1.841 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001234/4.078, allocations: 0.8842 MB / 1.842 GB, free: 31.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/4.078, allocations: 0 / 1.842 GB, free: 31.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001985/4.08, allocations: 0.7954 MB / 1.843 GB, free: 31.15 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.005315/4.085, allocations: 3.779 MB / 1.846 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001506/4.087, allocations: 0.9328 MB / 1.847 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/4.087, allocations: 0 / 1.847 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/4.088, allocations: 0.5217 MB / 1.848 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/4.091, allocations: 0.7427 MB / 1.848 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/4.095, allocations: 2.092 MB / 1.85 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/4.096, allocations: 1.212 MB / 1.852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001616/4.098, allocations: 389.2 kB / 1.852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/4.098, allocations: 499.3 kB / 1.853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/4.098, allocations: 0 / 1.853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4368/4.535, allocations: 49.84 MB / 1.901 GB, free: 74.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/4.535, allocations: 216 kB / 1.901 GB, free: 74.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.404/7.939, allocations: 1.906 kB / 1.901 GB, free: 74.77 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)