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.001254/0.001254, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2128, allocations: 50.54 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0323/0.2451, allocations: 37.52 MB / 447.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.2502, allocations: 4.584 MB / 452.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.2506, allocations: 8 kB / 452.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.2514, allocations: 290.2 kB / 452.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00093/0.2523, allocations: 489.3 kB / 452.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.2566, allocations: 1.649 MB / 454.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.2581, allocations: 1.273 MB / 455.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.2585, allocations: 166.6 kB / 455.9 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007935/0.2593, allocations: 482.5 kB / 456.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/0.26, allocations: 398.4 kB / 456.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.683e-05/0.2601, allocations: 48 kB / 456.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.2616, allocations: 0.7571 MB / 457.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.2618, allocations: 131.6 kB / 457.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.2622, allocations: 278.9 kB / 458 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.2636, allocations: 1.052 MB / 459 MB, free: 332 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2636, allocations: 4 kB / 459 MB, free: 328 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2636, allocations: 0 / 459 MB, free: 328 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.2636, allocations: 0 / 459 MB, free: 328 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.001263/0.2649, allocations: 0.7759 MB / 459.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2649, allocations: 15.95 kB / 459.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006089/0.2656, allocations: 72.44 kB / 459.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.2661, allocations: 339.4 kB / 460.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2661, allocations: 37.38 kB / 460.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.2662, allocations: 40.28 kB / 460.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.2669, allocations: 475.6 kB / 460.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2669, allocations: 0 / 460.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.2669, allocations: 20 kB / 460.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.267, allocations: 8 kB / 460.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.2674, allocations: 307.7 kB / 461.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.2811, allocations: 6.734 MB / 467.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.2816, allocations: 282.4 kB / 468.1 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.2819, allocations: 147.9 kB / 468.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.2928, allocations: 3.889 MB / 472.1 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2929, allocations: 42.5 kB / 472.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.2929, allocations: 0 / 472.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01206/0.3049, allocations: 2.462 MB / 474.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.305, allocations: 59.41 kB / 474.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.3053, allocations: 303.2 kB / 475 MB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.3053, allocations: 33.7 kB / 475 MB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3055, allocations: 224 kB / 475.2 MB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3056, allocations: 165.6 kB / 475.4 MB, free: 14.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.3057, allocations: 94.16 kB / 475.5 MB, free: 14.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3058, allocations: 346.8 kB / 475.8 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.3061, allocations: 157 kB / 476 MB, free: 14.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3064, allocations: 279.7 kB / 476.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.307, allocations: 464.3 kB / 476.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.307, allocations: 4 kB / 476.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001022/0.3081, allocations: 0.5916 MB / 477.3 MB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3081, allocations: 11.94 kB / 477.3 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3081, allocations: 4 kB / 477.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008405/0.3165, allocations: 1.844 MB / 479.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.3169, allocations: 107.8 kB / 479.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.3188, allocations: 2.569 MB / 481.8 MB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3191, allocations: 12 kB / 481.9 MB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.3191, allocations: 24 kB / 481.9 MB, free: 8.004 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.0001873/0.3193, allocations: 185.6 kB / 482.1 MB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.3194, allocations: 39.53 kB / 482.1 MB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.3205, allocations: 0.8514 MB / 483 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009695/0.3215, allocations: 0.9612 MB / 483.9 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3215, allocations: 3.938 kB / 483.9 MB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.3216, allocations: 116.5 kB / 484 MB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.3217, allocations: 16 kB / 484 MB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.3219, allocations: 7.984 kB / 484.1 MB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.322, allocations: 32.34 kB / 484.1 MB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001451/0.3235, allocations: 0.8588 MB / 484.9 MB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001284/0.3248, allocations: 1.169 MB / 486.1 MB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003563/0.3251, allocations: 327.6 kB / 486.4 MB, free: 3.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.3253, allocations: 209.9 kB / 486.6 MB, free: 3.098 MB / 398.1 MB Notification: Performance of Backend: time 3.056e-06/0.3253, allocations: 0 / 486.6 MB, free: 3.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.327, allocations: 0.7343 MB / 487.4 MB, free: 2.348 MB / 398.1 MB Notification: Performance of SimCode: time 0.001928/0.329, allocations: 1.524 MB / 488.9 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of Templates: time 0.01798/0.3469, allocations: 12.44 MB / 0.4896 GB, free: 4.379 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)