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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.01152/0.01152, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.97/1.97, allocations: 194.5 MB / 210.3 MB, free: 7.523 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001692/0.001692, allocations: 124.5 kB / 255.6 MB, free: 10.13 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2387/0.2387, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.000417, allocations: 18.69 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 54.86 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.807/1.953, allocations: 0.6067 GB / 1.057 GB, free: 29.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/1.953, allocations: 79.08 kB / 1.057 GB, free: 29.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3853/2.338, allocations: 45.46 MB / 1.101 GB, free: 162.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.895e-06/2.339, allocations: 0 / 1.101 GB, free: 162.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/2.339, allocations: 1.406 kB / 1.101 GB, free: 162.3 MB / 490.7 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.0006259/2.339, allocations: 426 kB / 1.102 GB, free: 161.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/2.339, allocations: 10.34 kB / 1.102 GB, free: 161.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/2.339, allocations: 13.62 kB / 1.102 GB, free: 161.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/2.339, allocations: 170.7 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/2.339, allocations: 2.75 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/2.339, allocations: 8.281 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/2.34, allocations: 72.75 kB / 1.102 GB, free: 161.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/2.34, allocations: 0 / 1.102 GB, free: 161.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/2.34, allocations: 10.12 kB / 1.102 GB, free: 161.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/2.34, allocations: 1.969 kB / 1.102 GB, free: 161.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/2.34, allocations: 46.38 kB / 1.102 GB, free: 161.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/2.34, allocations: 389 kB / 1.102 GB, free: 161.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/2.34, allocations: 66.22 kB / 1.103 GB, free: 161.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/2.341, allocations: 0.9923 MB / 1.104 GB, free: 160.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/2.341, allocations: 38.33 kB / 1.104 GB, free: 160.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/2.341, allocations: 2.156 kB / 1.104 GB, free: 160.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.005595/2.347, allocations: 0.6498 MB / 1.104 GB, free: 160.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/2.347, allocations: 56.73 kB / 1.104 GB, free: 160.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.321e-05/2.347, allocations: 105.5 kB / 1.104 GB, free: 160 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/2.347, allocations: 34.08 kB / 1.104 GB, free: 159.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/2.347, allocations: 85.7 kB / 1.104 GB, free: 159.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/2.347, allocations: 47.77 kB / 1.104 GB, free: 159.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/2.347, allocations: 5.312 kB / 1.105 GB, free: 159.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/2.347, allocations: 320 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/2.348, allocations: 78.28 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/2.348, allocations: 108 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/2.348, allocations: 84.33 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/2.348, allocations: 0.9062 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005377/2.349, allocations: 244.6 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/2.349, allocations: 5.125 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/2.349, allocations: 4.469 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/2.349, allocations: 1.094 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/2.349, allocations: 53.16 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/2.349, allocations: 1.406 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/2.35, allocations: 24.2 kB / 1.105 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/2.35, allocations: 16.7 kB / 1.105 GB, free: 159.4 MB / 490.7 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.0001004/2.35, allocations: 117.1 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/2.35, allocations: 3.5 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/2.351, allocations: 351.1 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/2.351, allocations: 1.938 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/2.351, allocations: 1.156 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/2.351, allocations: 3.062 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/2.352, allocations: 0.7482 MB / 1.107 GB, free: 158.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/2.352, allocations: 1.438 kB / 1.107 GB, free: 158.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/2.352, allocations: 43.42 kB / 1.107 GB, free: 158.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/2.352, allocations: 3.094 kB / 1.107 GB, free: 158.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/2.352, allocations: 6.766 kB / 1.107 GB, free: 158.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/2.352, allocations: 0.75 kB / 1.107 GB, free: 158.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.352, allocations: 3.25 kB / 1.107 GB, free: 158.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/2.353, allocations: 348.2 kB / 1.107 GB, free: 158.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/2.353, allocations: 103.4 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/2.353, allocations: 4.438 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/2.354, allocations: 12.14 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/2.354, allocations: 17.53 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/2.354, allocations: 11.94 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.326e-05/2.354, allocations: 85.67 kB / 1.107 GB, free: 158.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.354, allocations: 7.875 kB / 1.107 GB, free: 158.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007656/2.354, allocations: 144.8 kB / 1.107 GB, free: 158.5 MB / 490.7 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.00101/2.355, allocations: 0.6324 MB / 1.108 GB, free: 158.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005187/2.356, allocations: 198.1 kB / 1.108 GB, free: 158.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/2.356, allocations: 0 / 1.108 GB, free: 158.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/2.356, allocations: 120.6 kB / 1.108 GB, free: 158.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/2.357, allocations: 27.33 kB / 1.108 GB, free: 158.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/2.357, allocations: 305.5 kB / 1.109 GB, free: 158.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/2.357, allocations: 0.7004 MB / 1.109 GB, free: 157.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005055/2.358, allocations: 67.66 kB / 1.109 GB, free: 157.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/2.358, allocations: 33.22 kB / 1.109 GB, free: 157.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/2.358, allocations: 2 kB / 1.109 GB, free: 157.4 MB / 490.7 MB Notification: Performance of Templates: time 0.01886/2.377, allocations: 12.53 MB / 1.122 GB, free: 156.5 MB / 490.7 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)