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.001511/0.001511, allocations: 197.1 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001126, allocations: 106.2 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4585/0.4585, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4451, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.804, allocations: 0.5111 GB / 1.03 GB, free: 94.75 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.805, allocations: 104.8 kB / 1.03 GB, free: 94.65 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8488/2.654, allocations: 203.6 MB / 1.228 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.004e-06/2.654, allocations: 224 / 1.228 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.624e-05/2.654, allocations: 19.94 kB / 1.228 GB, free: 114.3 MB / 0.5417 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.003448/2.657, allocations: 1.104 MB / 1.23 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/2.657, allocations: 16.03 kB / 1.23 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/2.658, allocations: 135.9 kB / 1.23 GB, free: 113 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/2.66, allocations: 0.5569 MB / 1.23 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/2.66, allocations: 101.7 kB / 1.23 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/2.66, allocations: 55.89 kB / 1.23 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/2.661, allocations: 0.8244 MB / 1.231 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/2.661, allocations: 3.938 kB / 1.231 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/2.662, allocations: 27.98 kB / 1.231 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/2.662, allocations: 40.98 kB / 1.231 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/2.663, allocations: 0.6243 MB / 1.232 GB, free: 110.6 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004444/2.667, allocations: 3.966 MB / 1.236 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/2.668, allocations: 341.6 kB / 1.236 GB, free: 106 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/2.668, allocations: 165.3 kB / 1.236 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/2.668, allocations: 93.39 kB / 1.236 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/2.668, allocations: 42.83 kB / 1.236 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/2.668, allocations: 0 / 1.236 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005871/2.674, allocations: 1.654 MB / 1.238 GB, free: 104 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/2.674, allocations: 140.5 kB / 1.238 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/2.675, allocations: 0.6055 MB / 1.239 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.864e-05/2.675, allocations: 33.7 kB / 1.239 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/2.676, allocations: 366.8 kB / 1.239 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/2.676, allocations: 138.1 kB / 1.239 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/2.676, allocations: 16 kB / 1.239 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001546/2.676, allocations: 374.8 kB / 1.24 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/2.676, allocations: 193.9 kB / 1.24 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/2.677, allocations: 0.5163 MB / 1.24 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/2.678, allocations: 0.733 MB / 1.241 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/2.678, allocations: 4 kB / 1.241 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001524/2.679, allocations: 0.8837 MB / 1.242 GB, free: 99.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/2.679, allocations: 11.94 kB / 1.242 GB, free: 99.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/2.679, allocations: 16.12 kB / 1.242 GB, free: 99.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/2.681, allocations: 312.6 kB / 1.242 GB, free: 99.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/2.681, allocations: 115.8 kB / 1.242 GB, free: 99.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/2.682, allocations: 0.9222 MB / 1.243 GB, free: 98.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/2.683, allocations: 59.88 kB / 1.243 GB, free: 98.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/2.683, allocations: 71.92 kB / 1.243 GB, free: 98.12 MB / 0.5417 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 () * Number of clocked 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.0004706/2.684, allocations: 245.4 kB / 1.244 GB, free: 97.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/2.684, allocations: 67.25 kB / 1.244 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/2.685, allocations: 0.8577 MB / 1.244 GB, free: 96.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/2.685, allocations: 7.938 kB / 1.244 GB, free: 96.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/2.685, allocations: 3.938 kB / 1.244 GB, free: 96.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/2.685, allocations: 8 kB / 1.244 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/2.688, allocations: 1.438 MB / 1.246 GB, free: 95.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/2.688, allocations: 7.969 kB / 1.246 GB, free: 95.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/2.689, allocations: 207.8 kB / 1.246 GB, free: 95.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.565e-05/2.689, allocations: 24.84 kB / 1.246 GB, free: 95.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/2.689, allocations: 19.98 kB / 1.246 GB, free: 95.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/2.69, allocations: 2.684 MB / 1.249 GB, free: 92.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/2.69, allocations: 0 / 1.249 GB, free: 92.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/2.691, allocations: 0.8173 MB / 1.25 GB, free: 91.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/2.692, allocations: 188.2 kB / 1.25 GB, free: 91.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/2.692, allocations: 16 kB / 1.25 GB, free: 91.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/2.692, allocations: 28.03 kB / 1.25 GB, free: 91.03 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/2.693, allocations: 35.97 kB / 1.25 GB, free: 91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/2.693, allocations: 47.91 kB / 1.25 GB, free: 90.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005229/2.693, allocations: 427 kB / 1.25 GB, free: 90.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/2.693, allocations: 4 kB / 1.25 GB, free: 90.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001442/2.695, allocations: 331.8 kB / 1.251 GB, free: 90.21 MB / 0.5417 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 () * Number of clocked 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.001825/2.696, allocations: 0.9482 MB / 1.251 GB, free: 89.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001153/2.698, allocations: 0.5307 MB / 1.252 GB, free: 88.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/2.698, allocations: 0 / 1.252 GB, free: 88.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/2.699, allocations: 419.9 kB / 1.252 GB, free: 88.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/2.701, allocations: 330.5 kB / 1.253 GB, free: 88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/2.703, allocations: 1.566 MB / 1.254 GB, free: 86.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/2.703, allocations: 0.93 MB / 1.255 GB, free: 85.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001295/2.705, allocations: 470.3 kB / 1.256 GB, free: 84.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/2.705, allocations: 107.4 kB / 1.256 GB, free: 84.86 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/2.705, allocations: 0 / 1.256 GB, free: 84.86 MB / 0.5417 GB Notification: Performance of Templates: time 0.03821/2.743, allocations: 26.53 MB / 1.282 GB, free: 58.42 MB / 0.5417 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)