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.009456/0.009456, allocations: 162.4 kB / 15.11 MB, free: 5.969 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.694/1.694, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.00199/0.00199, allocations: 103.3 kB / 226.2 MB, free: 10.11 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.4262/0.4262, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004805, allocations: 12 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.02/2.17, allocations: 0.5999 GB / 1.002 GB, free: 54.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/2.17, allocations: 74.41 kB / 1.002 GB, free: 54.32 MB / 426.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.08469/2.254, allocations: 45.99 MB / 1.047 GB, free: 12.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/2.255, allocations: 0 / 1.047 GB, free: 12.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/2.255, allocations: 0 / 1.047 GB, free: 12.33 MB / 426.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.0005902/2.255, allocations: 433.6 kB / 1.047 GB, free: 11.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/2.255, allocations: 8.031 kB / 1.047 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/2.255, allocations: 4 kB / 1.047 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/2.255, allocations: 171 kB / 1.047 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/2.255, allocations: 4 kB / 1.047 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/2.255, allocations: 15.91 kB / 1.047 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/2.256, allocations: 70.3 kB / 1.048 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/2.256, allocations: 3.938 kB / 1.048 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/2.256, allocations: 0 / 1.048 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/2.256, allocations: 4 kB / 1.048 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/2.256, allocations: 55.94 kB / 1.048 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/2.256, allocations: 381.8 kB / 1.048 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/2.256, allocations: 70.48 kB / 1.048 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009674/2.257, allocations: 0.9974 MB / 1.049 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/2.257, allocations: 42.55 kB / 1.049 GB, free: 9.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/2.257, allocations: 0 / 1.049 GB, free: 9.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.005487/2.263, allocations: 0.6426 MB / 1.05 GB, free: 9.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/2.263, allocations: 51.5 kB / 1.05 GB, free: 9.004 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/2.263, allocations: 96.94 kB / 1.05 GB, free: 8.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/2.263, allocations: 33.7 kB / 1.05 GB, free: 8.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/2.263, allocations: 92.31 kB / 1.05 GB, free: 8.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/2.263, allocations: 47.3 kB / 1.05 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/2.263, allocations: 4 kB / 1.05 GB, free: 8.715 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/2.263, allocations: 314.8 kB / 1.05 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/2.263, allocations: 79.94 kB / 1.05 GB, free: 8.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/2.263, allocations: 102.5 kB / 1.05 GB, free: 8.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/2.264, allocations: 99.03 kB / 1.051 GB, free: 8.117 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/2.264, allocations: 0 / 1.051 GB, free: 8.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004661/2.264, allocations: 245.4 kB / 1.051 GB, free: 7.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/2.264, allocations: 4 kB / 1.051 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/2.264, allocations: 0 / 1.051 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/2.264, allocations: 4 kB / 1.051 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/2.265, allocations: 51.94 kB / 1.051 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/2.265, allocations: 3.984 kB / 1.051 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/2.265, allocations: 24.05 kB / 1.051 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/2.265, allocations: 11.98 kB / 1.051 GB, free: 7.773 MB / 426.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.0001028/2.265, allocations: 118.8 kB / 1.051 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/2.265, allocations: 15.8 kB / 1.051 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007594/2.266, allocations: 343.5 kB / 1.051 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/2.266, allocations: 4 kB / 1.051 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/2.266, allocations: 4 kB / 1.051 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/2.266, allocations: 4 kB / 1.051 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000888/2.267, allocations: 0.7462 MB / 1.052 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/2.267, allocations: 0 / 1.052 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/2.268, allocations: 39.91 kB / 1.052 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/2.268, allocations: 4 kB / 1.052 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/2.268, allocations: 7.984 kB / 1.052 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/2.268, allocations: 0 / 1.052 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.268, allocations: 4 kB / 1.052 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/2.268, allocations: 349.2 kB / 1.052 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/2.268, allocations: 101 kB / 1.053 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/2.268, allocations: 7.953 kB / 1.053 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/2.269, allocations: 15.98 kB / 1.053 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/2.269, allocations: 7.984 kB / 1.053 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/2.269, allocations: 11.98 kB / 1.053 GB, free: 5.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.453e-05/2.269, allocations: 91.22 kB / 1.053 GB, free: 5.789 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.269, allocations: 0 / 1.053 GB, free: 5.789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006037/2.269, allocations: 143.8 kB / 1.053 GB, free: 5.648 MB / 426.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.0008467/2.27, allocations: 0.6311 MB / 1.053 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004446/2.271, allocations: 203.8 kB / 1.054 GB, free: 4.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.271, allocations: 0 / 1.054 GB, free: 4.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/2.271, allocations: 118.5 kB / 1.054 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/2.271, allocations: 27.97 kB / 1.054 GB, free: 4.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/2.272, allocations: 304.5 kB / 1.054 GB, free: 4.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/2.272, allocations: 0.6968 MB / 1.055 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004536/2.272, allocations: 71.64 kB / 1.055 GB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/2.273, allocations: 31.39 kB / 1.055 GB, free: 3.52 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/2.273, allocations: 4 kB / 1.055 GB, free: 3.516 MB / 426.7 MB Notification: Performance of Templates: time 0.2463/2.519, allocations: 12.5 MB / 1.067 GB, free: 104.7 MB / 426.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)