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.001102/0.001102, allocations: 106.6 kB / 18.4 MB, free: 4.66 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.001023/0.001023, allocations: 190.1 kB / 19.34 MB, free: 3.734 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.256/1.256, allocations: 205.1 MB / 225.2 MB, free: 12.19 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.001152/0.001152, allocations: 47.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06996/0.07112, allocations: 46.62 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1727/0.2438, allocations: 37.44 MB / 413.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.249, allocations: 4.578 MB / 417.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2492, allocations: 9.688 kB / 417.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.25, allocations: 296.7 kB / 418.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007541/0.2507, allocations: 484.5 kB / 418.6 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.2548, allocations: 1.643 MB / 420.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.2561, allocations: 1.27 MB / 421.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.2563, allocations: 167.1 kB / 421.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.2569, allocations: 481.3 kB / 422.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.2573, allocations: 409.8 kB / 422.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.2574, allocations: 45.44 kB / 422.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.2587, allocations: 0.7594 MB / 423.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2589, allocations: 128.5 kB / 423.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.2592, allocations: 279 kB / 423.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.2604, allocations: 1.049 MB / 424.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2604, allocations: 0 / 424.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2604, allocations: 1 kB / 424.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2604, allocations: 0 / 424.8 MB, free: 12.47 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.001009/0.2614, allocations: 0.777 MB / 425.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2615, allocations: 9.75 kB / 425.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.262, allocations: 73.28 kB / 425.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.2625, allocations: 351.7 kB / 426 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.2625, allocations: 33.94 kB / 426.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.2626, allocations: 42.47 kB / 426.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.2633, allocations: 475 kB / 426.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2633, allocations: 3.938 kB / 426.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.2634, allocations: 18.44 kB / 426.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2634, allocations: 11.88 kB / 426.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.2638, allocations: 300 kB / 426.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.2766, allocations: 6.733 MB / 433.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.2771, allocations: 270.5 kB / 433.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.2773, allocations: 156.8 kB / 434.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.2876, allocations: 3.893 MB / 437.9 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2876, allocations: 42.48 kB / 438 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.2876, allocations: 0 / 438 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01148/0.2991, allocations: 2.454 MB / 440.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2991, allocations: 59.34 kB / 440.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.2994, allocations: 295.3 kB / 440.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.2995, allocations: 33.7 kB / 440.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2996, allocations: 228 kB / 441 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2997, allocations: 165.6 kB / 441.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.2999, allocations: 94.25 kB / 441.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3, allocations: 346.8 kB / 441.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.3002, allocations: 149.1 kB / 441.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.3006, allocations: 279.7 kB / 442.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.3012, allocations: 472.2 kB / 442.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3012, allocations: 0 / 442.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001009/0.3022, allocations: 0.5916 MB / 443.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3023, allocations: 8 kB / 443.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3023, allocations: 11.88 kB / 443.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007674/0.31, allocations: 1.844 MB / 445 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.3104, allocations: 111.9 kB / 445.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.3123, allocations: 2.559 MB / 447.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3125, allocations: 16 kB / 447.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.3126, allocations: 24 kB / 447.7 MB, free: 6.258 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.0001905/0.3128, allocations: 185.7 kB / 447.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.3128, allocations: 39.53 kB / 447.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.314, allocations: 0.8552 MB / 448.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009973/0.315, allocations: 0.9543 MB / 449.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.315, allocations: 0 / 449.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.3151, allocations: 116.6 kB / 449.8 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3152, allocations: 16 kB / 449.8 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.3154, allocations: 8 kB / 449.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3155, allocations: 28.34 kB / 449.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001444/0.317, allocations: 0.851 MB / 450.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001315/0.3183, allocations: 1.188 MB / 451.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003643/0.3187, allocations: 327.6 kB / 452.2 MB, free: 1.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3189, allocations: 209.9 kB / 452.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of Backend: time 8.32e-07/0.3189, allocations: 0 / 452.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.3207, allocations: 0.7279 MB / 453.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of SimCode: time 0.001966/0.3227, allocations: 1.549 MB / 454.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Templates: time 0.0183/0.341, allocations: 12.61 MB / 467.3 MB, free: 2.379 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)