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.001413/0.001419, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00189/0.00189, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.839/1.839, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3994/0.3994, allocations: 39.93 MB / 309.4 MB, free: 8.996 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.001645/0.001645, allocations: 63.91 kB / 377.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 56.88 MB / 434 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4805/0.6246, allocations: 151 MB / 0.5713 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.6291, allocations: 3.619 MB / 0.5748 GB, free: 8.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.6291, allocations: 7.938 kB / 0.5748 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.6294, allocations: 39.78 kB / 0.5749 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.6295, allocations: 15.8 kB / 0.5749 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.6308, allocations: 407.1 kB / 0.5753 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.6309, allocations: 67.61 kB / 0.5753 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.6309, allocations: 8 kB / 0.5753 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.631, allocations: 35.84 kB / 0.5754 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.6311, allocations: 23.92 kB / 0.5754 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.6311, allocations: 4 kB / 0.5754 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.6321, allocations: 494.8 kB / 0.5759 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.6322, allocations: 15.86 kB / 0.5759 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.6322, allocations: 27.86 kB / 0.5759 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.6327, allocations: 315.3 kB / 0.5762 GB, free: 7.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6327, allocations: 0 / 0.5762 GB, free: 7.496 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.6328, allocations: 4 kB / 0.5762 GB, free: 7.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.6328, allocations: 0 / 0.5762 GB, free: 7.492 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.000563/0.6333, allocations: 407 kB / 0.5766 GB, free: 7.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.6334, allocations: 19.83 kB / 0.5766 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.6334, allocations: 4.844 kB / 0.5766 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.6336, allocations: 171.7 kB / 0.5768 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.6336, allocations: 7.938 kB / 0.5768 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.6336, allocations: 8 kB / 0.5768 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.6338, allocations: 69.66 kB / 0.5769 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6338, allocations: 7.906 kB / 0.5769 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.6338, allocations: 0 / 0.5769 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6338, allocations: 0 / 0.5769 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.462e-05/0.6339, allocations: 55.91 kB / 0.5769 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.6344, allocations: 369.8 kB / 0.5773 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.6345, allocations: 70.53 kB / 0.5773 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.6346, allocations: 24.98 kB / 0.5774 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/0.6364, allocations: 1.231 MB / 0.5786 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.6364, allocations: 34.56 kB / 0.5786 GB, free: 4.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.6365, allocations: 3.938 kB / 0.5786 GB, free: 4.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007123/0.6436, allocations: 0.661 MB / 0.5793 GB, free: 3.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.6437, allocations: 55.41 kB / 0.5793 GB, free: 3.883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.6438, allocations: 101.8 kB / 0.5794 GB, free: 3.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.6438, allocations: 33.7 kB / 0.5794 GB, free: 3.734 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.6439, allocations: 92.31 kB / 0.5795 GB, free: 3.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.6439, allocations: 51.28 kB / 0.5796 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.6441, allocations: 45.67 kB / 0.5796 GB, free: 3.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6442, allocations: 310.8 kB / 0.5799 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.6444, allocations: 83.94 kB / 0.58 GB, free: 3.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.6447, allocations: 104.1 kB / 0.5801 GB, free: 3.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.6451, allocations: 204.1 kB / 0.5803 GB, free: 2.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.6451, allocations: 0 / 0.5803 GB, free: 2.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005511/0.6457, allocations: 253.9 kB / 0.5805 GB, free: 2.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6457, allocations: 4 kB / 0.5805 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.6457, allocations: 1.562 kB / 0.5805 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6457, allocations: 11.98 kB / 0.5805 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.6464, allocations: 51.95 kB / 0.5806 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.6465, allocations: 3.984 kB / 0.5806 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.6471, allocations: 15.94 kB / 0.5806 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.6472, allocations: 15.98 kB / 0.5806 GB, free: 2.473 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.0001256/0.6473, allocations: 117.7 kB / 0.5807 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.6473, allocations: 15.83 kB / 0.5808 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008266/0.6482, allocations: 340.3 kB / 0.5811 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6482, allocations: 0 / 0.5811 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6482, allocations: 4 kB / 0.5811 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6482, allocations: 4 kB / 0.5811 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.6494, allocations: 0.753 MB / 0.5818 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6494, allocations: 7.062 kB / 0.5818 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.6501, allocations: 51.89 kB / 0.5819 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6501, allocations: 0 / 0.5819 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.6501, allocations: 4 kB / 0.5819 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6501, allocations: 4 kB / 0.5819 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6501, allocations: 3.984 kB / 0.5819 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.6507, allocations: 358.2 kB / 0.5822 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6508, allocations: 101 kB / 0.5823 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.6509, allocations: 8 kB / 0.5823 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.6514, allocations: 4 kB / 0.5823 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.6515, allocations: 27.91 kB / 0.5824 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.6515, allocations: 8 kB / 0.5824 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.549e-05/0.6516, allocations: 91.2 kB / 0.5825 GB, free: 480 kB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6516, allocations: 0 / 0.5825 GB, free: 480 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.6521, allocations: 99.92 kB / 0.5826 GB, free: 380 kB / 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.0004799/0.6526, allocations: 219 kB / 0.5828 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005263/0.6531, allocations: 219.8 kB / 0.583 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6531, allocations: 0 / 0.583 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.6533, allocations: 119.8 kB / 0.5831 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.6538, allocations: 34.69 kB / 0.5831 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.6545, allocations: 295.6 kB / 0.5834 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.6548, allocations: 0.7008 MB / 0.5841 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004607/0.6553, allocations: 60.75 kB / 0.5841 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.6555, allocations: 27.41 kB / 0.5842 GB, free: 14.67 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6555, allocations: 4 kB / 0.5842 GB, free: 14.66 MB / 462.1 MB Notification: Performance of Templates: time 0.01059/0.6661, allocations: 6.241 MB / 0.5903 GB, free: 8.438 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (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)