Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001564, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001918/0.001919, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2234, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03425/0.2577, allocations: 37.52 MB / 447.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.2627, allocations: 4.58 MB / 452.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.263, allocations: 11.94 kB / 452.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.2638, allocations: 290.2 kB / 452.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000846/0.2646, allocations: 489.3 kB / 452.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.2684, allocations: 1.638 MB / 454.5 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.2697, allocations: 1.273 MB / 455.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.2699, allocations: 166.6 kB / 455.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/0.2705, allocations: 478.5 kB / 456.4 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.2709, allocations: 402.4 kB / 456.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.271, allocations: 48 kB / 456.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.2723, allocations: 0.761 MB / 457.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2724, allocations: 127.6 kB / 457.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.2727, allocations: 282.9 kB / 458 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2738, allocations: 1.044 MB / 459 MB, free: 312 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2738, allocations: 0 / 459 MB, free: 312 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2739, allocations: 4 kB / 459 MB, free: 308 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2739, allocations: 0 / 459 MB, free: 308 kB / 366.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.001024/0.2749, allocations: 0.7759 MB / 459.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2749, allocations: 8.031 kB / 459.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/0.2755, allocations: 80.34 kB / 459.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.276, allocations: 343.5 kB / 460.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.276, allocations: 29.38 kB / 460.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.2761, allocations: 44.28 kB / 460.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.2767, allocations: 471.7 kB / 460.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2768, allocations: 11.92 kB / 460.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.2768, allocations: 16 kB / 460.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2768, allocations: 15.94 kB / 460.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.2773, allocations: 303.7 kB / 461.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.2904, allocations: 6.734 MB / 467.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.2909, allocations: 270.5 kB / 468.1 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.2911, allocations: 160 kB / 468.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.3018, allocations: 3.893 MB / 472.1 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3019, allocations: 34.56 kB / 472.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.973e-06/0.3019, allocations: 0 / 472.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01178/0.3136, allocations: 2.462 MB / 474.6 MB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.3137, allocations: 59.39 kB / 474.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.314, allocations: 303.2 kB / 475 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.314, allocations: 33.69 kB / 475 MB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3141, allocations: 220 kB / 475.2 MB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.3143, allocations: 161.7 kB / 475.4 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3144, allocations: 106.1 kB / 475.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3145, allocations: 346.8 kB / 475.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.3148, allocations: 153.1 kB / 476 MB, free: 14.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.3151, allocations: 267.7 kB / 476.2 MB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.3157, allocations: 476.2 kB / 476.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3157, allocations: 4 kB / 476.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001012/0.3167, allocations: 0.5878 MB / 477.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3167, allocations: 11.94 kB / 477.3 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3168, allocations: 0 / 477.3 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008594/0.3254, allocations: 1.852 MB / 479.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.3258, allocations: 103.9 kB / 479.3 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.3277, allocations: 2.565 MB / 481.8 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3279, allocations: 12 kB / 481.8 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.328, allocations: 20 kB / 481.9 MB, free: 7.992 MB / 398.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.0001892/0.3282, allocations: 197.1 kB / 482.1 MB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.3283, allocations: 43.52 kB / 482.1 MB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3294, allocations: 0.8436 MB / 482.9 MB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009665/0.3304, allocations: 0.9689 MB / 483.9 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3304, allocations: 4 kB / 483.9 MB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/0.3305, allocations: 120.5 kB / 484 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.3305, allocations: 12 kB / 484 MB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3308, allocations: 8 kB / 484 MB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.3309, allocations: 36.33 kB / 484.1 MB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001445/0.3323, allocations: 0.851 MB / 484.9 MB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001282/0.3336, allocations: 1.173 MB / 486.1 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003606/0.334, allocations: 331.6 kB / 486.4 MB, free: 3.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.3342, allocations: 209.9 kB / 486.6 MB, free: 3.07 MB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.3342, allocations: 0 / 486.6 MB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.3359, allocations: 0.7296 MB / 487.4 MB, free: 2.328 MB / 398.1 MB Notification: Performance of SimCode: time 0.001902/0.3378, allocations: 1.531 MB / 488.9 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of Templates: time 0.0182/0.356, allocations: 12.43 MB / 0.4896 GB, free: 4.359 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)