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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001065/0.001066, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.428/1.428, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001604/0.001604, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1799/0.1799, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.685e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.08899, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.41/1.499, allocations: 0.5999 GB / 0.996 GB, free: 124.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.499, allocations: 77.44 kB / 0.9961 GB, free: 124.8 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.08803/1.587, allocations: 45.79 MB / 1.041 GB, free: 97.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.587, allocations: 0 / 1.041 GB, free: 97.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/1.587, allocations: 0 / 1.041 GB, free: 97.04 MB / 442.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.0005116/1.588, allocations: 429.4 kB / 1.041 GB, free: 96.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.588, allocations: 8.031 kB / 1.041 GB, free: 96.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/1.588, allocations: 8.531 kB / 1.041 GB, free: 96.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/1.588, allocations: 174.6 kB / 1.041 GB, free: 96.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/1.588, allocations: 4 kB / 1.041 GB, free: 96.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/1.588, allocations: 7.438 kB / 1.041 GB, free: 96.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/1.588, allocations: 67.67 kB / 1.041 GB, free: 96.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.588, allocations: 0 / 1.041 GB, free: 96.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/1.588, allocations: 6.562 kB / 1.042 GB, free: 96.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.588, allocations: 0 / 1.042 GB, free: 96.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/1.588, allocations: 49.23 kB / 1.042 GB, free: 96.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/1.588, allocations: 385.2 kB / 1.042 GB, free: 95.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/1.589, allocations: 68.48 kB / 1.042 GB, free: 95.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/1.589, allocations: 25.8 kB / 1.042 GB, free: 95.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009396/1.589, allocations: 1.008 MB / 1.043 GB, free: 94.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/1.59, allocations: 37.94 kB / 1.043 GB, free: 94.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/1.59, allocations: 0 / 1.043 GB, free: 94.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.004764/1.594, allocations: 0.6028 MB / 1.044 GB, free: 93.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/1.594, allocations: 55.41 kB / 1.044 GB, free: 93.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/1.594, allocations: 108.8 kB / 1.044 GB, free: 93.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/1.594, allocations: 29.7 kB / 1.044 GB, free: 93.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/1.594, allocations: 88.33 kB / 1.044 GB, free: 93.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/1.595, allocations: 51.28 kB / 1.044 GB, free: 93.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/1.595, allocations: 3.938 kB / 1.044 GB, free: 93.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/1.595, allocations: 326.8 kB / 1.044 GB, free: 93.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/1.595, allocations: 71.98 kB / 1.044 GB, free: 93.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/1.595, allocations: 95.2 kB / 1.044 GB, free: 93.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/1.595, allocations: 88.06 kB / 1.044 GB, free: 93.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.595, allocations: 3.953 kB / 1.044 GB, free: 93.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003915/1.595, allocations: 225.6 kB / 1.045 GB, free: 92.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.595, allocations: 8.062 kB / 1.045 GB, free: 92.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.595, allocations: 0 / 1.045 GB, free: 92.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.595, allocations: 4 kB / 1.045 GB, free: 92.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/1.596, allocations: 51.94 kB / 1.045 GB, free: 92.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.596, allocations: 0 / 1.045 GB, free: 92.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/1.596, allocations: 19.98 kB / 1.045 GB, free: 92.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/1.596, allocations: 11.98 kB / 1.045 GB, free: 92.7 MB / 442.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 () * 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 7.963e-05/1.597, allocations: 112.9 kB / 1.045 GB, free: 92.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/1.597, allocations: 11.95 kB / 1.045 GB, free: 92.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006674/1.597, allocations: 336.3 kB / 1.045 GB, free: 92.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.597, allocations: 0 / 1.045 GB, free: 92.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.597, allocations: 4 kB / 1.045 GB, free: 92.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.597, allocations: 0 / 1.045 GB, free: 92.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/1.598, allocations: 0.7317 MB / 1.046 GB, free: 91.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.598, allocations: 0 / 1.046 GB, free: 91.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/1.599, allocations: 47.91 kB / 1.046 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.599, allocations: 0 / 1.046 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/1.599, allocations: 7.984 kB / 1.046 GB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.599, allocations: 7.938 kB / 1.046 GB, free: 91.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.599, allocations: 0 / 1.046 GB, free: 91.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/1.599, allocations: 327.3 kB / 1.046 GB, free: 91.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/1.599, allocations: 108.9 kB / 1.046 GB, free: 90.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/1.599, allocations: 11.98 kB / 1.046 GB, free: 90.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/1.6, allocations: 12 kB / 1.046 GB, free: 90.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/1.6, allocations: 15.97 kB / 1.046 GB, free: 90.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/1.6, allocations: 4 kB / 1.046 GB, free: 90.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.535e-05/1.6, allocations: 95.52 kB / 1.047 GB, free: 90.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.6, allocations: 3.938 kB / 1.047 GB, free: 90.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005657/1.6, allocations: 139.9 kB / 1.047 GB, free: 90.61 MB / 442.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 () * 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.0007785/1.601, allocations: 0.6238 MB / 1.047 GB, free: 89.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000331/1.601, allocations: 188.6 kB / 1.047 GB, free: 89.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.601, allocations: 3.938 kB / 1.048 GB, free: 89.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/1.602, allocations: 114 kB / 1.048 GB, free: 89.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/1.602, allocations: 25.2 kB / 1.048 GB, free: 89.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/1.602, allocations: 161.7 kB / 1.048 GB, free: 89.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/1.602, allocations: 0.7007 MB / 1.048 GB, free: 88.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004533/1.603, allocations: 72.62 kB / 1.049 GB, free: 88.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/1.603, allocations: 27.41 kB / 1.049 GB, free: 88.65 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/1.603, allocations: 0 / 1.049 GB, free: 88.65 MB / 442.7 MB Notification: Performance of Templates: time 0.01574/1.619, allocations: 14.14 MB / 1.062 GB, free: 74.49 MB / 442.7 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)