Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00138/0.00138, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.428/1.428, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001324/0.001324, allocations: 47.92 kB / 280 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09762, allocations: 46.64 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03508/0.1328, allocations: 26.59 MB / 353.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1356, allocations: 2.231 MB / 355.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.1358, allocations: 0 / 355.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.1362, allocations: 55.66 kB / 355.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1366, allocations: 155.2 kB / 355.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01523/0.1518, allocations: 6.158 MB / 361.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.1523, allocations: 314.6 kB / 362.1 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.1524, allocations: 24.83 kB / 362.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.1527, allocations: 135.5 kB / 362.3 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1529, allocations: 115.6 kB / 362.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.1529, allocations: 12 kB / 362.4 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01766/0.1706, allocations: 9.226 MB / 371.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.1708, allocations: 67.84 kB / 371.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.1711, allocations: 91.59 kB / 371.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.1832, allocations: 4.679 MB / 376.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1833, allocations: 4 kB / 376.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1833, allocations: 0 / 376.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1833, allocations: 0 / 376.5 MB, free: 2.469 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0037/0.187, allocations: 1.108 MB / 377.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1871, allocations: 8.031 kB / 377.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1872, allocations: 32.5 kB / 377.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1875, allocations: 214.7 kB / 377.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1875, allocations: 12.33 kB / 377.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1876, allocations: 16 kB / 377.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.1883, allocations: 289.3 kB / 378.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1884, allocations: 0 / 378.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1884, allocations: 12 kB / 378.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.1884, allocations: 8 kB / 378.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.1892, allocations: 311.7 kB / 378.4 MB, free: 388 kB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1484/0.3376, allocations: 0.8198 MB / 379.3 MB, free: 52.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.3384, allocations: 246.5 kB / 379.5 MB, free: 52.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.3387, allocations: 131.9 kB / 379.6 MB, free: 52.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/0.3522, allocations: 12.85 MB / 392.5 MB, free: 39.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3523, allocations: 37.52 kB / 392.5 MB, free: 39.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.615e-06/0.3523, allocations: 1.281 kB / 392.5 MB, free: 39.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.003008/0.3553, allocations: 0.691 MB / 393.2 MB, free: 39.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3554, allocations: 85.7 kB / 393.3 MB, free: 39.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.3555, allocations: 129.3 kB / 393.4 MB, free: 39.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.3555, allocations: 30.77 kB / 393.5 MB, free: 39.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.3556, allocations: 110.8 kB / 393.6 MB, free: 39.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/0.3557, allocations: 127.3 kB / 393.7 MB, free: 39.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3558, allocations: 72.89 kB / 393.8 MB, free: 39.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.3559, allocations: 324.9 kB / 394.1 MB, free: 38.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.3563, allocations: 137.2 kB / 394.2 MB, free: 38.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.3568, allocations: 207.7 kB / 394.4 MB, free: 38.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.3578, allocations: 361.7 kB / 394.8 MB, free: 38.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3578, allocations: 0 / 394.8 MB, free: 38.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001222/0.359, allocations: 421 kB / 395.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.359, allocations: 7.922 kB / 395.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3591, allocations: 2.562 kB / 395.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.3591, allocations: 8.016 kB / 395.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3596, allocations: 90.28 kB / 395.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.3596, allocations: 8.312 kB / 395.3 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.3599, allocations: 32.89 kB / 395.3 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.36, allocations: 23.61 kB / 395.3 MB, free: 38.4 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.3602, allocations: 135.3 kB / 395.5 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3603, allocations: 22.22 kB / 395.5 MB, free: 38.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.3608, allocations: 189.2 kB / 395.7 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3609, allocations: 5.562 kB / 395.7 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3609, allocations: 1 kB / 395.7 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3609, allocations: 10.86 kB / 395.7 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3626, allocations: 0.7553 MB / 396.5 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3627, allocations: 1.125 kB / 396.5 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.3631, allocations: 78.39 kB / 396.5 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.3632, allocations: 2.656 kB / 396.5 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.3632, allocations: 15.47 kB / 396.6 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.3632, allocations: 7.438 kB / 396.6 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.3632, allocations: 6.25 kB / 396.6 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.365, allocations: 0.7046 MB / 397.3 MB, free: 37.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.3652, allocations: 126.2 kB / 397.4 MB, free: 37.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.3652, allocations: 16.25 kB / 397.4 MB, free: 37.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.3656, allocations: 19.59 kB / 397.4 MB, free: 37.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.3657, allocations: 27.61 kB / 397.5 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.3657, allocations: 19.09 kB / 397.5 MB, free: 37.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.3658, allocations: 99.61 kB / 397.6 MB, free: 37.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3658, allocations: 0 / 397.6 MB, free: 37.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003832/0.3697, allocations: 0.9327 MB / 398.5 MB, free: 36.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005294/0.375, allocations: 1.267 MB / 399.8 MB, free: 36.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3761, allocations: 372.5 kB / 400.1 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.3762, allocations: 448 / 400.1 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.3766, allocations: 176.5 kB / 400.3 MB, free: 36.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.3774, allocations: 96.81 kB / 400.4 MB, free: 36.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3788, allocations: 0.6023 MB / 401 MB, free: 36.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3791, allocations: 0.7347 MB / 401.7 MB, free: 35.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004685/0.3795, allocations: 87.42 kB / 401.8 MB, free: 35.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3797, allocations: 39.14 kB / 401.9 MB, free: 35.41 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3797, allocations: 0 / 401.9 MB, free: 35.41 MB / 318.1 MB Notification: Performance of Templates: time 0.03789/0.4176, allocations: 30.91 MB / 432.8 MB, free: 8.766 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)