Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004963, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2448, allocations: 47.58 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4227/0.6676, allocations: 137.2 MB / 463.7 MB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.6705, allocations: 1.935 MB / 465.6 MB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.6709, allocations: 6.031 kB / 465.6 MB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.6717, allocations: 138 kB / 465.8 MB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.6727, allocations: 277.1 kB / 466 MB, free: 2.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.6736, allocations: 275.4 kB / 466.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.6742, allocations: 491 kB / 466.8 MB, free: 2.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.6744, allocations: 65.45 kB / 466.8 MB, free: 2.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.6755, allocations: 443.4 kB / 467.3 MB, free: 2.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.6757, allocations: 173.3 kB / 467.5 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.6758, allocations: 14.09 kB / 467.5 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.676, allocations: 107.2 kB / 467.6 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.6762, allocations: 72.44 kB / 467.6 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.6764, allocations: 87.58 kB / 467.7 MB, free: 18.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.6768, allocations: 393.8 kB / 468.1 MB, free: 18.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.6768, allocations: 0 / 468.1 MB, free: 18.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6768, allocations: 0 / 468.1 MB, free: 18.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.6768, allocations: 0 / 468.1 MB, free: 18.21 MB / 398.1 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.0007759/0.6776, allocations: 0.5228 MB / 468.6 MB, free: 17.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.6777, allocations: 8.531 kB / 468.6 MB, free: 17.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.678, allocations: 43.48 kB / 468.7 MB, free: 17.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.6784, allocations: 277.2 kB / 469 MB, free: 17.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.6784, allocations: 17.88 kB / 469 MB, free: 17.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.6785, allocations: 33.27 kB / 469 MB, free: 17.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.6789, allocations: 312.3 kB / 469.3 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.6789, allocations: 3.5 kB / 469.3 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.679, allocations: 9.625 kB / 469.3 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.679, allocations: 9.359 kB / 469.3 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.6793, allocations: 203.9 kB / 469.5 MB, free: 17.43 MB / 398.1 MB 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.001726/0.681, allocations: 1.578 MB / 471.1 MB, free: 16.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.6813, allocations: 174.6 kB / 471.3 MB, free: 16.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.6813, allocations: 6.094 kB / 471.3 MB, free: 16.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.6813, allocations: 37.81 kB / 471.3 MB, free: 16.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.6813, allocations: 0 / 471.3 MB, free: 16.18 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.00516/0.6865, allocations: 1.632 MB / 473 MB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.6866, allocations: 54.31 kB / 473 MB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.6868, allocations: 254.4 kB / 473.3 MB, free: 15.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.6869, allocations: 31.61 kB / 473.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.687, allocations: 168.5 kB / 473.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.6871, allocations: 103.6 kB / 473.6 MB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.6871, allocations: 6.094 kB / 473.6 MB, free: 15.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6872, allocations: 342.3 kB / 473.9 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.6874, allocations: 95.64 kB / 474 MB, free: 14.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.6876, allocations: 181.6 kB / 474.2 MB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.6877, allocations: 120.4 kB / 474.3 MB, free: 14.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6878, allocations: 0 / 474.3 MB, free: 14.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005643/0.6883, allocations: 396.6 kB / 474.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6884, allocations: 8.344 kB / 474.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6884, allocations: 2.781 kB / 474.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.6886, allocations: 77.53 kB / 474.8 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.6889, allocations: 82.16 kB / 474.8 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.6902, allocations: 1.863 MB / 476.7 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.6905, allocations: 22.44 kB / 476.7 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.6905, allocations: 42.97 kB / 476.8 MB, free: 12.73 MB / 398.1 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 () * Number of clocked 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.000165/0.6907, allocations: 150.2 kB / 476.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.6908, allocations: 31.89 kB / 476.9 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008406/0.6916, allocations: 440 kB / 477.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6916, allocations: 3 kB / 477.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6916, allocations: 0 / 477.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000507/0.6922, allocations: 0.5629 MB / 477.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.693, allocations: 0.7142 MB / 478.6 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.693, allocations: 8.062 kB / 478.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.6933, allocations: 72.5 kB / 478.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.413e-05/0.6934, allocations: 18.58 kB / 478.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.6934, allocations: 18.88 kB / 478.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007877/0.6942, allocations: 1.295 MB / 480.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6942, allocations: 0 / 480.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.6948, allocations: 0.4938 MB / 480.6 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.6949, allocations: 104.3 kB / 480.7 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.695, allocations: 8.125 kB / 480.7 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.6952, allocations: 16.44 kB / 480.7 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.6953, allocations: 27.02 kB / 480.7 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.6953, allocations: 30.09 kB / 480.7 MB, free: 10.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.6955, allocations: 188.5 kB / 480.9 MB, free: 10.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6955, allocations: 5.969 kB / 480.9 MB, free: 10.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000536/0.6961, allocations: 117.9 kB / 481 MB, free: 10.02 MB / 398.1 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 () * Number of clocked 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.0004143/0.6965, allocations: 155.8 kB / 481.2 MB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.6972, allocations: 361.2 kB / 481.5 MB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.6972, allocations: 10.12 kB / 481.6 MB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.6974, allocations: 234 kB / 481.8 MB, free: 9.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.6983, allocations: 161.9 kB / 481.9 MB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.6995, allocations: 0.8369 MB / 482.8 MB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.7, allocations: 0.7711 MB / 483.5 MB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.7006, allocations: 108.9 kB / 483.7 MB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.7008, allocations: 66.7 kB / 483.7 MB, free: 8.449 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7008, allocations: 0 / 483.7 MB, free: 8.449 MB / 398.1 MB Notification: Performance of Templates: time 0.01437/0.7152, allocations: 8.251 MB / 492 MB, free: 6.844 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: