Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001066/0.001066, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 195.9 kB / 16.53 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.341/1.341, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001258/0.001258, allocations: 52.34 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1971, allocations: 46.64 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03657/0.2337, allocations: 37.44 MB / 362.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.2393, allocations: 4.584 MB / 367.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.2397, allocations: 8 kB / 367.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008388/0.2405, allocations: 290.2 kB / 367.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009077/0.2415, allocations: 481.3 kB / 368.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.2462, allocations: 1.643 MB / 369.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.2477, allocations: 1.273 MB / 371 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.248, allocations: 170.5 kB / 371.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.2487, allocations: 470.5 kB / 371.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.2492, allocations: 414.3 kB / 372 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.2493, allocations: 44 kB / 372.1 MB, free: 5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.251, allocations: 0.7493 MB / 372.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.2512, allocations: 135.6 kB / 373 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.2515, allocations: 275 kB / 373.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.2528, allocations: 1.044 MB / 374.3 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2528, allocations: 0 / 374.3 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2528, allocations: 4 kB / 374.3 MB, free: 2.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2529, allocations: 3.938 kB / 374.3 MB, free: 2.793 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.001034/0.2539, allocations: 0.772 MB / 375.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2539, allocations: 15.89 kB / 375.1 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.2545, allocations: 76.34 kB / 375.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.2549, allocations: 327.5 kB / 375.5 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.255, allocations: 33.38 kB / 375.5 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.255, allocations: 48.28 kB / 375.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.2557, allocations: 471.6 kB / 376 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.2557, allocations: 4 kB / 376 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.2558, allocations: 16 kB / 376 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.2558, allocations: 12 kB / 376 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.2562, allocations: 303.6 kB / 376.3 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.2699, allocations: 6.758 MB / 383.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.2704, allocations: 270.5 kB / 383.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.2707, allocations: 152.8 kB / 383.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.2813, allocations: 3.885 MB / 387.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2814, allocations: 38.56 kB / 387.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.575e-06/0.2814, allocations: 0 / 387.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01189/0.2933, allocations: 2.458 MB / 389.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2934, allocations: 59.41 kB / 389.9 MB, free: 2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.2938, allocations: 311.1 kB / 390.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2938, allocations: 29.7 kB / 390.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2939, allocations: 220.1 kB / 390.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2941, allocations: 169.6 kB / 390.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.2942, allocations: 98.16 kB / 390.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2943, allocations: 346.8 kB / 391.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.2946, allocations: 153.1 kB / 391.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.295, allocations: 279.7 kB / 391.5 MB, free: 348 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.2956, allocations: 472.3 kB / 392 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2956, allocations: 4 kB / 392 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001097/0.2967, allocations: 0.5839 MB / 392.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2968, allocations: 16.39 kB / 392.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2968, allocations: 4 kB / 392.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007875/0.3047, allocations: 1.851 MB / 394.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.3051, allocations: 107.8 kB / 394.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.3072, allocations: 2.558 MB / 397.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.3075, allocations: 12 kB / 397.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.3075, allocations: 20 kB / 397.1 MB, free: 10.45 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.0002177/0.3077, allocations: 181.7 kB / 397.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.3078, allocations: 43.53 kB / 397.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.309, allocations: 0.8514 MB / 398.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.309, allocations: 12 kB / 398.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.309, allocations: 0 / 398.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009462/0.31, allocations: 0.9573 MB / 399.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.3118, allocations: 1.5 MB / 400.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3119, allocations: 4 kB / 400.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.3122, allocations: 79.94 kB / 400.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/0.3155, allocations: 0.614 MB / 401.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.3155, allocations: 19.94 kB / 401.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009505/0.3165, allocations: 1.28 MB / 402.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.3165, allocations: 4.125 kB / 402.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.318, allocations: 1.215 MB / 403.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3182, allocations: 120.5 kB / 404 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.3182, allocations: 12 kB / 404 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3185, allocations: 15.94 kB / 404 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.3185, allocations: 35.95 kB / 404.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.3186, allocations: 8 kB / 404.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3188, allocations: 213.9 kB / 404.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3188, allocations: 0 / 404.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008342/0.3197, allocations: 231.9 kB / 404.5 MB, free: 2.801 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.0006129/0.3203, allocations: 283 kB / 404.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3217, allocations: 0.7182 MB / 405.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3217, allocations: 4 kB / 405.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008793/0.3226, allocations: 433 kB / 405.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.3239, allocations: 229.5 kB / 406.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3257, allocations: 1.241 MB / 407.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3261, allocations: 0.8477 MB / 408.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.3264, allocations: 72.33 kB / 408.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.3265, allocations: 43.44 kB / 408.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3265, allocations: 4 kB / 408.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01935/0.3458, allocations: 12.64 MB / 421 MB, free: 2.215 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)