Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0012/0.0012, allocations: 108 kB / 16.51 MB, free: 6.715 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.001034/0.001034, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.352/1.352, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001118/0.001118, allocations: 43.94 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.085/0.08613, allocations: 46.62 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2943/0.3805, allocations: 141.9 MB / 467.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.3828, allocations: 1.709 MB / 469.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.383, allocations: 4 kB / 469.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.3836, allocations: 151.2 kB / 469.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.3841, allocations: 322.4 kB / 470 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009267/0.385, allocations: 388.2 kB / 470.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3862, allocations: 1.305 MB / 471.7 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.3864, allocations: 87.66 kB / 471.8 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.3869, allocations: 346.7 kB / 472.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.3873, allocations: 350.7 kB / 472.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3873, allocations: 20 kB / 472.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.3876, allocations: 143.7 kB / 472.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3878, allocations: 83.77 kB / 472.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.3879, allocations: 167.3 kB / 472.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.3884, allocations: 492 kB / 473.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3884, allocations: 0 / 473.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3884, allocations: 0 / 473.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3884, allocations: 0 / 473.3 MB, free: 4.145 MB / 366.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.0008191/0.3893, allocations: 0.5948 MB / 473.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3893, allocations: 8.031 kB / 473.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3896, allocations: 44.56 kB / 474 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.3899, allocations: 283.8 kB / 474.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3899, allocations: 24.88 kB / 474.3 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.39, allocations: 24.38 kB / 474.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.3904, allocations: 297.7 kB / 474.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3905, allocations: 0 / 474.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.3905, allocations: 16 kB / 474.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3905, allocations: 4 kB / 474.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.3908, allocations: 206.1 kB / 474.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.3924, allocations: 1.293 MB / 476.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.3929, allocations: 186.6 kB / 476.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.393, allocations: 100.8 kB / 476.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.3932, allocations: 170.2 kB / 476.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3932, allocations: 42.48 kB / 476.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.3932, allocations: 0 / 476.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002444/0.3957, allocations: 1.03 MB / 477.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.3957, allocations: 55.41 kB / 477.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.396, allocations: 254.6 kB / 477.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.396, allocations: 29.7 kB / 478 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3961, allocations: 184.1 kB / 478.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.3962, allocations: 86.66 kB / 478.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3963, allocations: 73.47 kB / 478.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3964, allocations: 342.8 kB / 478.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3966, allocations: 79.97 kB / 478.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3968, allocations: 175.8 kB / 478.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.3971, allocations: 287.8 kB / 479.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3972, allocations: 0 / 479.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005947/0.3978, allocations: 443.7 kB / 479.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3978, allocations: 11.98 kB / 479.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3978, allocations: 7.938 kB / 479.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.3979, allocations: 42.11 kB / 479.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.3983, allocations: 75.84 kB / 479.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.4001, allocations: 2.566 MB / 482.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4003, allocations: 24.25 kB / 482.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.4003, allocations: 15.98 kB / 482.3 MB, free: 10.33 MB / 382.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.0001518/0.4005, allocations: 157.7 kB / 482.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.4006, allocations: 27.62 kB / 482.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.4011, allocations: 372.8 kB / 482.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4011, allocations: 0 / 482.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.4011, allocations: 0 / 482.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005464/0.4017, allocations: 0.611 MB / 483.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.4026, allocations: 0.7664 MB / 484.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4026, allocations: 0 / 484.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.4029, allocations: 55.97 kB / 484.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-05/0.403, allocations: 16.84 kB / 484.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.403, allocations: 4 kB / 484.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008143/0.4039, allocations: 1.288 MB / 485.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4039, allocations: 0 / 485.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.4045, allocations: 0.5185 MB / 486.1 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.4046, allocations: 100.8 kB / 486.2 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.4046, allocations: 8 kB / 486.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.4049, allocations: 15.98 kB / 486.3 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.405, allocations: 24.03 kB / 486.3 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.405, allocations: 11.98 kB / 486.3 MB, free: 5.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.4052, allocations: 182 kB / 486.5 MB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4052, allocations: 3.938 kB / 486.5 MB, free: 5.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.4056, allocations: 111.9 kB / 486.6 MB, free: 5.652 MB / 382.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.0003095/0.4059, allocations: 139.1 kB / 486.7 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.4066, allocations: 453.1 kB / 487.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4066, allocations: 0 / 487.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.4069, allocations: 215.4 kB / 487.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.4078, allocations: 168.3 kB / 487.5 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.409, allocations: 0.7636 MB / 488.3 MB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4093, allocations: 0.7723 MB / 489.1 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.4096, allocations: 58.89 kB / 489.1 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.4097, allocations: 31.42 kB / 489.2 MB, free: 2.973 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4097, allocations: 0 / 489.2 MB, free: 2.973 MB / 382.1 MB Notification: Performance of Templates: time 0.01055/0.4202, allocations: 5.906 MB / 495.1 MB, free: 13.08 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)