Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001357/0.001357, 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.001604/0.001604, 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.349/1.349, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2969/0.2969, allocations: 40 MB / 310.4 MB, free: 9.703 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.2. 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.0005032/0.0005032, allocations: 12 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09944, allocations: 57.95 MB / 436.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3081/0.4075, allocations: 126.9 MB / 0.5504 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.4107, allocations: 2.57 MB / 0.5529 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.4108, allocations: 0 / 0.5529 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.411, allocations: 37.48 kB / 0.553 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.411, allocations: 34.38 kB / 0.553 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4122, allocations: 372.9 kB / 0.5533 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.4123, allocations: 54.61 kB / 0.5534 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.4123, allocations: 3.719 kB / 0.5534 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.4124, allocations: 27.41 kB / 0.5534 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.4125, allocations: 32.69 kB / 0.5535 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.4125, allocations: 0 / 0.5535 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.4136, allocations: 496.8 kB / 0.5539 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.4137, allocations: 12.73 kB / 0.5539 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.4137, allocations: 39.86 kB / 0.554 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.4141, allocations: 189.8 kB / 0.5542 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.4141, allocations: 0 / 0.5542 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4141, allocations: 0 / 0.5542 GB, free: 15.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.4141, allocations: 0 / 0.5542 GB, free: 15.09 MB / 430.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.0005433/0.4146, allocations: 401.3 kB / 0.5545 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4147, allocations: 9.812 kB / 0.5545 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.4147, allocations: 7.188 kB / 0.5546 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.4149, allocations: 171.6 kB / 0.5547 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4149, allocations: 7.406 kB / 0.5547 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4149, allocations: 9.562 kB / 0.5547 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.415, allocations: 70.16 kB / 0.5548 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4151, allocations: 0.5156 kB / 0.5548 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4151, allocations: 4 kB / 0.5548 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4151, allocations: 3.25 kB / 0.5548 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.4152, allocations: 44.52 kB / 0.5549 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.4156, allocations: 387.6 kB / 0.5552 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.708e-05/0.4157, allocations: 71.86 kB / 0.5553 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.4169, allocations: 1.011 MB / 0.5563 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4169, allocations: 30.56 kB / 0.5563 GB, free: 12.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4169, allocations: 0 / 0.5563 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006834/0.4238, allocations: 0.6722 MB / 0.557 GB, free: 12.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.4238, allocations: 51.41 kB / 0.557 GB, free: 12.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.4239, allocations: 109.1 kB / 0.5571 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.424, allocations: 33.7 kB / 0.5571 GB, free: 12.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.424, allocations: 88.27 kB / 0.5572 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.4241, allocations: 48.3 kB / 0.5573 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.4241, allocations: 0 / 0.5573 GB, free: 12.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.4242, allocations: 321.3 kB / 0.5576 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.4244, allocations: 83.08 kB / 0.5577 GB, free: 11.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.4246, allocations: 114.4 kB / 0.5578 GB, free: 11.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.4248, allocations: 94.03 kB / 0.5579 GB, free: 11.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4248, allocations: 0 / 0.5579 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005199/0.4254, allocations: 244.6 kB / 0.5581 GB, free: 11.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4254, allocations: 4 kB / 0.5581 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4254, allocations: 1.219 kB / 0.5581 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.4254, allocations: 4 kB / 0.5581 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.4261, allocations: 52.75 kB / 0.5582 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4261, allocations: 4 kB / 0.5582 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.4267, allocations: 14.2 kB / 0.5582 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.4267, allocations: 13.48 kB / 0.5582 GB, free: 11.44 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.0001118/0.4268, allocations: 122.6 kB / 0.5583 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.4269, allocations: 4 kB / 0.5583 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.4277, allocations: 350.4 kB / 0.5586 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4277, allocations: 4.984 kB / 0.5586 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4277, allocations: 0 / 0.5586 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4277, allocations: 5.125 kB / 0.5586 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.4288, allocations: 0.758 MB / 0.5594 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4288, allocations: 3.938 kB / 0.5594 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.4295, allocations: 50.08 kB / 0.5594 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4295, allocations: 0 / 0.5594 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.4295, allocations: 12.03 kB / 0.5595 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4295, allocations: 0 / 0.5595 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4295, allocations: 4 kB / 0.5595 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.4301, allocations: 358.4 kB / 0.5598 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4302, allocations: 110.2 kB / 0.5599 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.4302, allocations: 4 kB / 0.5599 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.4308, allocations: 10.16 kB / 0.5599 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.4309, allocations: 14.52 kB / 0.5599 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.4309, allocations: 10.16 kB / 0.5599 GB, free: 9.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.4309, allocations: 85.44 kB / 0.56 GB, free: 9.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4309, allocations: 0 / 0.56 GB, free: 9.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.4314, allocations: 96.31 kB / 0.5601 GB, free: 9.57 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.0003925/0.4318, allocations: 224.3 kB / 0.5603 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005031/0.4323, allocations: 211.9 kB / 0.5605 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4323, allocations: 0 / 0.5605 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.4325, allocations: 119.6 kB / 0.5606 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.4329, allocations: 25.89 kB / 0.5607 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.4334, allocations: 305.2 kB / 0.561 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.4337, allocations: 0.7035 MB / 0.5616 GB, free: 8.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.4342, allocations: 65.11 kB / 0.5617 GB, free: 8.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.4344, allocations: 42.44 kB / 0.5617 GB, free: 7.988 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4344, allocations: 0 / 0.5617 GB, free: 7.988 MB / 430.1 MB Notification: Performance of Templates: time 0.009483/0.4439, allocations: 5.905 MB / 0.5675 GB, free: 2.461 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) Environment - environmentSimulation: