Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 175.6 kB / 8.148 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001318, allocations: 90.75 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2603/0.2603, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.15e-05/1.168e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2683, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.903/6.171, allocations: 2.793 GB / 3.259 GB, free: 113 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003931/6.172, allocations: 99.27 kB / 3.259 GB, free: 113 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124/8.296, allocations: 499 MB / 3.746 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.028e-05/8.296, allocations: 17.89 kB / 3.746 GB, free: 69.92 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007406/8.304, allocations: 1.704 MB / 3.748 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/8.304, allocations: 7.625 kB / 3.748 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/8.306, allocations: 243 kB / 3.748 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/8.308, allocations: 0.5808 MB / 3.748 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/8.308, allocations: 91.28 kB / 3.749 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/8.309, allocations: 33.47 kB / 3.749 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001752/8.31, allocations: 0.6415 MB / 3.749 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/8.312, allocations: 0.8866 MB / 3.75 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/8.312, allocations: 0 / 3.75 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/8.312, allocations: 3.938 kB / 3.75 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/8.312, allocations: 55.55 kB / 3.75 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2215/8.534, allocations: 67.62 MB / 3.816 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/8.535, allocations: 227.7 kB / 3.816 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/8.535, allocations: 154.3 kB / 3.817 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3559/8.891, allocations: 47.21 MB / 3.863 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/8.891, allocations: 37.06 kB / 3.863 GB, free: 138 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 3.967e-06/8.891, allocations: 0 / 3.863 GB, free: 138 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.005388/8.896, allocations: 1.377 MB / 3.864 GB, free: 137.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/8.896, allocations: 132 kB / 3.864 GB, free: 137.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/8.897, allocations: 0.4956 MB / 3.865 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/8.897, allocations: 25.7 kB / 3.865 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/8.898, allocations: 416.4 kB / 3.865 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/8.898, allocations: 132.6 kB / 3.865 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/8.898, allocations: 0 / 3.865 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/8.898, allocations: 342.7 kB / 3.865 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/8.899, allocations: 231.1 kB / 3.866 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/8.899, allocations: 0.5866 MB / 3.866 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/8.9, allocations: 335.3 kB / 3.867 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/8.901, allocations: 7.469 kB / 3.867 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003289/8.904, allocations: 1.005 MB / 3.868 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/8.904, allocations: 6.031 kB / 3.868 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/8.904, allocations: 14.5 kB / 3.868 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/8.904, allocations: 69.14 kB / 3.868 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/8.907, allocations: 276.6 kB / 3.868 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/8.909, allocations: 2.028 MB / 3.87 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/8.91, allocations: 42.38 kB / 3.87 GB, free: 134.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/8.91, allocations: 39.28 kB / 3.87 GB, free: 134.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002253/8.91, allocations: 71.86 kB / 3.87 GB, free: 134.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008288/8.911, allocations: 207.3 kB / 3.87 GB, free: 134.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/8.914, allocations: 1.683 MB / 3.872 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/8.914, allocations: 15.12 kB / 3.872 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/8.914, allocations: 2.469 kB / 3.872 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/8.914, allocations: 7.125 kB / 3.872 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/8.918, allocations: 2.536 MB / 3.874 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/8.918, allocations: 2.875 kB / 3.874 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/8.92, allocations: 162 kB / 3.875 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/8.921, allocations: 118.2 kB / 3.875 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/8.921, allocations: 3.562 kB / 3.875 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/8.923, allocations: 2.125 MB / 3.877 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/8.923, allocations: 0.5625 kB / 3.877 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003516/8.927, allocations: 1.969 MB / 3.879 GB, free: 131.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/8.927, allocations: 213.4 kB / 3.879 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/8.927, allocations: 6.656 kB / 3.879 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/8.928, allocations: 24.38 kB / 3.879 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/8.928, allocations: 28.5 kB / 3.879 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/8.928, allocations: 14.75 kB / 3.879 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0006525/8.929, allocations: 364.7 kB / 3.879 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00566/8.935, allocations: 1.116 MB / 3.88 GB, free: 131.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01047/8.945, allocations: 1.739 MB / 3.882 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003542/8.949, allocations: 1.105 MB / 3.883 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/8.949, allocations: 0 / 3.883 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/8.951, allocations: 0.8528 MB / 3.884 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/8.954, allocations: 264.4 kB / 3.884 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/8.958, allocations: 1.582 MB / 3.886 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009094/8.958, allocations: 1.122 MB / 3.887 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/8.958, allocations: 0 / 3.887 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.06995/9.028, allocations: 37.98 MB / 3.924 GB, free: 128.4 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)