Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") [: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/Annex60 1.0.0/package.mo): time 0.3013/0.3013, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001116/0.001116, allocations: 181.8 kB / 75.37 MB, free: 1.539 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.362/1.362, allocations: 194.2 MB / 283.2 MB, free: 3.484 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001905/0.001905, allocations: 116.2 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.524e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 57.65 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.935/1.073, allocations: 292.7 MB / 0.7376 GB, free: 97.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000424/1.073, allocations: 77.45 kB / 0.7377 GB, free: 97.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.1328/1.206, allocations: 65.29 MB / 0.8014 GB, free: 34.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.662e-05/1.206, allocations: 12 kB / 0.8014 GB, free: 34.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001441/1.208, allocations: 0.5925 MB / 0.802 GB, free: 34.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.511e-05/1.208, allocations: 15.91 kB / 0.802 GB, free: 34.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/1.209, allocations: 79.53 kB / 0.8021 GB, free: 33.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/1.209, allocations: 282.5 kB / 0.8024 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/1.209, allocations: 4 kB / 0.8024 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/1.21, allocations: 16 kB / 0.8024 GB, free: 33.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004246/1.21, allocations: 173 kB / 0.8025 GB, free: 33.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/1.21, allocations: 288.4 kB / 0.8028 GB, free: 33.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/1.21, allocations: 4 kB / 0.8028 GB, free: 33.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/1.211, allocations: 0 / 0.8028 GB, free: 33.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/1.211, allocations: 15.89 kB / 0.8028 GB, free: 33.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/1.213, allocations: 1.628 MB / 0.8044 GB, free: 31.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/1.213, allocations: 126.2 kB / 0.8046 GB, free: 31.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.213, allocations: 73.23 kB / 0.8046 GB, free: 31.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/1.213, allocations: 8.172 kB / 0.8046 GB, free: 31.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/1.213, allocations: 38.69 kB / 0.8047 GB, free: 31.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/1.213, allocations: 0 / 0.8047 GB, free: 31.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.00255/1.216, allocations: 0.8332 MB / 0.8055 GB, free: 30.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/1.216, allocations: 55.41 kB / 0.8055 GB, free: 30.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/1.216, allocations: 207.1 kB / 0.8057 GB, free: 29.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.216, allocations: 25.7 kB / 0.8058 GB, free: 29.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/1.216, allocations: 171.7 kB / 0.8059 GB, free: 29.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/1.216, allocations: 98.58 kB / 0.806 GB, free: 29.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/1.216, allocations: 0 / 0.806 GB, free: 29.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/1.216, allocations: 330.8 kB / 0.8063 GB, free: 29.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/1.216, allocations: 83.94 kB / 0.8064 GB, free: 29.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/1.216, allocations: 157.4 kB / 0.8066 GB, free: 29.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/1.217, allocations: 95.97 kB / 0.8067 GB, free: 28.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.217, allocations: 0 / 0.8067 GB, free: 28.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008304/1.217, allocations: 389.8 kB / 0.807 GB, free: 28.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.217, allocations: 8 kB / 0.807 GB, free: 28.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.217, allocations: 0 / 0.807 GB, free: 28.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/1.218, allocations: 129 kB / 0.8072 GB, free: 28.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/1.218, allocations: 67.89 kB / 0.8072 GB, free: 28.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/1.221, allocations: 1.876 MB / 0.8091 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/1.221, allocations: 27.97 kB / 0.8091 GB, free: 26.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/1.221, allocations: 12 kB / 0.8091 GB, free: 26.3 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001847/1.222, allocations: 125.7 kB / 0.8092 GB, free: 26.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/1.222, allocations: 23.72 kB / 0.8092 GB, free: 26.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.604e-05/1.222, allocations: 30.73 kB / 0.8093 GB, free: 26.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.222, allocations: 7.984 kB / 0.8093 GB, free: 26.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.222, allocations: 0 / 0.8093 GB, free: 26.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007121/1.222, allocations: 0.5902 MB / 0.8098 GB, free: 25.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/1.224, allocations: 0.7292 MB / 0.8106 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.224, allocations: 4.031 kB / 0.8106 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/1.224, allocations: 39.97 kB / 0.8106 GB, free: 24.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/1.224, allocations: 124.7 kB / 0.8107 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.224, allocations: 3.938 kB / 0.8107 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/1.226, allocations: 1.779 MB / 0.8125 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.227, allocations: 4.125 kB / 0.8125 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008562/1.227, allocations: 0.5534 MB / 0.813 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/1.227, allocations: 104.8 kB / 0.8131 GB, free: 21.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/1.228, allocations: 8.062 kB / 0.8131 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/1.228, allocations: 11.98 kB / 0.8131 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/1.228, allocations: 15.89 kB / 0.8131 GB, free: 21.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/1.228, allocations: 15.98 kB / 0.8132 GB, free: 21.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000135/1.228, allocations: 161.9 kB / 0.8133 GB, free: 21.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006688/1.229, allocations: 99.98 kB / 0.8134 GB, free: 21.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/1.229, allocations: 165.1 kB / 0.8136 GB, free: 21.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008853/1.23, allocations: 361.5 kB / 0.8139 GB, free: 21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.23, allocations: 7.938 kB / 0.8139 GB, free: 21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005063/1.23, allocations: 246.4 kB / 0.8141 GB, free: 20.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/1.231, allocations: 116.9 kB / 0.8143 GB, free: 20.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.232, allocations: 455.6 kB / 0.8147 GB, free: 20.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/1.233, allocations: 0.8 MB / 0.8155 GB, free: 19.32 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/1.233, allocations: 4 kB / 0.8155 GB, free: 19.32 MB / 490.7 MB Notification: Performance of Templates: time 0.0116/1.244, allocations: 6.35 MB / 0.8217 GB, free: 12.98 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)