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.001815/0.001824, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002418/0.002418, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3396/0.3396, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.000521/0.0005211, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 57.51 MB / 433.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3749/0.4936, allocations: 126.9 MB / 0.5476 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.4974, allocations: 2.568 MB / 0.5501 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.4975, allocations: 1.375 kB / 0.5501 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.4977, allocations: 38.66 kB / 0.5502 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.4978, allocations: 36.09 kB / 0.5502 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.4993, allocations: 368.6 kB / 0.5506 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.4995, allocations: 54.94 kB / 0.5506 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.4995, allocations: 3.062 kB / 0.5506 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.807e-05/0.4996, allocations: 31.25 kB / 0.5506 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.4997, allocations: 27.69 kB / 0.5507 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.4997, allocations: 3 kB / 0.5507 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.501, allocations: 494.8 kB / 0.5511 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.5011, allocations: 7.719 kB / 0.5512 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.5011, allocations: 45.89 kB / 0.5512 GB, free: 2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.5016, allocations: 189.7 kB / 0.5514 GB, free: 1.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.5016, allocations: 0 / 0.5514 GB, free: 1.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5016, allocations: 0 / 0.5514 GB, free: 1.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.5016, allocations: 0 / 0.5514 GB, free: 1.965 MB / 414.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.0007057/0.5023, allocations: 405.9 kB / 0.5518 GB, free: 1.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5024, allocations: 7.25 kB / 0.5518 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.5024, allocations: 11.53 kB / 0.5518 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.5026, allocations: 166.3 kB / 0.5519 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.5026, allocations: 12.78 kB / 0.552 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.5026, allocations: 6.812 kB / 0.552 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.5028, allocations: 68.42 kB / 0.552 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5029, allocations: 0.7031 kB / 0.552 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.5029, allocations: 4.516 kB / 0.552 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5029, allocations: 6.797 kB / 0.552 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.503, allocations: 43.88 kB / 0.5521 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.5035, allocations: 380.3 kB / 0.5524 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.5036, allocations: 70.33 kB / 0.5525 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.505, allocations: 1.017 MB / 0.5535 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.505, allocations: 34.02 kB / 0.5535 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.505, allocations: 0 / 0.5535 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006939/0.512, allocations: 0.6652 MB / 0.5542 GB, free: 15.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.512, allocations: 54.19 kB / 0.5542 GB, free: 15.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.5121, allocations: 107.5 kB / 0.5543 GB, free: 15.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.5122, allocations: 32.55 kB / 0.5544 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.5122, allocations: 89.67 kB / 0.5545 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.5123, allocations: 45.45 kB / 0.5545 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.5123, allocations: 4 kB / 0.5545 GB, free: 15.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5124, allocations: 323.4 kB / 0.5548 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.5126, allocations: 82.97 kB / 0.5549 GB, free: 14.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.5129, allocations: 109.6 kB / 0.555 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.5131, allocations: 87.41 kB / 0.5551 GB, free: 14.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.5131, allocations: 3.938 kB / 0.5551 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000558/0.5136, allocations: 247.7 kB / 0.5553 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5137, allocations: 5.344 kB / 0.5553 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5137, allocations: 0 / 0.5553 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5137, allocations: 3.328 kB / 0.5553 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.5144, allocations: 52.67 kB / 0.5554 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5144, allocations: 3.672 kB / 0.5554 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.515, allocations: 15.53 kB / 0.5554 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.515, allocations: 11.89 kB / 0.5554 GB, free: 14.68 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.5152, allocations: 123.7 kB / 0.5555 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.5152, allocations: 6.844 kB / 0.5555 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008802/0.5161, allocations: 352.9 kB / 0.5559 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5161, allocations: 2.781 kB / 0.5559 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5162, allocations: 4.594 kB / 0.5559 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5162, allocations: 4.562 kB / 0.5559 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.5174, allocations: 0.7643 MB / 0.5566 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5174, allocations: 0 / 0.5566 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.518, allocations: 49.28 kB / 0.5567 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.518, allocations: 0 / 0.5567 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.5181, allocations: 11.2 kB / 0.5567 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5181, allocations: 7.5 kB / 0.5567 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5181, allocations: 0 / 0.5567 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.5188, allocations: 352 kB / 0.557 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5189, allocations: 108.6 kB / 0.5571 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.5189, allocations: 0 / 0.5571 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.5195, allocations: 14.94 kB / 0.5571 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.5196, allocations: 17.33 kB / 0.5572 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.5196, allocations: 9.906 kB / 0.5572 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.5197, allocations: 89.27 kB / 0.5573 GB, free: 13.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5197, allocations: 0 / 0.5573 GB, free: 13.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005799/0.5203, allocations: 94.52 kB / 0.5573 GB, free: 13.35 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000582/0.5208, allocations: 223.5 kB / 0.5576 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.5214, allocations: 208.8 kB / 0.5578 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5214, allocations: 0 / 0.5578 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.5216, allocations: 119 kB / 0.5579 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.522, allocations: 28.92 kB / 0.5579 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.5227, allocations: 305.2 kB / 0.5582 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.523, allocations: 0.6965 MB / 0.5589 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000484/0.5235, allocations: 66.62 kB / 0.5589 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.5237, allocations: 41.11 kB / 0.559 GB, free: 12.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5237, allocations: 0 / 0.559 GB, free: 12.16 MB / 430.1 MB Notification: Performance of Templates: time 0.01257/0.5363, allocations: 5.906 MB / 0.5647 GB, free: 7.066 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: