Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008901/0.0008904, allocations: 98.84 kB / 286.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 45.14 MB / 383.7 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.302e-05/1.294e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.541/1.665, allocations: 0.5104 GB / 1.015 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/1.665, allocations: 87.95 kB / 1.015 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7989/2.464, allocations: 202 MB / 1.212 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/2.464, allocations: 3 kB / 1.212 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.733e-05/2.464, allocations: 26.75 kB / 1.212 GB, free: 115.7 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.003135/2.468, allocations: 1.036 MB / 1.213 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/2.468, allocations: 12.23 kB / 1.213 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/2.469, allocations: 135.1 kB / 1.213 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/2.47, allocations: 0.5486 MB / 1.214 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/2.47, allocations: 85.53 kB / 1.214 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/2.47, allocations: 26.16 kB / 1.214 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001099/2.472, allocations: 0.5255 MB / 1.214 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/2.473, allocations: 0.7341 MB / 1.215 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/2.473, allocations: 6.906 kB / 1.215 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/2.473, allocations: 3.688 kB / 1.215 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/2.473, allocations: 37.83 kB / 1.215 GB, free: 114.5 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.004596/2.478, allocations: 3.991 MB / 1.219 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/2.478, allocations: 248.1 kB / 1.219 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/2.478, allocations: 139.1 kB / 1.219 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/2.478, allocations: 83.94 kB / 1.22 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/2.478, allocations: 37.45 kB / 1.22 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/2.478, allocations: 3.469 kB / 1.22 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005306/2.484, allocations: 1.382 MB / 1.221 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/2.484, allocations: 136.1 kB / 1.221 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/2.484, allocations: 462.7 kB / 1.221 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/2.485, allocations: 29.2 kB / 1.222 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/2.485, allocations: 398.4 kB / 1.222 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/2.485, allocations: 118 kB / 1.222 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/2.485, allocations: 0 / 1.222 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001178/2.485, allocations: 371.4 kB / 1.222 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/2.485, allocations: 177.2 kB / 1.223 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/2.486, allocations: 495.6 kB / 1.223 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/2.486, allocations: 297.8 kB / 1.223 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/2.486, allocations: 3.906 kB / 1.223 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001435/2.488, allocations: 0.7947 MB / 1.224 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/2.488, allocations: 11.5 kB / 1.224 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/2.488, allocations: 11.44 kB / 1.224 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/2.489, allocations: 278.5 kB / 1.224 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/2.489, allocations: 121.3 kB / 1.224 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009464/2.49, allocations: 0.945 MB / 1.225 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/2.491, allocations: 35.08 kB / 1.225 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/2.491, allocations: 66.3 kB / 1.225 GB, free: 109.3 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.0002154/2.491, allocations: 134.9 kB / 1.226 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/2.492, allocations: 64.25 kB / 1.226 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/2.493, allocations: 0.5874 MB / 1.226 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/2.493, allocations: 3.875 kB / 1.226 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/2.493, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/2.493, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/2.495, allocations: 0.9836 MB / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/2.495, allocations: 7.438 kB / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/2.496, allocations: 199.4 kB / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/2.496, allocations: 21.86 kB / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/2.496, allocations: 6.594 kB / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/2.497, allocations: 2.591 MB / 1.23 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/2.497, allocations: 0 / 1.23 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/2.498, allocations: 0.6863 MB / 1.231 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/2.499, allocations: 177.3 kB / 1.231 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/2.499, allocations: 3.953 kB / 1.231 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/2.499, allocations: 21.3 kB / 1.231 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/2.5, allocations: 36.33 kB / 1.231 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.743e-05/2.5, allocations: 41.09 kB / 1.231 GB, free: 106 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005631/2.5, allocations: 342.2 kB / 1.231 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/2.5, allocations: 0 / 1.231 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001941/2.502, allocations: 298.4 kB / 1.232 GB, free: 105.9 MB / 0.5261 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.002487/2.505, allocations: 1.06 MB / 1.233 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001185/2.506, allocations: 488.2 kB / 1.233 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/2.506, allocations: 7.625 kB / 1.233 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008155/2.507, allocations: 357.3 kB / 1.233 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/2.508, allocations: 253.9 kB / 1.234 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/2.51, allocations: 0.8674 MB / 1.234 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/2.51, allocations: 0.9412 MB / 1.235 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001107/2.511, allocations: 402.9 kB / 1.236 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/2.512, allocations: 96.78 kB / 1.236 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/2.512, allocations: 0 / 1.236 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.0277/2.539, allocations: 17.62 MB / 1.253 GB, free: 103.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)