Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005151/0.005151, allocations: 98.38 kB / 15.73 MB, free: 6.445 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.001162/0.001162, allocations: 200.6 kB / 16.68 MB, free: 6.352 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.378/1.378, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001213/0.001213, allocations: 52.92 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08694, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06548/0.1525, allocations: 65.73 MB / 438.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.1589, allocations: 5.457 MB / 444.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.1592, allocations: 4 kB / 444.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009146/0.1601, allocations: 353.9 kB / 444.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008817/0.161, allocations: 0.5011 MB / 445.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0174/0.1784, allocations: 7.08 MB / 452.3 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1803, allocations: 1.543 MB / 453.9 MB, free: 356 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.1807, allocations: 212.8 kB / 454.1 MB, free: 136 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1896/0.3704, allocations: 0.6207 MB / 454.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009737/0.3714, allocations: 0.5698 MB / 455.3 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.3716, allocations: 83.44 kB / 455.3 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.3887, allocations: 10.09 MB / 465.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004611/0.3892, allocations: 320.8 kB / 465.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006382/0.3898, allocations: 440.2 kB / 466.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4022, allocations: 5.936 MB / 472.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4023, allocations: 0 / 472.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4023, allocations: 1.062 kB / 472.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4023, allocations: 0 / 472.1 MB, free: 6.441 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00394/0.4063, allocations: 1.607 MB / 473.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4063, allocations: 8.75 kB / 473.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.4067, allocations: 86.48 kB / 473.8 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.4072, allocations: 444.1 kB / 474.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.4073, allocations: 46.88 kB / 474.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.4074, allocations: 65.14 kB / 474.3 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.409, allocations: 0.8136 MB / 475.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.409, allocations: 0 / 475.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.4091, allocations: 29.84 kB / 475.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4091, allocations: 17.94 kB / 475.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.4107, allocations: 1.021 MB / 476.2 MB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.4259, allocations: 12.79 MB / 489 MB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.4275, allocations: 0.7356 MB / 489.8 MB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.428, allocations: 416.3 kB / 490.2 MB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/0.4415, allocations: 12.24 MB / 0.4906 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.4415, allocations: 44.09 kB / 0.4907 GB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.845e-06/0.4416, allocations: 0 / 0.4907 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.008865/0.4504, allocations: 3.391 MB / 0.494 GB, free: 11.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4505, allocations: 63.08 kB / 0.494 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.4508, allocations: 354.3 kB / 0.4944 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/0.4509, allocations: 45.11 kB / 0.4944 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.451, allocations: 241.2 kB / 0.4947 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.4512, allocations: 325.4 kB / 0.495 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.4514, allocations: 166.9 kB / 0.4951 GB, free: 10.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4515, allocations: 366.7 kB / 0.4955 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.452, allocations: 368.3 kB / 0.4958 GB, free: 10.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.4529, allocations: 493.8 kB / 0.4963 GB, free: 10.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.4544, allocations: 0.9012 MB / 0.4972 GB, free: 10.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4544, allocations: 3.938 kB / 0.4972 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002383/0.4568, allocations: 1.116 MB / 0.4983 GB, free: 9.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4568, allocations: 6.125 kB / 0.4983 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4569, allocations: 7.812 kB / 0.4983 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/0.4577, allocations: 161.8 kB / 0.4984 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.4584, allocations: 195.8 kB / 0.4986 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.4611, allocations: 4.111 MB / 0.5026 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.4615, allocations: 21.58 kB / 0.5027 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.4616, allocations: 45.23 kB / 0.5027 GB, free: 5.902 MB / 414.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003571/0.462, allocations: 237 kB / 0.5029 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.4624, allocations: 66.42 kB / 0.503 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.4646, allocations: 1.29 MB / 0.5042 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4646, allocations: 11.09 kB / 0.5043 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.4646, allocations: 1.641 kB / 0.5043 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001721/0.4663, allocations: 1.326 MB / 0.5056 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.4698, allocations: 1.96 MB / 0.5075 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4698, allocations: 0 / 0.5075 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/0.4705, allocations: 165.9 kB / 0.5076 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.4723, allocations: 293.3 kB / 0.5079 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.511e-05/0.4725, allocations: 31.98 kB / 0.5079 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/0.4733, allocations: 1.286 MB / 0.5092 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4733, allocations: 0 / 0.5092 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.476, allocations: 1.425 MB / 0.5106 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.4762, allocations: 132.9 kB / 0.5107 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.4764, allocations: 20 kB / 0.5107 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.477, allocations: 27.97 kB / 0.5108 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.4771, allocations: 60.72 kB / 0.5108 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/0.4772, allocations: 48.94 kB / 0.5109 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.4775, allocations: 279 kB / 0.5111 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4775, allocations: 0 / 0.5111 GB, free: 14.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00431/0.4818, allocations: 1.407 MB / 0.5125 GB, free: 13.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00589/0.4877, allocations: 1.763 MB / 0.5142 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.4899, allocations: 1.159 MB / 0.5154 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4899, allocations: 0 / 0.5154 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000878/0.4908, allocations: 497.2 kB / 0.5158 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.4927, allocations: 394.9 kB / 0.5162 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4954, allocations: 1.669 MB / 0.5178 GB, free: 7.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.4958, allocations: 0.9139 MB / 0.5187 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006786/0.4965, allocations: 201.2 kB / 0.5189 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.4967, allocations: 83.41 kB / 0.519 GB, free: 6.609 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4967, allocations: 0 / 0.519 GB, free: 6.609 MB / 430.1 MB Notification: Performance of Templates: time 0.06432/0.561, allocations: 51.39 MB / 0.5692 GB, free: 3.254 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)