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.00116/0.00116, allocations: 105.6 kB / 17.06 MB, free: 6.117 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.001234/0.001234, allocations: 195 kB / 18 MB, free: 5.191 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.32/1.32, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001226/0.001226, allocations: 51.92 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0842/0.08543, allocations: 46.62 MB / 374.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3289/0.4144, allocations: 144 MB / 0.5064 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.4169, allocations: 1.722 MB / 0.5081 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.4172, allocations: 4 kB / 0.5081 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.418, allocations: 182.8 kB / 0.5083 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007594/0.4188, allocations: 326.2 kB / 0.5086 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4198, allocations: 426.8 kB / 0.509 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.4209, allocations: 0.8407 MB / 0.5098 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.4211, allocations: 92.67 kB / 0.5099 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007447/0.4219, allocations: 410.6 kB / 0.5103 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.4225, allocations: 319.4 kB / 0.5106 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.4226, allocations: 32 kB / 0.5106 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.423, allocations: 135.7 kB / 0.5107 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4232, allocations: 91.78 kB / 0.5108 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.4234, allocations: 191.2 kB / 0.511 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.4241, allocations: 491.8 kB / 0.5115 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4241, allocations: 9.438 kB / 0.5115 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4241, allocations: 0 / 0.5115 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.4241, allocations: 4 kB / 0.5115 GB, free: 10.06 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.001011/0.4251, allocations: 0.5855 MB / 0.5121 GB, free: 9.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4252, allocations: 8.031 kB / 0.5121 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.4255, allocations: 40.56 kB / 0.5121 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.4261, allocations: 303.7 kB / 0.5124 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4261, allocations: 16.94 kB / 0.5124 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.4262, allocations: 24.38 kB / 0.5124 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.4267, allocations: 297.7 kB / 0.5127 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4267, allocations: 7.922 kB / 0.5127 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.4268, allocations: 12 kB / 0.5127 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4268, allocations: 8 kB / 0.5127 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.4271, allocations: 202.2 kB / 0.5129 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.4288, allocations: 1.297 MB / 0.5142 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.4292, allocations: 182.6 kB / 0.5144 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.4294, allocations: 92.83 kB / 0.5145 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.4296, allocations: 170.2 kB / 0.5146 GB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4296, allocations: 42.5 kB / 0.5147 GB, free: 6.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.4296, allocations: 0 / 0.5147 GB, free: 6.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002414/0.432, allocations: 1.038 MB / 0.5157 GB, free: 5.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4321, allocations: 59.34 kB / 0.5157 GB, free: 5.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.4324, allocations: 262.5 kB / 0.516 GB, free: 5.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4324, allocations: 29.7 kB / 0.516 GB, free: 5.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4325, allocations: 176.2 kB / 0.5162 GB, free: 4.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.4326, allocations: 86.66 kB / 0.5163 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4327, allocations: 69.69 kB / 0.5163 GB, free: 4.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4329, allocations: 338.8 kB / 0.5167 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.433, allocations: 83.97 kB / 0.5167 GB, free: 4.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.4332, allocations: 171.8 kB / 0.5169 GB, free: 4.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.4336, allocations: 292.4 kB / 0.5172 GB, free: 3.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4336, allocations: 0 / 0.5172 GB, free: 3.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006417/0.4343, allocations: 443.8 kB / 0.5176 GB, free: 3.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4343, allocations: 8 kB / 0.5176 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4344, allocations: 4 kB / 0.5176 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.4345, allocations: 37.98 kB / 0.5177 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.4349, allocations: 86.14 kB / 0.5177 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.4369, allocations: 2.769 MB / 0.5204 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.4371, allocations: 12.81 kB / 0.5204 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.4371, allocations: 12 kB / 0.5205 GB, free: 40 kB / 446.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.000186/0.4373, allocations: 161.6 kB / 0.5206 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.4374, allocations: 23.72 kB / 0.5206 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/0.438, allocations: 358.8 kB / 0.521 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.438, allocations: 3.984 kB / 0.521 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.438, allocations: 4 kB / 0.521 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005338/0.4385, allocations: 0.6229 MB / 0.5216 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.4395, allocations: 0.7514 MB / 0.5223 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4395, allocations: 2.75 kB / 0.5223 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.4398, allocations: 63.89 kB / 0.5224 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.4399, allocations: 20.84 kB / 0.5224 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.4399, allocations: 8 kB / 0.5224 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.441, allocations: 1.374 MB / 0.5238 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.441, allocations: 0 / 0.5238 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.4418, allocations: 0.515 MB / 0.5243 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.4419, allocations: 92.83 kB / 0.5244 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.442, allocations: 11.94 kB / 0.5244 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.4422, allocations: 15.92 kB / 0.5244 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.4423, allocations: 15.98 kB / 0.5244 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.4423, allocations: 19.98 kB / 0.5244 GB, free: 11.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.4425, allocations: 190 kB / 0.5246 GB, free: 11.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.4425, allocations: 0 / 0.5246 GB, free: 11.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004611/0.443, allocations: 107.9 kB / 0.5247 GB, free: 11.27 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.0002571/0.4433, allocations: 128.3 kB / 0.5248 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.4439, allocations: 461 kB / 0.5253 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.444, allocations: 0 / 0.5253 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.4442, allocations: 219.4 kB / 0.5255 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/0.4452, allocations: 162.8 kB / 0.5256 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.4465, allocations: 0.6755 MB / 0.5263 GB, free: 9.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.4469, allocations: 0.7645 MB / 0.527 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.4472, allocations: 66.86 kB / 0.5271 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.4473, allocations: 27.44 kB / 0.5271 GB, free: 8.699 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4473, allocations: 0 / 0.5271 GB, free: 8.699 MB / 462.1 MB Notification: Performance of Templates: time 0.01184/0.4591, allocations: 6.301 MB / 0.5333 GB, free: 2.395 MB / 462.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)