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.001091/0.001091, allocations: 113 kB / 16.63 MB, free: 6.332 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.0011/0.0011, allocations: 189.9 kB / 17.55 MB, free: 5.801 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.304/1.304, allocations: 205.1 MB / 223.4 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.00127/0.00127, allocations: 48.14 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08295/0.08423, allocations: 46.62 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0301/0.1144, allocations: 26.75 MB / 352.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.117, allocations: 2.243 MB / 355.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.1171, allocations: 4 kB / 355.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.1176, allocations: 55.7 kB / 355.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1179, allocations: 139.3 kB / 355.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01382/0.1317, allocations: 5.538 MB / 360.9 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.1322, allocations: 314.6 kB / 361.2 MB, free: 1.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.1323, allocations: 12.91 kB / 361.2 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1325, allocations: 139.5 kB / 361.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1327, allocations: 123.6 kB / 361.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1328, allocations: 12 kB / 361.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01602/0.1488, allocations: 9.338 MB / 370.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.149, allocations: 71.83 kB / 370.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.1492, allocations: 95.53 kB / 371 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.1603, allocations: 4.764 MB / 375.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1603, allocations: 0 / 375.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1603, allocations: 0 / 375.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1603, allocations: 4 kB / 375.7 MB, free: 3.047 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.00307/0.1634, allocations: 1.104 MB / 376.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1634, allocations: 12.03 kB / 376.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1636, allocations: 24.5 kB / 376.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1638, allocations: 218.7 kB / 377.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1639, allocations: 16.33 kB / 377.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.1639, allocations: 16 kB / 377.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.1646, allocations: 289.3 kB / 377.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1647, allocations: 7.922 kB / 377.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.1647, allocations: 8 kB / 377.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.1647, allocations: 4 kB / 377.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.1655, allocations: 323.7 kB / 377.7 MB, free: 0.9453 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.001405/0.1669, allocations: 0.8164 MB / 378.5 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1329/0.2999, allocations: 244.9 kB / 378.8 MB, free: 53.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.3002, allocations: 137.1 kB / 378.9 MB, free: 53.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.3134, allocations: 12.85 MB / 391.8 MB, free: 40.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3134, allocations: 45.39 kB / 391.8 MB, free: 40.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.3134, allocations: 0 / 391.8 MB, free: 40.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002779/0.3162, allocations: 0.6823 MB / 392.5 MB, free: 40.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.3163, allocations: 85.23 kB / 392.6 MB, free: 40.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.3164, allocations: 127.1 kB / 392.7 MB, free: 39.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.3164, allocations: 29.86 kB / 392.7 MB, free: 39.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.3164, allocations: 111.8 kB / 392.8 MB, free: 39.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.3165, allocations: 126.5 kB / 393 MB, free: 39.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3167, allocations: 72.66 kB / 393 MB, free: 39.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.3167, allocations: 328 kB / 393.3 MB, free: 39.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.3171, allocations: 138 kB / 393.5 MB, free: 39.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.3176, allocations: 208.5 kB / 393.7 MB, free: 39.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/0.3185, allocations: 362.5 kB / 394 MB, free: 39.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3185, allocations: 0 / 394 MB, free: 39.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001112/0.3196, allocations: 418.3 kB / 394.4 MB, free: 38.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3196, allocations: 6.25 kB / 394.5 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3196, allocations: 2.188 kB / 394.5 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3197, allocations: 8.219 kB / 394.5 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.3201, allocations: 94.67 kB / 394.6 MB, free: 38.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3202, allocations: 4.75 kB / 394.6 MB, free: 38.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.3205, allocations: 38.19 kB / 394.6 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.3205, allocations: 16 kB / 394.6 MB, free: 38.88 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.0001198/0.3207, allocations: 143.9 kB / 394.8 MB, free: 38.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.3208, allocations: 22.28 kB / 394.8 MB, free: 38.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.3213, allocations: 186.5 kB / 395 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3214, allocations: 8.188 kB / 395 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.3214, allocations: 5.906 kB / 395 MB, free: 38.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3214, allocations: 3.047 kB / 395 MB, free: 38.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.3231, allocations: 0.7612 MB / 395.7 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3231, allocations: 2.219 kB / 395.7 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.3236, allocations: 81.67 kB / 395.8 MB, free: 38.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3236, allocations: 10.06 kB / 395.8 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.3236, allocations: 13.3 kB / 395.8 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3237, allocations: 3.312 kB / 395.8 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3237, allocations: 2.062 kB / 395.8 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3251, allocations: 0.7049 MB / 396.5 MB, free: 37.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3252, allocations: 119 kB / 396.7 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.3253, allocations: 8.516 kB / 396.7 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.3257, allocations: 26.83 kB / 396.7 MB, free: 37.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.3257, allocations: 24.22 kB / 396.7 MB, free: 37.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.3258, allocations: 22.55 kB / 396.7 MB, free: 37.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.3258, allocations: 95.89 kB / 396.8 MB, free: 37.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3258, allocations: 0 / 396.8 MB, free: 37.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002702/0.3285, allocations: 0.9285 MB / 397.8 MB, free: 37.41 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.003824/0.3324, allocations: 1.272 MB / 399 MB, free: 37.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3335, allocations: 371.8 kB / 399.4 MB, free: 37.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3335, allocations: 1 kB / 399.4 MB, free: 37.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.3339, allocations: 172 kB / 399.6 MB, free: 37.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.3346, allocations: 104.4 kB / 399.7 MB, free: 37.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3359, allocations: 0.6759 MB / 400.3 MB, free: 36.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.3361, allocations: 0.7304 MB / 401.1 MB, free: 35.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004182/0.3365, allocations: 94.78 kB / 401.2 MB, free: 35.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3366, allocations: 38.52 kB / 401.2 MB, free: 35.81 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3366, allocations: 0 / 401.2 MB, free: 35.81 MB / 318.1 MB Notification: Performance of Templates: time 0.03096/0.3676, allocations: 30.89 MB / 432.1 MB, free: 9.406 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)