Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001678/0.001678, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.376/1.376, allocations: 205.1 MB / 222 MB, free: 4.75 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.001149/0.001149, allocations: 55.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2193, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03527/0.2547, allocations: 37.7 MB / 362.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.26, allocations: 4.627 MB / 367 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.2605, allocations: 7.938 kB / 367 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008185/0.2613, allocations: 242.7 kB / 367.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.2621, allocations: 481.6 kB / 367.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.2662, allocations: 1.398 MB / 369.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.2682, allocations: 1.947 MB / 371.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.2685, allocations: 131.2 kB / 371.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.2691, allocations: 406.5 kB / 371.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.2697, allocations: 430.2 kB / 372 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.2697, allocations: 32 kB / 372 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.2715, allocations: 0.7141 MB / 372.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2717, allocations: 115.6 kB / 372.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.272, allocations: 258.9 kB / 373.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.2734, allocations: 1.025 MB / 374.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2734, allocations: 0 / 374.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2734, allocations: 0 / 374.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2734, allocations: 0 / 374.1 MB, free: 2.535 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001218/0.2747, allocations: 0.7759 MB / 374.9 MB, free: 1.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2747, allocations: 8.031 kB / 374.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006024/0.2753, allocations: 80.34 kB / 375 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.2758, allocations: 339.5 kB / 375.3 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.2758, allocations: 29.38 kB / 375.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.2759, allocations: 40.28 kB / 375.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.2765, allocations: 471.7 kB / 375.9 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2766, allocations: 3.938 kB / 375.9 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.2766, allocations: 24 kB / 375.9 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2766, allocations: 8 kB / 375.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.2771, allocations: 311.6 kB / 376.2 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0145/0.2916, allocations: 6.738 MB / 382.9 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.2922, allocations: 270.5 kB / 383.2 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.2924, allocations: 164.6 kB / 383.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.3035, allocations: 3.877 MB / 387.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3036, allocations: 34.56 kB / 387.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3036, allocations: 4 kB / 387.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01253/0.3161, allocations: 2.462 MB / 389.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3162, allocations: 55.41 kB / 389.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.3165, allocations: 303.2 kB / 390.1 MB, free: 1.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.3166, allocations: 37.7 kB / 390.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3167, allocations: 224.1 kB / 390.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.3169, allocations: 165.6 kB / 390.5 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.317, allocations: 98.16 kB / 390.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.3172, allocations: 346.8 kB / 390.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.3175, allocations: 153.1 kB / 391.1 MB, free: 424 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.3179, allocations: 279.7 kB / 391.4 MB, free: 92 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.3186, allocations: 468.4 kB / 391.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3186, allocations: 4 kB / 391.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001078/0.3196, allocations: 0.5917 MB / 392.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3197, allocations: 7.938 kB / 392.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3197, allocations: 4 kB / 392.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008397/0.3281, allocations: 1.852 MB / 394.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.3286, allocations: 111.8 kB / 394.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.3308, allocations: 2.463 MB / 396.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.3313, allocations: 35.95 kB / 396.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.3314, allocations: 27.98 kB / 396.9 MB, free: 10.27 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.3317, allocations: 174.2 kB / 397.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3318, allocations: 43.47 kB / 397.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.333, allocations: 0.8475 MB / 398 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.333, allocations: 15.98 kB / 398 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.333, allocations: 0 / 398 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009912/0.334, allocations: 0.9612 MB / 399 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.336, allocations: 1.485 MB / 400.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.336, allocations: 0 / 400.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.3364, allocations: 75.89 kB / 400.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/0.3399, allocations: 0.6218 MB / 401.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.34, allocations: 15.98 kB / 401.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009775/0.341, allocations: 1.28 MB / 402.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.341, allocations: 0 / 402.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.3426, allocations: 1.227 MB / 403.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.3428, allocations: 112.6 kB / 403.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.3429, allocations: 12 kB / 403.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.3433, allocations: 27.88 kB / 403.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.3433, allocations: 40.12 kB / 403.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.3434, allocations: 19.92 kB / 403.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.3436, allocations: 213.9 kB / 404.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3436, allocations: 0 / 404.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008031/0.3444, allocations: 231.9 kB / 404.3 MB, free: 2.621 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007224/0.3452, allocations: 274.9 kB / 404.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3464, allocations: 0.6871 MB / 405.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3465, allocations: 4 kB / 405.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009535/0.3474, allocations: 436.9 kB / 405.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.3487, allocations: 225.1 kB / 405.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3508, allocations: 1.455 MB / 407.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3512, allocations: 0.8324 MB / 408.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.3516, allocations: 68.34 kB / 408.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.3517, allocations: 43.42 kB / 408.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3517, allocations: 0 / 408.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Templates: time 0.02017/0.3719, allocations: 12.18 MB / 420.5 MB, free: 2.348 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)