Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001305/0.001305, allocations: 100 kB / 15.05 MB, free: 1.105 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.001557/0.001557, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004355/0.0004356, allocations: 8 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2059, allocations: 47.59 MB / 326.4 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01843/0.2244, allocations: 16.38 MB / 342.8 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005941/0.2304, allocations: 4.775 MB / 347.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.2307, allocations: 3.938 kB / 347.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.2313, allocations: 175.2 kB / 347.8 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.2318, allocations: 227.3 kB / 348 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.2354, allocations: 1.192 MB / 349.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.2361, allocations: 0.4912 MB / 349.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.2363, allocations: 76.62 kB / 349.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009185/0.2455, allocations: 7.219 MB / 357 MB, free: 4.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.2457, allocations: 187.3 kB / 357.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.2458, allocations: 12 kB / 357.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2473, allocations: 0.7258 MB / 357.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.2474, allocations: 71.78 kB / 358 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2475, allocations: 93.58 kB / 358 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.2483, allocations: 0.5976 MB / 358.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2483, allocations: 0 / 358.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2483, allocations: 7.938 kB / 358.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2483, allocations: 0 / 358.7 MB, free: 3.23 MB / 286.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.0008192/0.2491, allocations: 0.5846 MB / 359.2 MB, free: 2.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.2492, allocations: 8.031 kB / 359.2 MB, free: 2.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/0.2496, allocations: 55.69 kB / 359.3 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.25, allocations: 270.5 kB / 359.6 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.25, allocations: 20.56 kB / 359.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.2501, allocations: 32 kB / 359.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.2505, allocations: 330.4 kB / 359.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.2506, allocations: 7.953 kB / 359.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.2506, allocations: 16 kB / 360 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2506, allocations: 4 kB / 360 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.2509, allocations: 210 kB / 360.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.2633, allocations: 5.908 MB / 366.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.2637, allocations: 179.2 kB / 366.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.274, allocations: 3.877 MB / 370.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.274, allocations: 34.7 kB / 370.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.735e-06/0.2741, allocations: 0 / 370.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.006329/0.2804, allocations: 1.42 MB / 371.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2805, allocations: 55.41 kB / 371.6 MB, free: 5.211 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.2808, allocations: 262.5 kB / 371.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2808, allocations: 29.7 kB / 371.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.281, allocations: 192 kB / 372.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.281, allocations: 94.64 kB / 372.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.281, allocations: 4 kB / 372.2 MB, free: 4.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2812, allocations: 342.8 kB / 372.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2814, allocations: 87.97 kB / 372.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.2816, allocations: 190.6 kB / 372.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.2818, allocations: 116 kB / 372.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2818, allocations: 0 / 372.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006991/0.2825, allocations: 402.7 kB / 373.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.2826, allocations: 8 kB / 373.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2826, allocations: 4 kB / 373.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/0.2859, allocations: 401.7 kB / 373.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.2862, allocations: 71.84 kB / 373.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.2878, allocations: 1.883 MB / 375.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.2881, allocations: 20.06 kB / 375.7 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2881, allocations: 12 kB / 375.7 MB, free: 0.8945 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.2884, allocations: 165.7 kB / 375.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.2884, allocations: 23.72 kB / 375.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.2892, allocations: 0.4909 MB / 376.4 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2892, allocations: 0 / 376.4 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2893, allocations: 7.953 kB / 376.4 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006832/0.2899, allocations: 0.7196 MB / 377.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2914, allocations: 0.9417 MB / 378.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2914, allocations: 0 / 378.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2916, allocations: 47.94 kB / 378.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.2933, allocations: 332.2 kB / 378.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.2934, allocations: 15.98 kB / 378.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004567/0.2938, allocations: 0.6422 MB / 379.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2939, allocations: 0 / 379.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.2947, allocations: 0.7336 MB / 379.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2949, allocations: 108.8 kB / 379.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.2949, allocations: 11.94 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2951, allocations: 15.92 kB / 380 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.2952, allocations: 16.05 kB / 380 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.2952, allocations: 19.94 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.2954, allocations: 185.9 kB / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2954, allocations: 0 / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007166/0.2961, allocations: 183.9 kB / 380.3 MB, free: 12 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006342/0.2968, allocations: 275 kB / 380.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007873/0.2976, allocations: 442.9 kB / 381 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2976, allocations: 0 / 381 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.2981, allocations: 232.2 kB / 381.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.299, allocations: 172.4 kB / 381.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3004, allocations: 0.9331 MB / 382.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3008, allocations: 0.7915 MB / 383.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.3011, allocations: 46.95 kB / 383.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.3011, allocations: 39.42 kB / 383.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3011, allocations: 0 / 383.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of Templates: time 0.01587/0.317, allocations: 9.349 MB / 392.6 MB, free: 15.66 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) Environment - environmentSimulation: