Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.924/1.924, allocations: 387.2 MB / 394.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 185.2 kB / 487 MB, free: 5.305 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.3 MB / 0.7819 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008728, allocations: 101.9 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.52e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2254, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8445/1.07, allocations: 449.3 MB / 1.644 GB, free: 6.684 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.07, allocations: 83.19 kB / 1.644 GB, free: 6.637 MB / 1.073 GB Notification: Performance of FrontEnd: time 0.7257/1.796, allocations: 85.97 MB / 1.728 GB, free: 316.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.796, allocations: 3.844 kB / 1.728 GB, free: 316.9 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002561/1.799, allocations: 0.7353 MB / 1.729 GB, free: 316.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.799, allocations: 8.406 kB / 1.729 GB, free: 316.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/1.799, allocations: 22.7 kB / 1.729 GB, free: 316.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/1.799, allocations: 215 kB / 1.729 GB, free: 316.3 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/1.799, allocations: 7.156 kB / 1.729 GB, free: 316.3 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/1.799, allocations: 7.062 kB / 1.729 GB, free: 316.3 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004159/1.8, allocations: 414.6 kB / 1.729 GB, free: 316.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/1.8, allocations: 214.3 kB / 1.73 GB, free: 316.2 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.8, allocations: 3.844 kB / 1.73 GB, free: 316.2 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/1.8, allocations: 0 / 1.73 GB, free: 316.2 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/1.8, allocations: 7.312 kB / 1.73 GB, free: 316.2 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/1.801, allocations: 0.9715 MB / 1.731 GB, free: 315.5 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/1.801, allocations: 143.7 kB / 1.731 GB, free: 315.5 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/1.801, allocations: 49.23 kB / 1.731 GB, free: 315.5 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.802, allocations: 1.968 MB / 1.733 GB, free: 313.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/1.802, allocations: 37.34 kB / 1.733 GB, free: 313.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/1.802, allocations: 3.469 kB / 1.733 GB, free: 313.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0004606/1.803, allocations: 135.3 kB / 1.733 GB, free: 313.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/1.803, allocations: 57.62 kB / 1.733 GB, free: 313.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/1.803, allocations: 132.2 kB / 1.733 GB, free: 313.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/1.803, allocations: 25.7 kB / 1.733 GB, free: 313.2 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/1.803, allocations: 143.8 kB / 1.733 GB, free: 313.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/1.803, allocations: 48.33 kB / 1.733 GB, free: 313 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/1.803, allocations: 1.594 kB / 1.733 GB, free: 313 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 4.877e-05/1.803, allocations: 327.1 kB / 1.734 GB, free: 312.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/1.803, allocations: 32.81 kB / 1.734 GB, free: 312.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/1.803, allocations: 134.4 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/1.803, allocations: 77.17 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.803, allocations: 0 / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004389/1.804, allocations: 200.9 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.804, allocations: 7.344 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.804, allocations: 7.875 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.804, allocations: 7.594 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.804, allocations: 61.73 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.804, allocations: 11.91 kB / 1.734 GB, free: 312.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/1.804, allocations: 27.22 kB / 1.734 GB, free: 312.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/1.804, allocations: 14.97 kB / 1.734 GB, free: 312.5 MB / 1.135 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/1.804, allocations: 110.9 kB / 1.734 GB, free: 312.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/1.804, allocations: 19.03 kB / 1.734 GB, free: 312.4 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/1.805, allocations: 184.4 kB / 1.734 GB, free: 312.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.805, allocations: 3.656 kB / 1.734 GB, free: 312.4 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.805, allocations: 0 / 1.734 GB, free: 312.4 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.805, allocations: 0 / 1.734 GB, free: 312.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/1.805, allocations: 190.5 kB / 1.735 GB, free: 312.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.805, allocations: 2.25 kB / 1.735 GB, free: 312.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/1.805, allocations: 29.72 kB / 1.735 GB, free: 312.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/1.805, allocations: 0 / 1.735 GB, free: 312.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.805, allocations: 7.469 kB / 1.735 GB, free: 312.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.805, allocations: 7.844 kB / 1.735 GB, free: 312.2 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.805, allocations: 1.406 kB / 1.735 GB, free: 312.2 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003736/1.806, allocations: 232.1 kB / 1.735 GB, free: 312.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/1.806, allocations: 128.6 kB / 1.735 GB, free: 312 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/1.806, allocations: 0 / 1.735 GB, free: 312 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/1.806, allocations: 18.39 kB / 1.735 GB, free: 312 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/1.806, allocations: 11.7 kB / 1.735 GB, free: 312 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.806, allocations: 14.98 kB / 1.735 GB, free: 312 MB / 1.135 GB Notification: Performance of sort global known variables: time 3.997e-05/1.806, allocations: 108.6 kB / 1.735 GB, free: 311.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0004111/1.806, allocations: 77.28 kB / 1.735 GB, free: 311.9 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002837/1.807, allocations: 244.4 kB / 1.735 GB, free: 311.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0001952/1.807, allocations: 110.2 kB / 1.736 GB, free: 311.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.807, allocations: 0 / 1.736 GB, free: 311.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/1.807, allocations: 43.73 kB / 1.736 GB, free: 311.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/1.807, allocations: 30.11 kB / 1.736 GB, free: 311.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/1.808, allocations: 170.9 kB / 1.736 GB, free: 311.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/1.808, allocations: 0.7457 MB / 1.737 GB, free: 311 MB / 1.135 GB Notification: Performance of SimCode: time 2.7e-07/1.808, allocations: 0 / 1.737 GB, free: 311 MB / 1.135 GB Notification: Performance of Templates: time 0.005959/1.814, allocations: 3.832 MB / 1.74 GB, free: 310.9 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches