Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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 3.2.1+maint.om/package.mo): time 0.003358/0.003358, allocations: 176.7 kB / 7.452 MB, free: 2.508 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.437/1.437, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001874/0.001874, allocations: 112.5 kB / 217.7 MB, free: 8.215 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.2074/0.2074, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.148e-05, allocations: 1.531 kB / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.496/1.636, allocations: 0.496 GB / 0.8849 GB, free: 62.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/1.636, allocations: 93.77 kB / 0.885 GB, free: 61.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.8443/2.48, allocations: 216.8 MB / 1.097 GB, free: 13.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.966e-05/2.481, allocations: 16 kB / 1.097 GB, free: 13.84 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.005011/2.486, allocations: 1.112 MB / 1.098 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.344e-05/2.486, allocations: 8.031 kB / 1.098 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/2.487, allocations: 131 kB / 1.098 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/2.489, allocations: 0.5678 MB / 1.099 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/2.49, allocations: 80.41 kB / 1.099 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/2.49, allocations: 28 kB / 1.099 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001408/2.491, allocations: 0.5333 MB / 1.099 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/2.493, allocations: 0.7345 MB / 1.1 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/2.493, allocations: 7.938 kB / 1.1 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/2.493, allocations: 4 kB / 1.1 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/2.493, allocations: 36.98 kB / 1.1 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008052/2.501, allocations: 4.017 MB / 1.104 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/2.502, allocations: 206.3 kB / 1.104 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/2.502, allocations: 129.3 kB / 1.104 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/2.503, allocations: 24.88 kB / 1.104 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/2.503, allocations: 38.8 kB / 1.104 GB, free: 5.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 7.734e-06/2.503, allocations: 3.938 kB / 1.104 GB, free: 5.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.01084/2.514, allocations: 1.415 MB / 1.106 GB, free: 4.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/2.514, allocations: 136.5 kB / 1.106 GB, free: 4.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009685/2.515, allocations: 474.2 kB / 1.106 GB, free: 3.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/2.515, allocations: 25.7 kB / 1.106 GB, free: 3.605 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/2.515, allocations: 350.7 kB / 1.107 GB, free: 3.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/2.515, allocations: 118.3 kB / 1.107 GB, free: 3.141 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/2.515, allocations: 0 / 1.107 GB, free: 3.141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/2.515, allocations: 370.8 kB / 1.107 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/2.516, allocations: 181.5 kB / 1.107 GB, free: 2.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/2.517, allocations: 0.5198 MB / 1.108 GB, free: 1.914 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/2.518, allocations: 339.4 kB / 1.108 GB, free: 1.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/2.518, allocations: 8 kB / 1.108 GB, free: 1.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002608/2.52, allocations: 0.8337 MB / 1.109 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/2.521, allocations: 7.938 kB / 1.109 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/2.521, allocations: 12 kB / 1.109 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/2.522, allocations: 268.7 kB / 1.109 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/2.523, allocations: 131.8 kB / 1.109 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2855/2.809, allocations: 0.9368 MB / 1.11 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/2.81, allocations: 37.2 kB / 1.11 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/2.81, allocations: 65.41 kB / 1.11 GB, free: 111 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/2.81, allocations: 137.9 kB / 1.11 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/2.81, allocations: 58.16 kB / 1.11 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/2.812, allocations: 0.5519 MB / 1.111 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/2.812, allocations: 3.938 kB / 1.111 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/2.812, allocations: 4.375 kB / 1.111 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/2.812, allocations: 3.516 kB / 1.111 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/2.813, allocations: 0.975 MB / 1.112 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/2.813, allocations: 0 / 1.112 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/2.814, allocations: 190.7 kB / 1.112 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/2.814, allocations: 22.77 kB / 1.112 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/2.814, allocations: 15.12 kB / 1.112 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/2.816, allocations: 2.57 MB / 1.115 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.816, allocations: 5.531 kB / 1.115 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009713/2.817, allocations: 0.6865 MB / 1.115 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/2.817, allocations: 172.8 kB / 1.116 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/2.817, allocations: 0 / 1.116 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/2.818, allocations: 22.31 kB / 1.116 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/2.818, allocations: 29.19 kB / 1.116 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/2.818, allocations: 36.38 kB / 1.116 GB, free: 107.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004192/2.818, allocations: 348.8 kB / 1.116 GB, free: 107.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001538/2.82, allocations: 341.6 kB / 1.116 GB, free: 107.8 MB / 426.7 MB 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 (33): * Single equations (assignments): 31 * 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.002137/2.822, allocations: 1.195 MB / 1.117 GB, free: 107.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009947/2.823, allocations: 490.9 kB / 1.118 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/2.823, allocations: 1.719 kB / 1.118 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/2.824, allocations: 393.3 kB / 1.118 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/2.825, allocations: 231.4 kB / 1.118 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/2.833, allocations: 2.342 MB / 1.121 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/2.834, allocations: 1.069 MB / 1.122 GB, free: 106.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.314e-06/2.834, allocations: 1.594 kB / 1.122 GB, free: 106.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03689/2.871, allocations: 19.34 MB / 1.141 GB, free: 106.2 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)