Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.005202/0.005202, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001084/0.001084, allocations: 186.7 kB / 16.67 MB, free: 5.422 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.335/1.335, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.001796/0.001796, allocations: 55.92 kB / 326.6 MB, free: 3.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1099, allocations: 46.62 MB / 373.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3636/0.4735, allocations: 144 MB / 0.5051 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.4771, allocations: 1.726 MB / 0.5068 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.4774, allocations: 11.94 kB / 0.5068 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006906/0.4782, allocations: 176.9 kB / 0.507 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006241/0.4788, allocations: 330.2 kB / 0.5073 GB, free: 13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4799, allocations: 414.2 kB / 0.5077 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.481, allocations: 0.8407 MB / 0.5085 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.4813, allocations: 104.7 kB / 0.5086 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008167/0.4821, allocations: 398.6 kB / 0.509 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.4827, allocations: 322.9 kB / 0.5093 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.4828, allocations: 32 kB / 0.5093 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.4832, allocations: 135.7 kB / 0.5094 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.4834, allocations: 99.7 kB / 0.5095 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.4837, allocations: 183.3 kB / 0.5097 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.4844, allocations: 491.8 kB / 0.5102 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4844, allocations: 0 / 0.5102 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4844, allocations: 3.938 kB / 0.5102 GB, free: 10.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4845, allocations: 3.984 kB / 0.5102 GB, free: 10.02 MB / 446.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.001111/0.4856, allocations: 0.5893 MB / 0.5108 GB, free: 9.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4856, allocations: 16.03 kB / 0.5108 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.4861, allocations: 44.55 kB / 0.5108 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.4867, allocations: 287.7 kB / 0.5111 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.4867, allocations: 20.94 kB / 0.5111 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.4868, allocations: 24.38 kB / 0.5111 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.4875, allocations: 307 kB / 0.5114 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.4875, allocations: 4 kB / 0.5114 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.4876, allocations: 8 kB / 0.5114 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4876, allocations: 8 kB / 0.5115 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.4881, allocations: 206.1 kB / 0.5116 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.4903, allocations: 1.289 MB / 0.5129 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.4909, allocations: 198.6 kB / 0.5131 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.4911, allocations: 88.83 kB / 0.5132 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.4913, allocations: 170.2 kB / 0.5133 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4913, allocations: 34.56 kB / 0.5134 GB, free: 6.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 2.465e-06/0.4913, allocations: 0 / 0.5134 GB, free: 6.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.003408/0.4947, allocations: 1.034 MB / 0.5144 GB, free: 5.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.4948, allocations: 59.34 kB / 0.5144 GB, free: 5.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.4952, allocations: 262.5 kB / 0.5147 GB, free: 5.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.4953, allocations: 29.7 kB / 0.5147 GB, free: 4.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4954, allocations: 184.2 kB / 0.5149 GB, free: 4.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.4955, allocations: 90.66 kB / 0.515 GB, free: 4.699 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4957, allocations: 61.7 kB / 0.515 GB, free: 4.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4959, allocations: 334.8 kB / 0.5154 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.4961, allocations: 87.89 kB / 0.5154 GB, free: 4.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.4964, allocations: 179.7 kB / 0.5156 GB, free: 3.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.497, allocations: 291.8 kB / 0.5159 GB, free: 3.664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.497, allocations: 0 / 0.5159 GB, free: 3.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009073/0.4979, allocations: 440.1 kB / 0.5163 GB, free: 3.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4979, allocations: 8.062 kB / 0.5163 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4979, allocations: 4 kB / 0.5163 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.4982, allocations: 41.7 kB / 0.5164 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.4986, allocations: 79.89 kB / 0.5164 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.5015, allocations: 2.768 MB / 0.5191 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.5018, allocations: 8 kB / 0.5192 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.5019, allocations: 16.05 kB / 0.5192 GB, free: 15.99 MB / 462.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.0002405/0.5021, allocations: 157.8 kB / 0.5193 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5022, allocations: 35.59 kB / 0.5194 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.5029, allocations: 350.8 kB / 0.5197 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.503, allocations: 4 kB / 0.5197 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.503, allocations: 0 / 0.5197 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006997/0.5037, allocations: 0.6268 MB / 0.5203 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.5052, allocations: 0.7553 MB / 0.521 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5052, allocations: 4 kB / 0.521 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.5056, allocations: 55.89 kB / 0.5211 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-05/0.5057, allocations: 24.88 kB / 0.5211 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.5057, allocations: 8 kB / 0.5211 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.507, allocations: 1.386 MB / 0.5225 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.507, allocations: 0 / 0.5225 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.5077, allocations: 0.5109 MB / 0.523 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.5078, allocations: 100.9 kB / 0.5231 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.5079, allocations: 7.938 kB / 0.5231 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.5081, allocations: 11.98 kB / 0.5231 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.5081, allocations: 11.98 kB / 0.5231 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.5082, allocations: 15.98 kB / 0.5231 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.5084, allocations: 186 kB / 0.5233 GB, free: 11.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5084, allocations: 0 / 0.5233 GB, free: 11.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.5088, allocations: 107.9 kB / 0.5234 GB, free: 11.23 MB / 462.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.0002697/0.5091, allocations: 143.2 kB / 0.5235 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.5097, allocations: 453.7 kB / 0.524 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5098, allocations: 4.062 kB / 0.524 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.51, allocations: 214.6 kB / 0.5242 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.5109, allocations: 164.4 kB / 0.5243 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5121, allocations: 0.6791 MB / 0.525 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.5126, allocations: 0.7645 MB / 0.5257 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.5128, allocations: 58.88 kB / 0.5258 GB, free: 8.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.5129, allocations: 27.44 kB / 0.5258 GB, free: 8.656 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5129, allocations: 0 / 0.5258 GB, free: 8.656 MB / 462.1 MB Notification: Performance of Templates: time 0.01117/0.5241, allocations: 6.214 MB / 0.5319 GB, free: 2.438 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)