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.001821/0.001821, 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.592/1.592, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001686/0.001685, allocations: 103.5 kB / 218 MB, free: 8.34 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.2469/0.2469, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.297e-05, allocations: 5.516 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 48.73 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.285/2.425, allocations: 0.7203 GB / 1.11 GB, free: 112.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/2.425, allocations: 70.3 kB / 1.11 GB, free: 112.5 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.0873/2.512, allocations: 39.27 MB / 1.148 GB, free: 104.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/2.512, allocations: 0 / 1.148 GB, free: 104.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/2.512, allocations: 3.906 kB / 1.148 GB, free: 104.7 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.001013/2.513, allocations: 0.4988 MB / 1.149 GB, free: 104.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/2.514, allocations: 11.72 kB / 1.149 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/2.517, allocations: 372.6 kB / 1.149 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/2.517, allocations: 262.3 kB / 1.149 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/2.517, allocations: 3.906 kB / 1.149 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/2.517, allocations: 11.59 kB / 1.149 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007365/2.518, allocations: 475.8 kB / 1.15 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/2.518, allocations: 308.5 kB / 1.15 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/2.518, allocations: 0 / 1.15 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/2.518, allocations: 7.969 kB / 1.15 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/2.518, allocations: 3.875 kB / 1.15 GB, free: 103.7 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001972/2.52, allocations: 0.9434 MB / 1.151 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/2.521, allocations: 248.8 kB / 1.151 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/2.521, allocations: 139.8 kB / 1.151 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/2.522, allocations: 0.6532 MB / 1.152 GB, free: 102.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/2.522, allocations: 40.36 kB / 1.152 GB, free: 102.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/2.522, allocations: 0 / 1.152 GB, free: 102.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005845/2.523, allocations: 262.7 kB / 1.152 GB, free: 102.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/2.523, allocations: 92.91 kB / 1.152 GB, free: 102.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/2.523, allocations: 96.31 kB / 1.152 GB, free: 102.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/2.523, allocations: 29.58 kB / 1.152 GB, free: 102.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/2.523, allocations: 111.8 kB / 1.152 GB, free: 102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/2.523, allocations: 104.5 kB / 1.153 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/2.523, allocations: 0 / 1.153 GB, free: 101.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.086e-05/2.523, allocations: 326.1 kB / 1.153 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/2.523, allocations: 98.11 kB / 1.153 GB, free: 101.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/2.524, allocations: 179.1 kB / 1.153 GB, free: 101.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/2.524, allocations: 133.2 kB / 1.153 GB, free: 101.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.524, allocations: 0 / 1.153 GB, free: 101.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005256/2.524, allocations: 328.6 kB / 1.154 GB, free: 101.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/2.524, allocations: 7.812 kB / 1.154 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/2.524, allocations: 3.812 kB / 1.154 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/2.524, allocations: 3.938 kB / 1.154 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/2.525, allocations: 81.77 kB / 1.154 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/2.525, allocations: 7.812 kB / 1.154 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/2.525, allocations: 22.31 kB / 1.154 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/2.525, allocations: 19.48 kB / 1.154 GB, free: 101.3 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 () * 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.0001108/2.525, allocations: 123.2 kB / 1.154 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/2.525, allocations: 11.72 kB / 1.154 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/2.526, allocations: 333.5 kB / 1.154 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/2.526, allocations: 3.844 kB / 1.154 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/2.526, allocations: 7.969 kB / 1.154 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/2.526, allocations: 4 kB / 1.154 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/2.527, allocations: 324.8 kB / 1.154 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/2.527, allocations: 3.953 kB / 1.154 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/2.527, allocations: 62.42 kB / 1.155 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/2.527, allocations: 0 / 1.155 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/2.527, allocations: 7.891 kB / 1.155 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/2.527, allocations: 3.906 kB / 1.155 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.527, allocations: 0 / 1.155 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/2.528, allocations: 0.5182 MB / 1.155 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/2.528, allocations: 92.77 kB / 1.155 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/2.528, allocations: 3.938 kB / 1.155 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/2.528, allocations: 15.77 kB / 1.155 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/2.528, allocations: 15.75 kB / 1.155 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/2.528, allocations: 26.23 kB / 1.155 GB, free: 100.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.095e-05/2.528, allocations: 92.73 kB / 1.155 GB, free: 100.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.528, allocations: 0 / 1.155 GB, free: 100.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001073/2.529, allocations: 244.7 kB / 1.156 GB, free: 100.3 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 () * 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.001823/2.531, allocations: 0.8258 MB / 1.156 GB, free: 99.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004291/2.532, allocations: 262.6 kB / 1.157 GB, free: 99.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/2.532, allocations: 1.188 kB / 1.157 GB, free: 99.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/2.532, allocations: 136 kB / 1.157 GB, free: 99.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/2.532, allocations: 74.05 kB / 1.157 GB, free: 99.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/2.533, allocations: 0.6046 MB / 1.157 GB, free: 99.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/2.534, allocations: 0.7376 MB / 1.158 GB, free: 98.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005062/2.534, allocations: 85.39 kB / 1.158 GB, free: 98.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/2.534, allocations: 31.67 kB / 1.158 GB, free: 98.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/2.534, allocations: 0 / 1.158 GB, free: 98.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01717/2.551, allocations: 10.2 MB / 1.168 GB, free: 89.31 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)