Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002499/0.002499, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.755/1.755, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3509/0.3509, allocations: 37.98 MB / 307.3 MB, free: 9.852 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 60.38 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1492, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4499/0.5992, allocations: 150.9 MB / 0.5683 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.6038, allocations: 3.746 MB / 0.5719 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.6039, allocations: 0 / 0.5719 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.6042, allocations: 27.88 kB / 0.572 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.6043, allocations: 31.7 kB / 0.572 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.6055, allocations: 383.2 kB / 0.5724 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.6056, allocations: 71.64 kB / 0.5724 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.6057, allocations: 4 kB / 0.5724 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.6058, allocations: 35.86 kB / 0.5725 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.6058, allocations: 23.92 kB / 0.5725 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.6059, allocations: 0 / 0.5725 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.6069, allocations: 0.491 MB / 0.573 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.6069, allocations: 7.938 kB / 0.573 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.607, allocations: 31.86 kB / 0.573 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.6075, allocations: 311.3 kB / 0.5733 GB, free: 12.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6075, allocations: 4 kB / 0.5733 GB, free: 12.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.6075, allocations: 3.938 kB / 0.5733 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.6075, allocations: 0 / 0.5733 GB, free: 12.18 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006444/0.6082, allocations: 402.1 kB / 0.5737 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6082, allocations: 8.031 kB / 0.5737 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.6083, allocations: 12.59 kB / 0.5737 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6084, allocations: 175.7 kB / 0.5739 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.6085, allocations: 0 / 0.5739 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.6085, allocations: 8 kB / 0.5739 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.6087, allocations: 77.61 kB / 0.574 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6087, allocations: 7.984 kB / 0.574 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.6087, allocations: 4 kB / 0.574 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6087, allocations: 0 / 0.574 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.6088, allocations: 47.97 kB / 0.574 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.6093, allocations: 369.8 kB / 0.5744 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.6095, allocations: 66.5 kB / 0.5744 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.6095, allocations: 24.84 kB / 0.5745 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/0.6113, allocations: 1.239 MB / 0.5757 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.6114, allocations: 34.56 kB / 0.5757 GB, free: 9.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.6114, allocations: 0 / 0.5757 GB, free: 9.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.006913/0.6183, allocations: 0.6648 MB / 0.5763 GB, free: 8.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.6184, allocations: 55.41 kB / 0.5764 GB, free: 8.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.6185, allocations: 101.8 kB / 0.5765 GB, free: 8.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.6185, allocations: 33.7 kB / 0.5765 GB, free: 8.434 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.6186, allocations: 92.23 kB / 0.5766 GB, free: 8.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.6187, allocations: 47.3 kB / 0.5767 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6188, allocations: 45.67 kB / 0.5767 GB, free: 8.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6189, allocations: 318.8 kB / 0.577 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.6191, allocations: 79.94 kB / 0.5771 GB, free: 7.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.6193, allocations: 106.5 kB / 0.5772 GB, free: 7.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.6198, allocations: 202.6 kB / 0.5774 GB, free: 7.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6198, allocations: 0 / 0.5774 GB, free: 7.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005579/0.6203, allocations: 250.1 kB / 0.5776 GB, free: 7.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6204, allocations: 4 kB / 0.5776 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6204, allocations: 8.047 kB / 0.5776 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6204, allocations: 4 kB / 0.5776 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.6211, allocations: 47.89 kB / 0.5777 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.6211, allocations: 4 kB / 0.5777 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.6217, allocations: 15.98 kB / 0.5777 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.6217, allocations: 15.98 kB / 0.5777 GB, free: 7.176 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.6218, allocations: 109.8 kB / 0.5778 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.6219, allocations: 8.812 kB / 0.5778 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008688/0.6228, allocations: 363.1 kB / 0.5782 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6228, allocations: 0 / 0.5782 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6228, allocations: 4 kB / 0.5782 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6228, allocations: 0 / 0.5782 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.624, allocations: 0.7588 MB / 0.5789 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.624, allocations: 0 / 0.5789 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/0.6246, allocations: 46.09 kB / 0.579 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6246, allocations: 3.938 kB / 0.579 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.6246, allocations: 11.98 kB / 0.579 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6247, allocations: 0 / 0.579 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6247, allocations: 0 / 0.579 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.6253, allocations: 361.9 kB / 0.5793 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6254, allocations: 101 kB / 0.5794 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.6254, allocations: 7.984 kB / 0.5794 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.626, allocations: 8 kB / 0.5794 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.626, allocations: 23.97 kB / 0.5795 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.6261, allocations: 8 kB / 0.5795 GB, free: 5.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.6261, allocations: 91.2 kB / 0.5796 GB, free: 5.172 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6261, allocations: 3.938 kB / 0.5796 GB, free: 5.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004465/0.6266, allocations: 99.92 kB / 0.5797 GB, free: 5.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004539/0.627, allocations: 229.8 kB / 0.5799 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005081/0.6275, allocations: 210.2 kB / 0.5801 GB, free: 4.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6276, allocations: 0 / 0.5801 GB, free: 4.633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.6278, allocations: 119.8 kB / 0.5802 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.6283, allocations: 33.64 kB / 0.5802 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.629, allocations: 293.7 kB / 0.5805 GB, free: 4.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.6294, allocations: 0.6972 MB / 0.5812 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004558/0.6298, allocations: 60.77 kB / 0.5812 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.6301, allocations: 39.38 kB / 0.5813 GB, free: 3.359 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6301, allocations: 4 kB / 0.5813 GB, free: 3.355 MB / 446.1 MB Notification: Performance of Templates: time 0.01058/0.6407, allocations: 6.022 MB / 0.5872 GB, free: 13.33 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)