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.001172/0.001172, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.652/1.652, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001822/0.001822, allocations: 111.4 kB / 218 MB, free: 8.406 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.2348/0.2348, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.716e-05, allocations: 1 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/1.739, allocations: 0.5992 GB / 0.9886 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.739, allocations: 71.61 kB / 0.9887 GB, free: 106 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.09201/1.831, allocations: 45.14 MB / 1.033 GB, free: 69.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.624e-06/1.831, allocations: 0 / 1.033 GB, free: 69.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/1.831, allocations: 0 / 1.033 GB, free: 69.35 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.0005636/1.832, allocations: 426.2 kB / 1.033 GB, free: 68.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.832, allocations: 8.031 kB / 1.033 GB, free: 68.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/1.832, allocations: 8.531 kB / 1.033 GB, free: 68.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/1.832, allocations: 167 kB / 1.033 GB, free: 68.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.832, allocations: 4 kB / 1.033 GB, free: 68.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/1.832, allocations: 7.938 kB / 1.033 GB, free: 68.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001105/1.832, allocations: 43.92 kB / 1.033 GB, free: 68.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/1.832, allocations: 69.61 kB / 1.033 GB, free: 68.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.832, allocations: 0 / 1.033 GB, free: 68.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.832, allocations: 0 / 1.033 GB, free: 68.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.832, allocations: 4 kB / 1.033 GB, free: 68.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/1.833, allocations: 366.3 kB / 1.034 GB, free: 68.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/1.833, allocations: 58.5 kB / 1.034 GB, free: 68.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/1.833, allocations: 16.86 kB / 1.034 GB, free: 68.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009132/1.834, allocations: 1.002 MB / 1.035 GB, free: 66.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/1.834, allocations: 38.52 kB / 1.035 GB, free: 66.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/1.834, allocations: 0 / 1.035 GB, free: 66.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.006749/1.841, allocations: 0.861 MB / 1.036 GB, free: 65.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/1.841, allocations: 55.41 kB / 1.036 GB, free: 65.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/1.841, allocations: 100.8 kB / 1.036 GB, free: 65.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/1.841, allocations: 29.69 kB / 1.036 GB, free: 65.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/1.841, allocations: 84.33 kB / 1.036 GB, free: 65.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/1.841, allocations: 47.3 kB / 1.036 GB, free: 65.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/1.841, allocations: 0 / 1.036 GB, free: 65.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/1.841, allocations: 322.8 kB / 1.036 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/1.841, allocations: 75.97 kB / 1.036 GB, free: 65.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/1.841, allocations: 86.56 kB / 1.036 GB, free: 65.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.842, allocations: 219.8 kB / 1.037 GB, free: 64.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.842, allocations: 0 / 1.037 GB, free: 64.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001341/1.844, allocations: 362.5 kB / 1.037 GB, free: 64.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.844, allocations: 4.781 kB / 1.037 GB, free: 64.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.844, allocations: 7.984 kB / 1.037 GB, free: 64.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.844, allocations: 0 / 1.037 GB, free: 64.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.844, allocations: 47.95 kB / 1.037 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.844, allocations: 4 kB / 1.037 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/1.845, allocations: 19.92 kB / 1.037 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/1.845, allocations: 16.22 kB / 1.037 GB, free: 64.41 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 () * 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 9.113e-05/1.845, allocations: 105 kB / 1.037 GB, free: 64.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/1.845, allocations: 12.23 kB / 1.037 GB, free: 64.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.847, allocations: 457.8 kB / 1.038 GB, free: 63.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.847, allocations: 11.89 kB / 1.038 GB, free: 63.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.847, allocations: 8 kB / 1.038 GB, free: 63.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.847, allocations: 0 / 1.038 GB, free: 63.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.848, allocations: 0.8286 MB / 1.039 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.848, allocations: 0 / 1.039 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/1.849, allocations: 47.91 kB / 1.039 GB, free: 62.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.849, allocations: 3.953 kB / 1.039 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/1.849, allocations: 3.984 kB / 1.039 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.849, allocations: 4 kB / 1.039 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.849, allocations: 0 / 1.039 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/1.85, allocations: 459.1 kB / 1.039 GB, free: 62.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/1.85, allocations: 109 kB / 1.039 GB, free: 62.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/1.85, allocations: 0 / 1.039 GB, free: 62.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.851, allocations: 7.953 kB / 1.039 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/1.851, allocations: 19.97 kB / 1.039 GB, free: 62.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/1.851, allocations: 4 kB / 1.039 GB, free: 62.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.051e-05/1.851, allocations: 87.27 kB / 1.039 GB, free: 62.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.851, allocations: 3.938 kB / 1.039 GB, free: 62.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005533/1.851, allocations: 135.9 kB / 1.039 GB, free: 62.01 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 () * 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.0009964/1.852, allocations: 0.7145 MB / 1.04 GB, free: 61.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/1.853, allocations: 183.8 kB / 1.04 GB, free: 61.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.853, allocations: 0 / 1.04 GB, free: 61.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.853, allocations: 107.9 kB / 1.04 GB, free: 61.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/1.853, allocations: 23.92 kB / 1.04 GB, free: 60.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/1.854, allocations: 157.3 kB / 1.041 GB, free: 60.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/1.854, allocations: 0.7004 MB / 1.041 GB, free: 60.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004893/1.854, allocations: 68.73 kB / 1.041 GB, free: 60.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/1.855, allocations: 27.41 kB / 1.041 GB, free: 59.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/1.855, allocations: 0 / 1.041 GB, free: 59.98 MB / 426.7 MB Notification: Performance of Templates: time 0.01267/1.867, allocations: 8.612 MB / 1.05 GB, free: 51.36 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)