Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [: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.004113/0.004113, allocations: 174.8 kB / 7.451 MB, free: 2.504 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.518/1.518, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001746/0.001746, allocations: 109.1 kB / 217.7 MB, free: 8.176 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.2464/0.2464, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.042e-05, allocations: 1.125 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 48.7 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.402/1.526, allocations: 407.7 MB / 0.787 GB, free: 118.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004189/1.527, allocations: 92.11 kB / 0.7871 GB, free: 118.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.3124/1.839, allocations: 117.1 MB / 0.9015 GB, free: 37.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001035/1.839, allocations: 20.17 kB / 0.9015 GB, free: 37.75 MB / 426.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.003847/1.843, allocations: 0.9788 MB / 0.9024 GB, free: 36.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.369e-05/1.843, allocations: 8.031 kB / 0.9024 GB, free: 36.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009242/1.844, allocations: 95.05 kB / 0.9025 GB, free: 36.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/1.846, allocations: 0.5481 MB / 0.9031 GB, free: 36.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.846, allocations: 84.39 kB / 0.9031 GB, free: 35.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/1.847, allocations: 28 kB / 0.9032 GB, free: 35.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001128/1.848, allocations: 0.5567 MB / 0.9037 GB, free: 35.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.849, allocations: 0.7384 MB / 0.9044 GB, free: 34.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/1.849, allocations: 7.938 kB / 0.9044 GB, free: 34.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/1.849, allocations: 3.984 kB / 0.9044 GB, free: 34.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/1.849, allocations: 40.98 kB / 0.9045 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004869/1.854, allocations: 3.989 MB / 0.9084 GB, free: 30.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/1.854, allocations: 219.2 kB / 0.9086 GB, free: 30.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/1.854, allocations: 169.5 kB / 0.9088 GB, free: 29.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/1.855, allocations: 352.7 kB / 0.9091 GB, free: 29.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.855, allocations: 34.84 kB / 0.9091 GB, free: 29.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.497e-06/1.855, allocations: 0 / 0.9091 GB, free: 29.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.00324/1.858, allocations: 1.259 MB / 0.9103 GB, free: 28.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.858, allocations: 136.5 kB / 0.9105 GB, free: 27.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/1.859, allocations: 466 kB / 0.9109 GB, free: 27.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/1.859, allocations: 25.7 kB / 0.9109 GB, free: 27.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/1.859, allocations: 323 kB / 0.9113 GB, free: 27.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/1.859, allocations: 142 kB / 0.9114 GB, free: 26.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/1.859, allocations: 3.938 kB / 0.9114 GB, free: 26.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/1.859, allocations: 374.7 kB / 0.9118 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/1.859, allocations: 201.5 kB / 0.9119 GB, free: 26.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/1.86, allocations: 0.514 MB / 0.9124 GB, free: 25.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/1.86, allocations: 336.9 kB / 0.9128 GB, free: 25.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.86, allocations: 4 kB / 0.9128 GB, free: 25.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001737/1.862, allocations: 0.894 MB / 0.9136 GB, free: 24.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.862, allocations: 4 kB / 0.9136 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.862, allocations: 12 kB / 0.9137 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008425/1.863, allocations: 224.8 kB / 0.9139 GB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/1.864, allocations: 131.8 kB / 0.914 GB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/1.864, allocations: 0.884 MB / 0.9149 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/1.865, allocations: 39.97 kB / 0.9149 GB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/1.865, allocations: 35.98 kB / 0.9149 GB, free: 23.13 MB / 426.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.0001628/1.865, allocations: 140.6 kB / 0.9151 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/1.865, allocations: 59.25 kB / 0.9151 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/1.867, allocations: 0.6295 MB / 0.9157 GB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.867, allocations: 4 kB / 0.9157 GB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.867, allocations: 7.953 kB / 0.9158 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/1.867, allocations: 3.984 kB / 0.9158 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/1.869, allocations: 1.48 MB / 0.9172 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.869, allocations: 4 kB / 0.9172 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009026/1.87, allocations: 175.8 kB / 0.9174 GB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/1.87, allocations: 60.8 kB / 0.9174 GB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/1.87, allocations: 15.98 kB / 0.9174 GB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.872, allocations: 2.667 MB / 0.9201 GB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.872, allocations: 4 kB / 0.9201 GB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001369/1.873, allocations: 0.974 MB / 0.921 GB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/1.874, allocations: 188.3 kB / 0.9212 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/1.874, allocations: 11.91 kB / 0.9212 GB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/1.874, allocations: 19.92 kB / 0.9212 GB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/1.874, allocations: 28.02 kB / 0.9212 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.874, allocations: 19.98 kB / 0.9213 GB, free: 16.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004093/1.875, allocations: 338.8 kB / 0.9216 GB, free: 15.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001062/1.876, allocations: 208 kB / 0.9218 GB, free: 15.66 MB / 426.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.0006145/1.877, allocations: 248 kB / 0.922 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009302/1.878, allocations: 0.5437 MB / 0.9226 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.878, allocations: 0 / 0.9226 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/1.879, allocations: 466.1 kB / 0.923 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.88, allocations: 254.8 kB / 0.9232 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/1.882, allocations: 0.9784 MB / 0.9242 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/1.883, allocations: 1.02 MB / 0.9252 GB, free: 12.08 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.883, allocations: 0 / 0.9252 GB, free: 12.08 MB / 426.7 MB Notification: Performance of Templates: time 0.345/2.228, allocations: 12.25 MB / 0.9372 GB, free: 134 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)