Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001177/0.001178, allocations: 192.8 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 222 MB, free: 4.754 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.001203/0.001203, allocations: 55.91 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2289, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3637/0.5927, allocations: 141.8 MB / 466.5 MB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.5948, allocations: 1.716 MB / 468.2 MB, free: 1.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.595, allocations: 5.469 kB / 468.3 MB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.5956, allocations: 151.8 kB / 468.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.5961, allocations: 319.8 kB / 468.7 MB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008864/0.597, allocations: 393.2 kB / 469.1 MB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009967/0.598, allocations: 1.299 MB / 470.4 MB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.5982, allocations: 83.09 kB / 470.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.5988, allocations: 355.7 kB / 470.8 MB, free: 1.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.5991, allocations: 344.1 kB / 471.2 MB, free: 1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.5992, allocations: 17.05 kB / 471.2 MB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.5995, allocations: 148.6 kB / 471.3 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.5996, allocations: 81.05 kB / 471.4 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.5999, allocations: 178 kB / 471.6 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.6003, allocations: 475 kB / 472 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6004, allocations: 3.812 kB / 472 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.6004, allocations: 0 / 472 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.6004, allocations: 6.562 kB / 472 MB, free: 0.9688 MB / 382.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.0009566/0.6013, allocations: 0.5905 MB / 472.6 MB, free: 16.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6014, allocations: 7.875 kB / 472.6 MB, free: 16.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.6017, allocations: 49.69 kB / 472.7 MB, free: 16.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.6021, allocations: 280.6 kB / 473 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.6021, allocations: 18.66 kB / 473 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.6022, allocations: 25.03 kB / 473 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.6027, allocations: 305.6 kB / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.6027, allocations: 0 / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.6027, allocations: 15.67 kB / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.6028, allocations: 12.28 kB / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.6031, allocations: 202.7 kB / 473.5 MB, free: 16.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.6047, allocations: 1.291 MB / 474.8 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.6051, allocations: 190.5 kB / 475 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.6052, allocations: 88.06 kB / 475.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.6054, allocations: 175.4 kB / 475.3 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.6054, allocations: 37.34 kB / 475.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.6054, allocations: 1.094 kB / 475.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002391/0.6078, allocations: 1.037 MB / 476.3 MB, free: 14.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.6079, allocations: 60.75 kB / 476.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.6082, allocations: 253.8 kB / 476.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.6082, allocations: 32.3 kB / 476.7 MB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.6083, allocations: 174.8 kB / 476.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.6084, allocations: 97.8 kB / 476.9 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.6085, allocations: 63.86 kB / 477 MB, free: 14.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6086, allocations: 339.5 kB / 477.3 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.6088, allocations: 80.27 kB / 477.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.609, allocations: 180.4 kB / 477.6 MB, free: 13.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.6093, allocations: 286.7 kB / 477.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6093, allocations: 2.188 kB / 477.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005832/0.6099, allocations: 441.7 kB / 478.3 MB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6099, allocations: 10.62 kB / 478.3 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.61, allocations: 2.469 kB / 478.3 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.6101, allocations: 41.88 kB / 478.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.6104, allocations: 79.77 kB / 478.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.6123, allocations: 2.56 MB / 481 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.6125, allocations: 25.64 kB / 481 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.6126, allocations: 14.19 kB / 481 MB, free: 10.87 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.6128, allocations: 159.7 kB / 481.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.6128, allocations: 30.75 kB / 481.2 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.6133, allocations: 363.7 kB / 481.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6134, allocations: 8.297 kB / 481.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6134, allocations: 0 / 481.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000512/0.6139, allocations: 0.6112 MB / 482.2 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009048/0.6148, allocations: 0.7592 MB / 483 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6148, allocations: 1.203 kB / 483 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.6151, allocations: 59.23 kB / 483 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-05/0.6152, allocations: 18.98 kB / 483 MB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.6152, allocations: 9.766 kB / 483 MB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007819/0.616, allocations: 1.278 MB / 484.3 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.616, allocations: 7.156 kB / 484.3 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.6166, allocations: 0.5129 MB / 484.8 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.6167, allocations: 105.2 kB / 484.9 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.6167, allocations: 8.938 kB / 485 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.617, allocations: 12.84 kB / 485 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.617, allocations: 16.62 kB / 485 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.6171, allocations: 20.5 kB / 485 MB, free: 7.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.6172, allocations: 187.8 kB / 485.2 MB, free: 7.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6172, allocations: 0 / 485.2 MB, free: 7.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00047/0.6177, allocations: 106.6 kB / 485.3 MB, free: 7.867 MB / 398.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.6181, allocations: 132.8 kB / 485.4 MB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005977/0.6187, allocations: 451 kB / 485.9 MB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6187, allocations: 0 / 485.9 MB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.6189, allocations: 218.5 kB / 486.1 MB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.6198, allocations: 169.5 kB / 486.2 MB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.621, allocations: 0.7715 MB / 487 MB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.6213, allocations: 0.7634 MB / 487.8 MB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002905/0.6216, allocations: 60.34 kB / 487.8 MB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.6217, allocations: 29.19 kB / 487.9 MB, free: 6.227 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6217, allocations: 0 / 487.9 MB, free: 6.227 MB / 398.1 MB Notification: Performance of Templates: time 0.009578/0.6313, allocations: 5.914 MB / 493.8 MB, free: 5.758 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)