Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006391/0.006391, allocations: 165.9 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.493/1.493, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001802/0.001802, allocations: 114.6 kB / 226.2 MB, free: 10.1 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.4682/0.4682, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 8 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.546/2.699, allocations: 0.721 GB / 1.123 GB, free: 88.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/2.699, allocations: 73.86 kB / 1.123 GB, free: 88.04 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/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.08509/2.785, allocations: 40.06 MB / 1.162 GB, free: 53.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.78e-05/2.785, allocations: 0 / 1.162 GB, free: 53.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/2.785, allocations: 4 kB / 1.162 GB, free: 53.81 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001186/2.786, allocations: 0.519 MB / 1.163 GB, free: 53.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/2.786, allocations: 8.031 kB / 1.163 GB, free: 53.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/2.789, allocations: 367.1 kB / 1.163 GB, free: 52.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/2.789, allocations: 254.3 kB / 1.163 GB, free: 52.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/2.789, allocations: 14.88 kB / 1.163 GB, free: 52.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/2.789, allocations: 30.89 kB / 1.163 GB, free: 52.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000888/2.79, allocations: 480 kB / 1.164 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/2.79, allocations: 4 kB / 1.164 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/2.79, allocations: 11.3 kB / 1.164 GB, free: 52.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/2.79, allocations: 4 kB / 1.164 GB, free: 52.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/2.791, allocations: 0.5035 MB / 1.164 GB, free: 51.87 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/2.793, allocations: 0.9808 MB / 1.165 GB, free: 50.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/2.794, allocations: 293 kB / 1.165 GB, free: 50.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/2.795, allocations: 0.6476 MB / 1.166 GB, free: 49.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/2.795, allocations: 38.56 kB / 1.166 GB, free: 49.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.677e-06/2.795, allocations: 0 / 1.166 GB, free: 49.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008566/2.796, allocations: 407.4 kB / 1.167 GB, free: 49.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/2.796, allocations: 85.05 kB / 1.167 GB, free: 49.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/2.796, allocations: 104.9 kB / 1.167 GB, free: 49.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/2.796, allocations: 33.7 kB / 1.167 GB, free: 49.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/2.796, allocations: 108.4 kB / 1.167 GB, free: 48.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/2.796, allocations: 114.4 kB / 1.167 GB, free: 48.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/2.796, allocations: 4 kB / 1.167 GB, free: 48.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/2.796, allocations: 326.8 kB / 1.167 GB, free: 48.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/2.796, allocations: 112.6 kB / 1.167 GB, free: 48.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/2.797, allocations: 207.4 kB / 1.168 GB, free: 48.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/2.797, allocations: 133.2 kB / 1.168 GB, free: 48.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/2.797, allocations: 8 kB / 1.168 GB, free: 48.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006117/2.798, allocations: 372.4 kB / 1.168 GB, free: 47.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/2.798, allocations: 4 kB / 1.168 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/2.798, allocations: 4 kB / 1.168 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/2.798, allocations: 4 kB / 1.168 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/2.798, allocations: 75.89 kB / 1.168 GB, free: 47.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/2.798, allocations: 4.312 kB / 1.168 GB, free: 47.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/2.798, allocations: 39.67 kB / 1.168 GB, free: 47.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/2.798, allocations: 23.95 kB / 1.168 GB, free: 47.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001428/2.798, allocations: 145.1 kB / 1.168 GB, free: 47.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/2.799, allocations: 15.81 kB / 1.168 GB, free: 47.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/2.799, allocations: 375.1 kB / 1.169 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/2.799, allocations: 4 kB / 1.169 GB, free: 46.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/2.799, allocations: 0 / 1.169 GB, free: 46.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/2.799, allocations: 3.984 kB / 1.169 GB, free: 46.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/2.8, allocations: 369.5 kB / 1.169 GB, free: 46.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/2.8, allocations: 0 / 1.169 GB, free: 46.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/2.8, allocations: 59.89 kB / 1.169 GB, free: 46.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/2.8, allocations: 0 / 1.169 GB, free: 46.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/2.8, allocations: 11.98 kB / 1.169 GB, free: 46.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/2.8, allocations: 8 kB / 1.169 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/2.8, allocations: 0 / 1.169 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/2.801, allocations: 0.553 MB / 1.17 GB, free: 45.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/2.801, allocations: 96.86 kB / 1.17 GB, free: 45.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/2.801, allocations: 4.062 kB / 1.17 GB, free: 45.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/2.801, allocations: 19.98 kB / 1.17 GB, free: 45.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/2.802, allocations: 27.91 kB / 1.17 GB, free: 45.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/2.802, allocations: 19.94 kB / 1.17 GB, free: 45.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.88e-05/2.802, allocations: 91.2 kB / 1.17 GB, free: 45.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/2.802, allocations: 0 / 1.17 GB, free: 45.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001289/2.803, allocations: 263.6 kB / 1.17 GB, free: 45.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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.001338/2.804, allocations: 0.7485 MB / 1.171 GB, free: 44.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00058/2.805, allocations: 284.6 kB / 1.171 GB, free: 44.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/2.805, allocations: 0 / 1.171 GB, free: 44.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/2.805, allocations: 143.8 kB / 1.171 GB, free: 44.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/2.806, allocations: 82.95 kB / 1.171 GB, free: 44.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/2.807, allocations: 0.905 MB / 1.172 GB, free: 43.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/2.807, allocations: 0.7448 MB / 1.173 GB, free: 42.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004569/2.807, allocations: 81.83 kB / 1.173 GB, free: 42.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/2.808, allocations: 31.42 kB / 1.173 GB, free: 42.31 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/2.808, allocations: 0 / 1.173 GB, free: 42.31 MB / 426.7 MB Notification: Performance of Templates: time 0.01877/2.826, allocations: 14.04 MB / 1.187 GB, free: 28.3 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1)