Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_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.001356/0.001356, allocations: 108.3 kB / 18.41 MB, free: 4.695 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.001485/0.001485, allocations: 182.2 kB / 19.34 MB, free: 3.777 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.29/1.29, allocations: 205.1 MB / 225.2 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.001157/0.001157, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.07102, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.176/0.247, allocations: 37.45 MB / 413.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.2524, allocations: 4.583 MB / 417.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.2529, allocations: 9.938 kB / 417.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000837/0.2538, allocations: 285.3 kB / 418.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2548, allocations: 493.9 kB / 418.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004524/0.2593, allocations: 1.643 MB / 420.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.2608, allocations: 1.272 MB / 421.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.2611, allocations: 175.2 kB / 421.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008008/0.2619, allocations: 485.2 kB / 422.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/0.2626, allocations: 402.2 kB / 422.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.2627, allocations: 46.34 kB / 422.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.2643, allocations: 0.758 MB / 423.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2645, allocations: 129.1 kB / 423.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.2649, allocations: 273.2 kB / 423.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.2665, allocations: 1.054 MB / 424.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2665, allocations: 0.9375 kB / 424.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2665, allocations: 4 kB / 424.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.2665, allocations: 0 / 424.8 MB, free: 12.68 MB / 350.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.001284/0.2678, allocations: 0.7731 MB / 425.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2678, allocations: 9.281 kB / 425.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.2685, allocations: 74.06 kB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.269, allocations: 358.2 kB / 426.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2691, allocations: 27.59 kB / 426.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.2691, allocations: 37.72 kB / 426.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.2698, allocations: 474.3 kB / 426.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.2699, allocations: 6.969 kB / 426.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.2699, allocations: 16.19 kB / 426.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.2699, allocations: 10.56 kB / 426.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.2704, allocations: 309.6 kB / 426.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.284, allocations: 6.73 MB / 433.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.2845, allocations: 282.5 kB / 433.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2847, allocations: 153.7 kB / 434.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.2955, allocations: 3.881 MB / 438 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.2956, allocations: 46.55 kB / 438 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.875e-06/0.2956, allocations: 0 / 438 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01202/0.3076, allocations: 2.443 MB / 440.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3076, allocations: 63.28 kB / 440.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.3079, allocations: 307.3 kB / 440.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.308, allocations: 33.7 kB / 440.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3081, allocations: 224 kB / 441.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3082, allocations: 161.6 kB / 441.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.3084, allocations: 94.25 kB / 441.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3085, allocations: 346.8 kB / 441.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3088, allocations: 157.1 kB / 441.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.3091, allocations: 271.7 kB / 442.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.3097, allocations: 472.2 kB / 442.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3097, allocations: 4 kB / 442.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001041/0.3108, allocations: 0.5877 MB / 443.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3108, allocations: 11.94 kB / 443.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3108, allocations: 4.406 kB / 443.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008428/0.3193, allocations: 1.847 MB / 445 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.3197, allocations: 111.8 kB / 445.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.3217, allocations: 2.561 MB / 447.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.3219, allocations: 20.06 kB / 447.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.322, allocations: 20.88 kB / 447.7 MB, free: 6.414 MB / 366.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.0001967/0.3222, allocations: 181.6 kB / 447.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.3223, allocations: 39.53 kB / 447.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.3234, allocations: 0.8551 MB / 448.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009614/0.3244, allocations: 0.9574 MB / 449.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3244, allocations: 0 / 449.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3245, allocations: 116.5 kB / 449.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.3246, allocations: 19.92 kB / 449.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3249, allocations: 8.688 kB / 449.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.3249, allocations: 28.34 kB / 449.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001454/0.3264, allocations: 0.8512 MB / 450.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001296/0.3277, allocations: 1.173 MB / 451.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003618/0.3281, allocations: 331.5 kB / 452.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.3283, allocations: 213.9 kB / 452.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of Backend: time 6.11e-07/0.3283, allocations: 0 / 452.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.3301, allocations: 0.7311 MB / 453.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of SimCode: time 0.002004/0.3321, allocations: 1.539 MB / 454.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01869/0.3508, allocations: 12.43 MB / 467.1 MB, free: 2.73 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)