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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009343/0.0009341, allocations: 87.88 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.355e-05, allocations: 0 / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1545, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.433/1.587, allocations: 0.51 GB / 1.012 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.588, allocations: 91.94 kB / 1.012 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7162/2.304, allocations: 203.6 MB / 1.211 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/2.304, allocations: 3.906 kB / 1.211 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.729e-05/2.304, allocations: 14.78 kB / 1.211 GB, free: 122.8 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002499/2.307, allocations: 1.035 MB / 1.212 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/2.307, allocations: 10.5 kB / 1.212 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/2.308, allocations: 142 kB / 1.212 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/2.309, allocations: 0.5347 MB / 1.212 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/2.309, allocations: 106 kB / 1.212 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/2.309, allocations: 49.81 kB / 1.212 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/2.31, allocations: 0.8093 MB / 1.213 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/2.31, allocations: 3.422 kB / 1.213 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/2.31, allocations: 18.62 kB / 1.213 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/2.31, allocations: 50.52 kB / 1.213 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/2.311, allocations: 0.5994 MB / 1.214 GB, free: 121 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/2.315, allocations: 3.933 MB / 1.218 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/2.316, allocations: 324 kB / 1.218 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/2.316, allocations: 163.4 kB / 1.218 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/2.316, allocations: 94.3 kB / 1.218 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/2.316, allocations: 38.38 kB / 1.218 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.996e-06/2.316, allocations: 3.938 kB / 1.218 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.004941/2.321, allocations: 1.507 MB / 1.22 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/2.321, allocations: 131.6 kB / 1.22 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/2.322, allocations: 0.5345 MB / 1.22 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/2.322, allocations: 41.52 kB / 1.221 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/2.322, allocations: 370.1 kB / 1.221 GB, free: 116 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/2.322, allocations: 147.8 kB / 1.221 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/2.322, allocations: 12 kB / 1.221 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001085/2.322, allocations: 381.6 kB / 1.221 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/2.322, allocations: 187.5 kB / 1.222 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/2.323, allocations: 0.5014 MB / 1.222 GB, free: 115 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/2.323, allocations: 296.2 kB / 1.222 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.323, allocations: 3.906 kB / 1.222 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00116/2.325, allocations: 0.8483 MB / 1.223 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/2.325, allocations: 9.219 kB / 1.223 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/2.325, allocations: 11.94 kB / 1.223 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/2.326, allocations: 317.9 kB / 1.223 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/2.326, allocations: 116.6 kB / 1.224 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008818/2.327, allocations: 0.9267 MB / 1.225 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/2.328, allocations: 39.53 kB / 1.225 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/2.328, allocations: 72.5 kB / 1.225 GB, free: 113.8 MB / 0.5261 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.000148/2.328, allocations: 152.5 kB / 1.225 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/2.328, allocations: 68.69 kB / 1.225 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/2.329, allocations: 0.8539 MB / 1.226 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/2.33, allocations: 3.938 kB / 1.226 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.33, allocations: 0 / 1.226 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/2.33, allocations: 3.797 kB / 1.226 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/2.331, allocations: 1.436 MB / 1.227 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/2.331, allocations: 2.375 kB / 1.227 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000998/2.332, allocations: 217.6 kB / 1.227 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.718e-05/2.332, allocations: 23.89 kB / 1.227 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/2.332, allocations: 23.12 kB / 1.227 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/2.334, allocations: 2.681 MB / 1.23 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.334, allocations: 3.938 kB / 1.23 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/2.335, allocations: 0.8683 MB / 1.231 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/2.335, allocations: 191.2 kB / 1.231 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/2.335, allocations: 15.81 kB / 1.231 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/2.336, allocations: 27.33 kB / 1.231 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/2.336, allocations: 51.19 kB / 1.231 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/2.336, allocations: 43.17 kB / 1.231 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004493/2.336, allocations: 425.2 kB / 1.232 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.336, allocations: 0 / 1.232 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001299/2.338, allocations: 320.8 kB / 1.232 GB, free: 108.4 MB / 0.5261 GB 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 (39): * Single equations (assignments): 37 * 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.001517/2.339, allocations: 0.9224 MB / 1.233 GB, free: 108 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001006/2.34, allocations: 0.5339 MB / 1.233 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.34, allocations: 0.5 kB / 1.233 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008047/2.341, allocations: 401.3 kB / 1.234 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/2.343, allocations: 338.6 kB / 1.234 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/2.344, allocations: 0.9497 MB / 1.235 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/2.344, allocations: 0.9416 MB / 1.236 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001071/2.345, allocations: 457.9 kB / 1.236 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/2.346, allocations: 106 kB / 1.236 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.213e-06/2.346, allocations: 0 / 1.236 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.03518/2.381, allocations: 28.22 MB / 1.264 GB, free: 79.27 MB / 0.5261 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)