Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005212/0.005212, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001187/0.001187, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001358/0.001358, allocations: 57.92 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09386, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05915/0.153, allocations: 50.69 MB / 423.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006789/0.1599, allocations: 5.184 MB / 429.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.1604, allocations: 11.94 kB / 429.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1615, allocations: 250.6 kB / 429.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008289/0.1624, allocations: 369.9 kB / 429.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01642/0.1788, allocations: 6.742 MB / 436.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1803, allocations: 1.087 MB / 437.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.1806, allocations: 157.5 kB / 437.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006441/0.1871, allocations: 3.597 MB / 441.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.1876, allocations: 398.7 kB / 441.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.1877, allocations: 60 kB / 441.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.204, allocations: 9.818 MB / 451.5 MB, free: 2.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.2044, allocations: 223.5 kB / 451.7 MB, free: 2.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.2048, allocations: 306.8 kB / 452 MB, free: 2.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2037/0.4085, allocations: 5.472 MB / 457.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4085, allocations: 0 / 457.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4085, allocations: 1.438 kB / 457.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.4085, allocations: 0 / 457.5 MB, free: 17.86 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00511/0.4136, allocations: 1.352 MB / 458.9 MB, free: 17.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4137, allocations: 9.062 kB / 458.9 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.4141, allocations: 64.83 kB / 458.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.4146, allocations: 371.2 kB / 459.3 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.4146, allocations: 33.53 kB / 459.3 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.4147, allocations: 41.7 kB / 459.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.416, allocations: 0.583 MB / 460 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.416, allocations: 5.453 kB / 460 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.4161, allocations: 20.5 kB / 460 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4161, allocations: 9.844 kB / 460 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.4174, allocations: 0.743 MB / 460.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.4314, allocations: 11.96 MB / 472.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.4327, allocations: 0.529 MB / 473.2 MB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.4331, allocations: 253 kB / 473.5 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/0.4482, allocations: 11.9 MB / 485.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.4483, allocations: 39.72 kB / 485.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 3.496e-06/0.4483, allocations: 0 / 485.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.007442/0.4557, allocations: 2.12 MB / 487.5 MB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.4558, allocations: 58.28 kB / 487.6 MB, free: 9.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.4562, allocations: 320.8 kB / 487.9 MB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/0.4563, allocations: 41.58 kB / 487.9 MB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4564, allocations: 203.3 kB / 488.1 MB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.4566, allocations: 193.8 kB / 488.3 MB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.4568, allocations: 111.7 kB / 488.4 MB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.457, allocations: 350.4 kB / 488.8 MB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.4574, allocations: 236.3 kB / 489 MB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.458, allocations: 343.4 kB / 489.3 MB, free: 8.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.459, allocations: 0.5995 MB / 489.9 MB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.459, allocations: 0 / 489.9 MB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001682/0.4607, allocations: 0.7514 MB / 490.7 MB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4607, allocations: 10.38 kB / 490.7 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4607, allocations: 2.297 kB / 490.7 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.4612, allocations: 105.1 kB / 490.8 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.4617, allocations: 127.7 kB / 490.9 MB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.4641, allocations: 3.48 MB / 494.4 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.4645, allocations: 11.78 kB / 494.4 MB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.4646, allocations: 30.11 kB / 494.5 MB, free: 5.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002984/0.4649, allocations: 202.4 kB / 494.7 MB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.4652, allocations: 47.19 kB / 494.7 MB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.4666, allocations: 0.816 MB / 495.5 MB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4666, allocations: 5.125 kB / 495.5 MB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.4666, allocations: 0 / 495.5 MB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/0.4676, allocations: 0.7672 MB / 496.3 MB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.4697, allocations: 1.298 MB / 497.6 MB, free: 20.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4698, allocations: 4.656 kB / 497.6 MB, free: 20.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.4702, allocations: 98.09 kB / 497.7 MB, free: 20.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008537/0.471, allocations: 146.4 kB / 497.8 MB, free: 20.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.4711, allocations: 19.81 kB / 497.8 MB, free: 20.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003588/0.4715, allocations: 0.6457 MB / 498.5 MB, free: 19.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4715, allocations: 0 / 498.5 MB, free: 19.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.4729, allocations: 0.9062 MB / 499.4 MB, free: 19.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4731, allocations: 117.2 kB / 499.5 MB, free: 19.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.4732, allocations: 14.38 kB / 499.5 MB, free: 19.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.4736, allocations: 22.3 kB / 499.6 MB, free: 19.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.4737, allocations: 34.06 kB / 499.6 MB, free: 19.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.4738, allocations: 35.25 kB / 499.6 MB, free: 19.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.474, allocations: 256.2 kB / 499.9 MB, free: 19.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.474, allocations: 0 / 499.9 MB, free: 19.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00564/0.4797, allocations: 1.306 MB / 0.4894 GB, free: 19.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009288/0.489, allocations: 1.702 MB / 0.4911 GB, free: 18.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.4906, allocations: 0.813 MB / 0.4919 GB, free: 18.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4906, allocations: 0 / 0.4919 GB, free: 18.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.4912, allocations: 292.5 kB / 0.4922 GB, free: 18.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.4927, allocations: 283.2 kB / 0.4924 GB, free: 18.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.4946, allocations: 1.099 MB / 0.4935 GB, free: 18.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.495, allocations: 0.8301 MB / 0.4943 GB, free: 17.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.4955, allocations: 142.8 kB / 0.4945 GB, free: 17.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.4957, allocations: 60.52 kB / 0.4945 GB, free: 17.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4957, allocations: 0 / 0.4945 GB, free: 17.32 MB / 414.1 MB Notification: Performance of Templates: time 0.0651/0.5608, allocations: 46.6 MB / 0.54 GB, free: 8.789 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)