Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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/Complex 3.2.1+maint.om/package.mo): time 0.006535/0.006535, allocations: 176 kB / 7.451 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.536/1.536, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001749/0.001749, allocations: 117.1 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2299/0.2299, allocations: 37.96 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.303e-05, allocations: 1.062 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 48.69 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.927/7.079, allocations: 2.84 GB / 3.229 GB, free: 1.242 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/7.08, allocations: 91.94 kB / 3.229 GB, free: 1.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.913/11.99, allocations: 1.094 GB / 4.323 GB, free: 52.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001429/11.99, allocations: 18.73 kB / 4.323 GB, free: 52.94 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.01161/12, allocations: 1.577 MB / 4.324 GB, free: 51.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/12, allocations: 12.03 kB / 4.324 GB, free: 51.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/12.01, allocations: 90.53 kB / 4.325 GB, free: 51.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/12.01, allocations: 0.5429 MB / 4.325 GB, free: 50.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/12.01, allocations: 87.59 kB / 4.325 GB, free: 50.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/12.01, allocations: 32 kB / 4.325 GB, free: 50.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001513/12.01, allocations: 0.5569 MB / 4.326 GB, free: 50.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/12.01, allocations: 0.7347 MB / 4.326 GB, free: 49.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/12.01, allocations: 7.938 kB / 4.326 GB, free: 49.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/12.01, allocations: 4 kB / 4.326 GB, free: 49.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.561e-05/12.01, allocations: 40.84 kB / 4.326 GB, free: 49.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006781/12.02, allocations: 3.985 MB / 4.33 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/12.02, allocations: 226.8 kB / 4.331 GB, free: 45.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/12.02, allocations: 165.7 kB / 4.331 GB, free: 45.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005271/12.02, allocations: 349.3 kB / 4.331 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/12.02, allocations: 42.75 kB / 4.331 GB, free: 44.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.246e-06/12.02, allocations: 0 / 4.331 GB, free: 44.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.0044/12.02, allocations: 1.255 MB / 4.332 GB, free: 43.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/12.02, allocations: 132.5 kB / 4.332 GB, free: 43.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008206/12.03, allocations: 460 kB / 4.333 GB, free: 43.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/12.03, allocations: 25.7 kB / 4.333 GB, free: 43.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/12.03, allocations: 330 kB / 4.333 GB, free: 42.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/12.03, allocations: 137.2 kB / 4.333 GB, free: 42.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/12.03, allocations: 0 / 4.333 GB, free: 42.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/12.03, allocations: 375.1 kB / 4.334 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/12.03, allocations: 201.7 kB / 4.334 GB, free: 42.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/12.03, allocations: 0.5168 MB / 4.334 GB, free: 41.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008393/12.03, allocations: 339.7 kB / 4.335 GB, free: 41.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/12.03, allocations: 0 / 4.335 GB, free: 41.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002353/12.03, allocations: 0.8953 MB / 4.336 GB, free: 40.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/12.03, allocations: 4 kB / 4.336 GB, free: 40.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/12.03, allocations: 12.91 kB / 4.336 GB, free: 40.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/12.03, allocations: 225.7 kB / 4.336 GB, free: 40.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/12.03, allocations: 139.2 kB / 4.336 GB, free: 40.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/12.03, allocations: 0.8783 MB / 4.337 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/12.03, allocations: 43.52 kB / 4.337 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-05/12.03, allocations: 35.47 kB / 4.337 GB, free: 39.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002394/12.03, allocations: 141.8 kB / 4.337 GB, free: 39.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/12.03, allocations: 63.25 kB / 4.337 GB, free: 39.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/12.04, allocations: 0.6148 MB / 4.338 GB, free: 38.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/12.04, allocations: 9.625 kB / 4.338 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/12.04, allocations: 0 / 4.338 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/12.04, allocations: 3.906 kB / 4.338 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/12.04, allocations: 1.494 MB / 4.339 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/12.04, allocations: 0 / 4.339 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/12.04, allocations: 186.7 kB / 4.339 GB, free: 37.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/12.04, allocations: 54.48 kB / 4.339 GB, free: 36.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/12.04, allocations: 11.61 kB / 4.339 GB, free: 36.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/12.04, allocations: 2.673 MB / 4.342 GB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/12.04, allocations: 4.062 kB / 4.342 GB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002047/12.05, allocations: 0.973 MB / 4.343 GB, free: 33.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/12.05, allocations: 190.2 kB / 4.343 GB, free: 33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/12.05, allocations: 7.469 kB / 4.343 GB, free: 33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/12.05, allocations: 23.38 kB / 4.343 GB, free: 32.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/12.05, allocations: 30.77 kB / 4.343 GB, free: 32.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/12.05, allocations: 18.86 kB / 4.343 GB, free: 32.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000559/12.05, allocations: 331 kB / 4.344 GB, free: 32.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001781/12.05, allocations: 227.6 kB / 4.344 GB, free: 32.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/12.05, allocations: 410.6 kB / 4.344 GB, free: 32.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001356/12.05, allocations: 0.5468 MB / 4.345 GB, free: 31.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/12.05, allocations: 0 / 4.345 GB, free: 31.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/12.05, allocations: 465.9 kB / 4.345 GB, free: 31.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/12.06, allocations: 272.9 kB / 4.345 GB, free: 30.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/12.06, allocations: 0.9683 MB / 4.346 GB, free: 30.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/12.06, allocations: 1.015 MB / 4.347 GB, free: 29.15 MB / 442.7 MB Notification: Performance of SimCode: time 2.886e-06/12.06, allocations: 0 / 4.347 GB, free: 29.15 MB / 442.7 MB Notification: Performance of Templates: time 0.03616/12.1, allocations: 13.11 MB / 4.36 GB, free: 17.82 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)