Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [: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 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 178.5 kB / 8.519 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.4 MB / 230.3 MB, free: 7.738 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.0009271, allocations: 96.66 kB / 281.2 MB, free: 5.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.14 MB / 376.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.026e-05, allocations: 224 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 61.91 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.413/1.573, allocations: 0.5093 GB / 1.003 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.573, allocations: 95.88 kB / 1.003 GB, free: 97.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.7188/2.292, allocations: 202.2 MB / 1.201 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.971e-05/2.292, allocations: 19.94 kB / 1.201 GB, free: 94.62 MB / 0.5105 GB 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.002689/2.295, allocations: 1.041 MB / 1.202 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/2.295, allocations: 12.03 kB / 1.202 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/2.296, allocations: 139 kB / 1.202 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009686/2.297, allocations: 0.5401 MB / 1.203 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/2.297, allocations: 84.39 kB / 1.203 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/2.297, allocations: 31.91 kB / 1.203 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008227/2.298, allocations: 0.5372 MB / 1.203 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/2.299, allocations: 0.7518 MB / 1.204 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/2.299, allocations: 0 / 1.204 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/2.299, allocations: 4 kB / 1.204 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-05/2.299, allocations: 40.92 kB / 1.204 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/2.303, allocations: 4.086 MB / 1.208 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/2.303, allocations: 198.4 kB / 1.208 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/2.303, allocations: 145.2 kB / 1.208 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/2.303, allocations: 89.25 kB / 1.208 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/2.303, allocations: 42.7 kB / 1.208 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/2.303, allocations: 0 / 1.208 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004934/2.308, allocations: 1.383 MB / 1.21 GB, free: 85.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/2.308, allocations: 132.5 kB / 1.21 GB, free: 84.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/2.309, allocations: 462.1 kB / 1.21 GB, free: 84.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/2.309, allocations: 25.7 kB / 1.21 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/2.309, allocations: 342.7 kB / 1.211 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/2.309, allocations: 118.3 kB / 1.211 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/2.309, allocations: 0 / 1.211 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001227/2.309, allocations: 374.8 kB / 1.211 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/2.31, allocations: 185.5 kB / 1.211 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/2.31, allocations: 497 kB / 1.212 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/2.311, allocations: 320.1 kB / 1.212 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/2.311, allocations: 4 kB / 1.212 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001336/2.312, allocations: 0.8023 MB / 1.213 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/2.312, allocations: 5.25 kB / 1.213 GB, free: 81.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/2.312, allocations: 16.09 kB / 1.213 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/2.313, allocations: 283.5 kB / 1.213 GB, free: 81.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/2.314, allocations: 119.8 kB / 1.213 GB, free: 81.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009948/2.315, allocations: 0.9663 MB / 1.214 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/2.315, allocations: 31.91 kB / 1.214 GB, free: 80.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/2.315, allocations: 68 kB / 1.214 GB, free: 80.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.315, allocations: 132.8 kB / 1.215 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/2.316, allocations: 59.33 kB / 1.215 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/2.317, allocations: 0.7382 MB / 1.215 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/2.317, allocations: 4 kB / 1.215 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/2.317, allocations: 4 kB / 1.215 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/2.317, allocations: 3.984 kB / 1.215 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/2.318, allocations: 0.9922 MB / 1.216 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/2.318, allocations: 0 / 1.216 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/2.319, allocations: 187.8 kB / 1.216 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-05/2.319, allocations: 24.84 kB / 1.216 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/2.319, allocations: 15.98 kB / 1.216 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/2.321, allocations: 2.576 MB / 1.219 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.321, allocations: 0 / 1.219 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008002/2.322, allocations: 0.6936 MB / 1.22 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/2.322, allocations: 180.2 kB / 1.22 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/2.322, allocations: 0 / 1.22 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/2.322, allocations: 15.98 kB / 1.22 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/2.322, allocations: 35.94 kB / 1.22 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/2.322, allocations: 39.97 kB / 1.22 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003244/2.323, allocations: 342.9 kB / 1.22 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001138/2.324, allocations: 295.8 kB / 1.221 GB, free: 73.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * 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): 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/2.325, allocations: 1.072 MB / 1.222 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008213/2.326, allocations: 498.3 kB / 1.222 GB, free: 72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/2.326, allocations: 6 kB / 1.222 GB, free: 72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/2.327, allocations: 397.6 kB / 1.222 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/2.328, allocations: 234 kB / 1.223 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/2.33, allocations: 0.8799 MB / 1.224 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/2.331, allocations: 1.089 MB / 1.225 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/2.331, allocations: 0 / 1.225 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.02601/2.357, allocations: 18.84 MB / 1.243 GB, free: 50.65 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)