Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002887/0.002886, allocations: 171.5 kB / 7.638 MB, free: 1.418 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.629/1.629, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001796/0.001796, allocations: 107.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.049e-05, allocations: 8 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09508, allocations: 38.78 MB / 301 MB, free: 3.602 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/1.54, allocations: 427.4 MB / 0.7113 GB, free: 102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.541, allocations: 85.42 kB / 0.7114 GB, free: 102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5621/2.103, allocations: 141.5 MB / 0.8496 GB, free: 65.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/2.103, allocations: 0.75 kB / 0.8496 GB, free: 65.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.855e-05/2.103, allocations: 6.297 kB / 0.8496 GB, free: 65.64 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009476/2.104, allocations: 0.6025 MB / 0.8501 GB, free: 65.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/2.104, allocations: 6.562 kB / 0.8502 GB, free: 65.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/2.104, allocations: 46.8 kB / 0.8502 GB, free: 65.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/2.105, allocations: 280.5 kB / 0.8505 GB, free: 65.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/2.105, allocations: 9.188 kB / 0.8505 GB, free: 65.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/2.105, allocations: 14.59 kB / 0.8505 GB, free: 65.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000349/2.105, allocations: 180.1 kB / 0.8507 GB, free: 65.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/2.106, allocations: 275.1 kB / 0.8509 GB, free: 64.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/2.106, allocations: 4.062 kB / 0.8509 GB, free: 64.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/2.106, allocations: 2.969 kB / 0.8509 GB, free: 64.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/2.106, allocations: 7.312 kB / 0.8509 GB, free: 64.98 MB / 346.7 MB 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.001664/2.107, allocations: 1.553 MB / 0.8525 GB, free: 63.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/2.108, allocations: 138.5 kB / 0.8526 GB, free: 63.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/2.108, allocations: 77.39 kB / 0.8527 GB, free: 63.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/2.108, allocations: 2.969 kB / 0.8527 GB, free: 63.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/2.108, allocations: 37.62 kB / 0.8527 GB, free: 63.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/2.108, allocations: 1.062 kB / 0.8527 GB, free: 63.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.003837/2.112, allocations: 0.9942 MB / 0.8537 GB, free: 63.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/2.112, allocations: 56.78 kB / 0.8537 GB, free: 63.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/2.112, allocations: 203.5 kB / 0.8539 GB, free: 63.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/2.112, allocations: 28.39 kB / 0.8539 GB, free: 63.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/2.112, allocations: 183.5 kB / 0.8541 GB, free: 63.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/2.112, allocations: 85.06 kB / 0.8542 GB, free: 63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/2.112, allocations: 1.031 kB / 0.8542 GB, free: 63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/2.112, allocations: 335.1 kB / 0.8545 GB, free: 62.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/2.112, allocations: 81.36 kB / 0.8546 GB, free: 62.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/2.113, allocations: 173.9 kB / 0.8548 GB, free: 62.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/2.113, allocations: 110.7 kB / 0.8549 GB, free: 62.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.113, allocations: 1.5 kB / 0.8549 GB, free: 62.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006494/2.114, allocations: 352.8 kB / 0.8552 GB, free: 62.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/2.114, allocations: 13.66 kB / 0.8552 GB, free: 62.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/2.114, allocations: 3.031 kB / 0.8552 GB, free: 62.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/2.114, allocations: 63.64 kB / 0.8553 GB, free: 62.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/2.114, allocations: 87.03 kB / 0.8554 GB, free: 62.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/2.115, allocations: 1.81 MB / 0.8571 GB, free: 60.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/2.116, allocations: 15.64 kB / 0.8571 GB, free: 60.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/2.116, allocations: 36.75 kB / 0.8572 GB, free: 60.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001091/2.116, allocations: 124 kB / 0.8573 GB, free: 60.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/2.116, allocations: 24.75 kB / 0.8573 GB, free: 60.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/2.117, allocations: 339.2 kB / 0.8577 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/2.117, allocations: 2.906 kB / 0.8577 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/2.117, allocations: 1.125 kB / 0.8577 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004402/2.117, allocations: 0.5524 MB / 0.8582 GB, free: 60.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/2.118, allocations: 0.6556 MB / 0.8588 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/2.118, allocations: 0 / 0.8588 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/2.118, allocations: 69.06 kB / 0.8589 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.944e-05/2.118, allocations: 22.45 kB / 0.8589 GB, free: 59.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/2.118, allocations: 19.16 kB / 0.8589 GB, free: 59.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000599/2.119, allocations: 1.233 MB / 0.8601 GB, free: 58.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.119, allocations: 0 / 0.8601 GB, free: 58.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/2.119, allocations: 473.5 kB / 0.8606 GB, free: 58.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/2.12, allocations: 100.9 kB / 0.8607 GB, free: 58.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/2.12, allocations: 0 / 0.8607 GB, free: 58.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/2.12, allocations: 14.59 kB / 0.8607 GB, free: 58.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/2.12, allocations: 36.33 kB / 0.8607 GB, free: 58.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/2.12, allocations: 32 kB / 0.8608 GB, free: 58.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001224/2.12, allocations: 157.8 kB / 0.8609 GB, free: 58.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.12, allocations: 2.625 kB / 0.8609 GB, free: 58.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007108/2.121, allocations: 152.8 kB / 0.8611 GB, free: 58.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/2.122, allocations: 0.8954 MB / 0.8619 GB, free: 58.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005585/2.123, allocations: 346.9 kB / 0.8623 GB, free: 58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/2.123, allocations: 0 / 0.8623 GB, free: 58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/2.123, allocations: 220.4 kB / 0.8625 GB, free: 57.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/2.124, allocations: 123.3 kB / 0.8626 GB, free: 57.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008161/2.125, allocations: 485.1 kB / 0.8631 GB, free: 57.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/2.125, allocations: 0.7717 MB / 0.8638 GB, free: 57.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005135/2.125, allocations: 107.4 kB / 0.8639 GB, free: 57.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/2.126, allocations: 74.05 kB / 0.864 GB, free: 57.01 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/2.126, allocations: 0 / 0.864 GB, free: 57.01 MB / 346.7 MB Notification: Performance of Templates: time 0.0164/2.142, allocations: 11.23 MB / 0.875 GB, free: 56.64 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)