Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.006751/0.006752, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001325/0.001325, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001135/0.001135, allocations: 51.91 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07651/0.07765, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2209/0.2986, allocations: 65.74 MB / 438.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.3052, allocations: 5.452 MB / 444.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.3056, allocations: 11.94 kB / 444.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.3065, allocations: 357.9 kB / 444.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000863/0.3074, allocations: 0.5167 MB / 445.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01905/0.3265, allocations: 7.1 MB / 452.3 MB, free: 364 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.3283, allocations: 1.551 MB / 453.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.3287, allocations: 218.3 kB / 454.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008603/0.3296, allocations: 0.6347 MB / 454.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.3302, allocations: 0.5683 MB / 455.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3303, allocations: 80 kB / 455.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01831/0.3487, allocations: 10.09 MB / 465.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.3492, allocations: 319.2 kB / 465.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.3498, allocations: 438.4 kB / 466.2 MB, free: 2.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.3628, allocations: 5.943 MB / 472.2 MB, free: 12.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3629, allocations: 0 / 472.2 MB, free: 12.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3629, allocations: 0 / 472.2 MB, free: 12.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3629, allocations: 0 / 472.2 MB, free: 12.49 MB / 398.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.003532/0.3664, allocations: 1.597 MB / 473.8 MB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3665, allocations: 8.031 kB / 473.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/0.3669, allocations: 95.56 kB / 473.9 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.3676, allocations: 448.9 kB / 474.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.3676, allocations: 45.31 kB / 474.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.3677, allocations: 70.75 kB / 474.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.3694, allocations: 0.8029 MB / 475.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.3694, allocations: 3.938 kB / 475.2 MB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.3695, allocations: 32 kB / 475.2 MB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.3695, allocations: 16 kB / 475.3 MB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.3714, allocations: 1.024 MB / 476.3 MB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.3881, allocations: 12.79 MB / 489.1 MB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.3898, allocations: 0.7412 MB / 489.8 MB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.3904, allocations: 406.7 kB / 490.2 MB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.4048, allocations: 12.24 MB / 0.4907 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.045e-05/0.4049, allocations: 51.16 kB / 0.4907 GB, free: 9.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/0.4049, allocations: 4 kB / 0.4907 GB, free: 9.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009507/0.4144, allocations: 3.396 MB / 0.4941 GB, free: 6.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.4145, allocations: 68.41 kB / 0.4941 GB, free: 5.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.4149, allocations: 348.5 kB / 0.4944 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.415, allocations: 41.7 kB / 0.4945 GB, free: 5.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.4152, allocations: 245.2 kB / 0.4947 GB, free: 5.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.4154, allocations: 325.2 kB / 0.495 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.4157, allocations: 158.6 kB / 0.4952 GB, free: 4.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4158, allocations: 362.8 kB / 0.4955 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.4164, allocations: 369.8 kB / 0.4959 GB, free: 4.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009174/0.4174, allocations: 0.4923 MB / 0.4964 GB, free: 3.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.419, allocations: 0.8982 MB / 0.4972 GB, free: 2.637 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4191, allocations: 0 / 0.4972 GB, free: 2.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002577/0.4216, allocations: 1.121 MB / 0.4983 GB, free: 1.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4217, allocations: 7.938 kB / 0.4983 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4217, allocations: 4 kB / 0.4983 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007807/0.4225, allocations: 163.6 kB / 0.4985 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.4232, allocations: 191.7 kB / 0.4987 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.4261, allocations: 4.121 MB / 0.5027 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.4265, allocations: 20 kB / 0.5027 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.4266, allocations: 43.98 kB / 0.5028 GB, free: 12.61 MB / 446.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.0003459/0.427, allocations: 225.6 kB / 0.503 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.4273, allocations: 67.66 kB / 0.503 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.4297, allocations: 1.288 MB / 0.5043 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4297, allocations: 8 kB / 0.5043 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.4297, allocations: 0 / 0.5043 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001815/0.4315, allocations: 1.32 MB / 0.5056 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.4347, allocations: 1.972 MB / 0.5075 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4347, allocations: 0 / 0.5075 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/0.4354, allocations: 163.8 kB / 0.5077 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.4371, allocations: 285.4 kB / 0.508 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.4372, allocations: 35.98 kB / 0.508 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/0.4381, allocations: 1.289 MB / 0.5093 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4381, allocations: 3.984 kB / 0.5093 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.4407, allocations: 1.422 MB / 0.5106 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.4409, allocations: 132.8 kB / 0.5108 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.441, allocations: 19.98 kB / 0.5108 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.4415, allocations: 27.98 kB / 0.5108 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.4416, allocations: 60.92 kB / 0.5109 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-05/0.4417, allocations: 39.97 kB / 0.5109 GB, free: 3.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.442, allocations: 279 kB / 0.5112 GB, free: 3.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.442, allocations: 4 kB / 0.5112 GB, free: 3.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003714/0.4458, allocations: 1.407 MB / 0.5126 GB, free: 2.246 MB / 446.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.00515/0.4509, allocations: 1.77 MB / 0.5143 GB, free: 480 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.4531, allocations: 1.156 MB / 0.5154 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4531, allocations: 4 kB / 0.5154 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.454, allocations: 499.9 kB / 0.5159 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.456, allocations: 389.9 kB / 0.5163 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.4587, allocations: 1.671 MB / 0.5179 GB, free: 12.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.4591, allocations: 0.9128 MB / 0.5188 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006626/0.4598, allocations: 213.1 kB / 0.519 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.46, allocations: 71.42 kB / 0.5191 GB, free: 11.48 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.46, allocations: 4 kB / 0.5191 GB, free: 11.47 MB / 462.1 MB Notification: Performance of Templates: time 0.2328/0.6928, allocations: 51.39 MB / 0.5692 GB, free: 152.1 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)