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.00152/0.00152, allocations: 101.4 kB / 16.51 MB, free: 6.695 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.00169/0.00169, allocations: 194.2 kB / 17.42 MB, free: 6.09 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.426/1.426, allocations: 205.1 MB / 223.3 MB, free: 12.45 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.001151/0.001151, allocations: 47.94 kB / 279.3 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08111/0.08228, allocations: 46.63 MB / 326 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03167/0.114, allocations: 28.41 MB / 354.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1168, allocations: 2.345 MB / 356.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.1168, allocations: 4 kB / 356.7 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.1172, allocations: 59.72 kB / 356.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.1176, allocations: 143.2 kB / 356.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01331/0.1309, allocations: 5.03 MB / 361.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.1314, allocations: 474.4 kB / 362.4 MB, free: 328 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.1315, allocations: 16.91 kB / 362.4 MB, free: 308 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1316, allocations: 115.6 kB / 362.5 MB, free: 192 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1319, allocations: 135.5 kB / 362.7 MB, free: 56 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.1319, allocations: 8 kB / 362.7 MB, free: 48 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/0.1468, allocations: 9.475 MB / 372.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.147, allocations: 59.84 kB / 372.2 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1472, allocations: 91.59 kB / 372.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009782/0.157, allocations: 4.76 MB / 377.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.157, allocations: 4 kB / 377.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.157, allocations: 0 / 377.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.157, allocations: 0 / 377.1 MB, free: 1.637 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.003048/0.1601, allocations: 1.108 MB / 378.2 MB, free: 492 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1601, allocations: 8.031 kB / 378.2 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1603, allocations: 28.44 kB / 378.2 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1606, allocations: 218.7 kB / 378.4 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1606, allocations: 12.33 kB / 378.4 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.1606, allocations: 12 kB / 378.4 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1344/0.295, allocations: 287.8 kB / 378.7 MB, free: 53.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2951, allocations: 1 kB / 378.7 MB, free: 53.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.2951, allocations: 9.141 kB / 378.7 MB, free: 53.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.2952, allocations: 6.547 kB / 378.7 MB, free: 53.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.2961, allocations: 310.6 kB / 379 MB, free: 53.1 MB / 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.001311/0.2974, allocations: 0.8189 MB / 379.9 MB, free: 52.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.2981, allocations: 250.2 kB / 380.1 MB, free: 52.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.2984, allocations: 134.3 kB / 380.2 MB, free: 52.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0141/0.3125, allocations: 12.85 MB / 393.1 MB, free: 39.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.3125, allocations: 37.75 kB / 393.1 MB, free: 39.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.374e-06/0.3126, allocations: 3.938 kB / 393.1 MB, free: 39.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002861/0.3154, allocations: 0.693 MB / 393.8 MB, free: 39.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.3155, allocations: 84.97 kB / 393.9 MB, free: 39.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3156, allocations: 134.4 kB / 394 MB, free: 39.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3156, allocations: 32.05 kB / 394.1 MB, free: 39.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.3157, allocations: 107.7 kB / 394.2 MB, free: 39.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.3158, allocations: 121.7 kB / 394.3 MB, free: 39.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3159, allocations: 73.56 kB / 394.4 MB, free: 39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.316, allocations: 330.7 kB / 394.7 MB, free: 38.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.3163, allocations: 131.3 kB / 394.8 MB, free: 38.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.3168, allocations: 210.2 kB / 395 MB, free: 38.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008748/0.3177, allocations: 363.8 kB / 395.4 MB, free: 38.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3177, allocations: 1.188 kB / 395.4 MB, free: 38.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001154/0.3189, allocations: 416.6 kB / 395.8 MB, free: 38.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3189, allocations: 5.688 kB / 395.8 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3189, allocations: 8.938 kB / 395.8 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3189, allocations: 7.688 kB / 395.8 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.3195, allocations: 90.38 kB / 395.9 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3195, allocations: 4.188 kB / 395.9 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.3198, allocations: 34.08 kB / 395.9 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.3199, allocations: 19.47 kB / 395.9 MB, free: 38.15 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.0001183/0.32, allocations: 144.1 kB / 396.1 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3201, allocations: 18.84 kB / 396.1 MB, free: 38.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.3206, allocations: 187.2 kB / 396.3 MB, free: 37.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3206, allocations: 12.14 kB / 396.3 MB, free: 37.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3207, allocations: 1.062 kB / 396.3 MB, free: 37.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3207, allocations: 2.766 kB / 396.3 MB, free: 37.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.3222, allocations: 0.7638 MB / 397.1 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3222, allocations: 4.125 kB / 397.1 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.3227, allocations: 80.27 kB / 397.1 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3227, allocations: 6.625 kB / 397.2 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.3227, allocations: 19.67 kB / 397.2 MB, free: 37.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3227, allocations: 5.969 kB / 397.2 MB, free: 37.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3228, allocations: 1.469 kB / 397.2 MB, free: 37.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3241, allocations: 0.699 MB / 397.9 MB, free: 36.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.3242, allocations: 128.4 kB / 398 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3243, allocations: 10 kB / 398 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3247, allocations: 22.8 kB / 398 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.3247, allocations: 27.67 kB / 398.1 MB, free: 36.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.3248, allocations: 10.62 kB / 398.1 MB, free: 36.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.3248, allocations: 108 kB / 398.2 MB, free: 36.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3248, allocations: 1.406 kB / 398.2 MB, free: 36.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002486/0.3273, allocations: 0.9226 MB / 399.1 MB, free: 36.69 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.003702/0.331, allocations: 1.264 MB / 400.4 MB, free: 36.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.332, allocations: 356 kB / 400.7 MB, free: 36.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.332, allocations: 4 kB / 400.7 MB, free: 36.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.3325, allocations: 176.7 kB / 400.9 MB, free: 36.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.3332, allocations: 94.86 kB / 401 MB, free: 36.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3344, allocations: 0.6793 MB / 401.7 MB, free: 35.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.3346, allocations: 0.7336 MB / 402.4 MB, free: 35.15 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004394/0.335, allocations: 81.92 kB / 402.5 MB, free: 35.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3352, allocations: 42.05 kB / 402.5 MB, free: 35.12 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3352, allocations: 0 / 402.5 MB, free: 35.12 MB / 318.1 MB Notification: Performance of Templates: time 0.03117/0.3664, allocations: 30.68 MB / 433.2 MB, free: 8.469 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)