Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 110.6 kB / 17.07 MB, free: 5.961 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.001046/0.001046, allocations: 191 kB / 18 MB, free: 5.051 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.39/1.39, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001105/0.001105, allocations: 51.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07412/0.07523, allocations: 46.62 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1767/0.252, allocations: 27.03 MB / 401.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.2569, allocations: 4.158 MB / 405.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.2572, allocations: 4.469 kB / 405.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.2579, allocations: 215.3 kB / 405.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.2587, allocations: 336.2 kB / 406.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.263, allocations: 1.474 MB / 407.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2641, allocations: 0.8804 MB / 408.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2643, allocations: 103.5 kB / 408.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006611/0.2709, allocations: 4.06 MB / 412.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.2713, allocations: 270.8 kB / 413 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.2714, allocations: 30.88 kB / 413.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.273, allocations: 0.7289 MB / 413.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2731, allocations: 97.88 kB / 413.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.2733, allocations: 189.3 kB / 414.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2748, allocations: 0.851 MB / 414.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2748, allocations: 1.688 kB / 414.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2748, allocations: 0 / 414.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2748, allocations: 0 / 414.9 MB, free: 4.551 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008915/0.2757, allocations: 0.644 MB / 415.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2757, allocations: 9.125 kB / 415.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004233/0.2762, allocations: 57.67 kB / 415.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.2766, allocations: 301.6 kB / 415.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2767, allocations: 19.34 kB / 415.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.2767, allocations: 29.41 kB / 416 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.2772, allocations: 338.2 kB / 416.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2772, allocations: 1.062 kB / 416.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.2773, allocations: 20.39 kB / 416.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2773, allocations: 7.781 kB / 416.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.2777, allocations: 208.4 kB / 416.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.2905, allocations: 5.913 MB / 422.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.2908, allocations: 174 kB / 422.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.291, allocations: 89.09 kB / 422.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.3015, allocations: 3.89 MB / 426.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.3016, allocations: 39.23 kB / 426.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.023e-06/0.3016, allocations: 0 / 426.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00618/0.3078, allocations: 1.412 MB / 428 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.3078, allocations: 59.39 kB / 428.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.3081, allocations: 254.6 kB / 428.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3081, allocations: 29.7 kB / 428.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3083, allocations: 200 kB / 428.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.3084, allocations: 94.59 kB / 428.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.3085, allocations: 61.7 kB / 428.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3086, allocations: 334.8 kB / 429 MB, free: 8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3088, allocations: 99.73 kB / 429.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.309, allocations: 186.9 kB / 429.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.3094, allocations: 295 kB / 429.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3094, allocations: 4 kB / 429.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006769/0.3101, allocations: 398.6 kB / 430 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3101, allocations: 8 kB / 430 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3101, allocations: 8.312 kB / 430 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003894/0.314, allocations: 0.93 MB / 431 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3143, allocations: 71.91 kB / 431 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.3159, allocations: 1.986 MB / 433 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.3161, allocations: 8 kB / 433 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.3161, allocations: 19.69 kB / 433 MB, free: 3.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.3163, allocations: 151.2 kB / 433.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.3164, allocations: 35.56 kB / 433.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.3171, allocations: 498.6 kB / 433.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3171, allocations: 4 kB / 433.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3171, allocations: 0 / 433.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006612/0.3178, allocations: 0.713 MB / 434.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.319, allocations: 0.9496 MB / 435.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.319, allocations: 3.938 kB / 435.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.3192, allocations: 39.97 kB / 435.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/0.321, allocations: 320.3 kB / 435.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.321, allocations: 8 kB / 435.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004847/0.3215, allocations: 0.646 MB / 436.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3215, allocations: 0 / 436.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.3224, allocations: 0.7144 MB / 437.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.3225, allocations: 116.6 kB / 437.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.3226, allocations: 8 kB / 437.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3228, allocations: 7.984 kB / 437.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3228, allocations: 15.92 kB / 437.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.3228, allocations: 15.98 kB / 437.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.323, allocations: 186 kB / 437.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.323, allocations: 0 / 437.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006881/0.3237, allocations: 183.9 kB / 437.6 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005654/0.3243, allocations: 271 kB / 437.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007893/0.3251, allocations: 455.1 kB / 438.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3251, allocations: 4 kB / 438.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.3257, allocations: 239.8 kB / 438.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.3266, allocations: 174.2 kB / 438.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3278, allocations: 0.7951 MB / 439.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3282, allocations: 0.776 MB / 440.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.3284, allocations: 46.95 kB / 440.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.3285, allocations: 35.42 kB / 440.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3285, allocations: 0 / 440.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01569/0.3442, allocations: 10.09 MB / 450.5 MB, free: 1.98 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)