Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.341/1.341, allocations: 205.1 MB / 222 MB, free: 4.98 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.001739/0.001739, allocations: 52.3 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2001, allocations: 46.63 MB / 324.7 MB, free: 2.156 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03213/0.2323, allocations: 28.4 MB / 353.1 MB, free: 7.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.2351, allocations: 2.345 MB / 355.4 MB, free: 5.609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.2352, allocations: 8 kB / 355.4 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.2355, allocations: 55.72 kB / 355.5 MB, free: 5.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.2359, allocations: 143.3 kB / 355.6 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01243/0.2483, allocations: 5.042 MB / 360.7 MB, free: 356 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.2488, allocations: 478.4 kB / 361.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2489, allocations: 12.91 kB / 361.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2491, allocations: 123.5 kB / 361.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2493, allocations: 123.6 kB / 361.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2493, allocations: 4 kB / 361.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.2641, allocations: 9.483 MB / 370.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2643, allocations: 63.84 kB / 370.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2645, allocations: 91.58 kB / 371 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.2748, allocations: 4.756 MB / 375.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.2748, allocations: 0 / 375.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2748, allocations: 7.938 kB / 375.8 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2748, allocations: 0 / 375.8 MB, free: 1.191 MB / 302.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.00318/0.278, allocations: 1.108 MB / 376.9 MB, free: 36 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2781, allocations: 12.03 kB / 376.9 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.2783, allocations: 24.58 kB / 376.9 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2785, allocations: 222.7 kB / 377.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2785, allocations: 8.328 kB / 377.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.2786, allocations: 16 kB / 377.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.2793, allocations: 293.4 kB / 377.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2793, allocations: 0 / 377.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.2794, allocations: 11.98 kB / 377.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.2794, allocations: 4 kB / 377.5 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.2801, allocations: 307.7 kB / 377.8 MB, free: 15.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.001423/0.2816, allocations: 0.8204 MB / 378.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.2823, allocations: 253.1 kB / 378.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.2826, allocations: 137.6 kB / 379 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01557/0.2982, allocations: 12.85 MB / 391.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2983, allocations: 42.5 kB / 391.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.545e-06/0.2983, allocations: 0 / 391.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002868/0.3012, allocations: 0.6882 MB / 392.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3012, allocations: 81.11 kB / 392.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3013, allocations: 129.8 kB / 392.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.3014, allocations: 29.7 kB / 392.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.3014, allocations: 108.8 kB / 392.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.3015, allocations: 126.1 kB / 393 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3017, allocations: 77.67 kB / 393.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3018, allocations: 330.8 kB / 393.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.3022, allocations: 127.9 kB / 393.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.3026, allocations: 215.5 kB / 393.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.3035, allocations: 359.5 kB / 394.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3035, allocations: 0 / 394.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001125/0.3047, allocations: 417.8 kB / 394.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3047, allocations: 8 kB / 394.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3047, allocations: 0 / 394.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3047, allocations: 4 kB / 394.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.3052, allocations: 95.86 kB / 394.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3052, allocations: 7.938 kB / 394.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.3056, allocations: 31.98 kB / 394.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.3056, allocations: 19.98 kB / 394.7 MB, free: 11.45 MB / 334.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.0001326/0.3058, allocations: 137.7 kB / 394.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3059, allocations: 27.8 kB / 394.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.3064, allocations: 187.1 kB / 395 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.3064, allocations: 7.938 kB / 395 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3064, allocations: 0 / 395 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3064, allocations: 0 / 395 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.308, allocations: 0.7702 MB / 395.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.308, allocations: 4 kB / 395.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.3085, allocations: 75.88 kB / 395.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3085, allocations: 4 kB / 395.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.3085, allocations: 12 kB / 395.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.3085, allocations: 11.98 kB / 395.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3085, allocations: 0 / 395.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.31, allocations: 0.7071 MB / 396.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3101, allocations: 120.9 kB / 396.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.3102, allocations: 12 kB / 396.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.3105, allocations: 20.05 kB / 396.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.3106, allocations: 31.89 kB / 396.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.3106, allocations: 15.98 kB / 396.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.955e-05/0.3107, allocations: 103.2 kB / 396.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3107, allocations: 0 / 396.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00248/0.3132, allocations: 0.9292 MB / 397.8 MB, free: 8.152 MB / 334.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.00391/0.3171, allocations: 1.256 MB / 399.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009871/0.3181, allocations: 339.4 kB / 399.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3181, allocations: 0 / 399.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.3185, allocations: 184.5 kB / 399.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.3193, allocations: 100.8 kB / 399.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3207, allocations: 0.6833 MB / 400.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3209, allocations: 0.7374 MB / 401.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.3214, allocations: 77.89 kB / 401.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3215, allocations: 39.41 kB / 401.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3215, allocations: 0 / 401.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of Templates: time 0.03749/0.359, allocations: 30.68 MB / 431.9 MB, free: 5.941 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)