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.00108/0.00108, allocations: 170.5 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.365/1.365, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001616/0.001617, allocations: 103.5 kB / 223.2 MB, free: 4.113 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.1981/0.1981, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.611e-05, allocations: 4 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09875, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.798/1.897, allocations: 0.7209 GB / 1.117 GB, free: 11.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.897, allocations: 71.91 kB / 1.117 GB, free: 11.5 MB / 442.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.3816/2.279, allocations: 39.99 MB / 1.156 GB, free: 159.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.042e-06/2.279, allocations: 0 / 1.156 GB, free: 159.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/2.279, allocations: 3.938 kB / 1.156 GB, free: 159.8 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008111/2.279, allocations: 0.4974 MB / 1.157 GB, free: 159.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/2.28, allocations: 15.86 kB / 1.157 GB, free: 159.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/2.283, allocations: 371.5 kB / 1.157 GB, free: 159.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/2.283, allocations: 262.1 kB / 1.157 GB, free: 158.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/2.283, allocations: 12.25 kB / 1.157 GB, free: 158.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/2.283, allocations: 19.78 kB / 1.157 GB, free: 158.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/2.284, allocations: 456.3 kB / 1.158 GB, free: 158.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/2.284, allocations: 0 / 1.158 GB, free: 158.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/2.284, allocations: 7.938 kB / 1.158 GB, free: 158.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/2.284, allocations: 11.89 kB / 1.158 GB, free: 158.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/2.285, allocations: 484.1 kB / 1.158 GB, free: 158.3 MB / 442.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.001867/2.286, allocations: 0.9935 MB / 1.159 GB, free: 157.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/2.287, allocations: 261.3 kB / 1.159 GB, free: 157.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/2.287, allocations: 141.7 kB / 1.16 GB, free: 157.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/2.288, allocations: 0.653 MB / 1.16 GB, free: 156.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/2.288, allocations: 38.28 kB / 1.16 GB, free: 156.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/2.288, allocations: 0 / 1.16 GB, free: 156.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005436/2.289, allocations: 281.4 kB / 1.161 GB, free: 156.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/2.289, allocations: 84.92 kB / 1.161 GB, free: 156.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/2.289, allocations: 108.8 kB / 1.161 GB, free: 156.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/2.289, allocations: 29.7 kB / 1.161 GB, free: 156.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/2.289, allocations: 120.2 kB / 1.161 GB, free: 156.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/2.289, allocations: 98.41 kB / 1.161 GB, free: 156.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/2.289, allocations: 4 kB / 1.161 GB, free: 156 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/2.289, allocations: 326.7 kB / 1.161 GB, free: 155.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/2.289, allocations: 106.3 kB / 1.161 GB, free: 155.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/2.289, allocations: 195.3 kB / 1.162 GB, free: 155.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/2.29, allocations: 128.7 kB / 1.162 GB, free: 155.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/2.29, allocations: 0 / 1.162 GB, free: 155.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004935/2.29, allocations: 364 kB / 1.162 GB, free: 155 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/2.29, allocations: 8 kB / 1.162 GB, free: 155 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/2.29, allocations: 4 kB / 1.162 GB, free: 155 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/2.29, allocations: 4 kB / 1.162 GB, free: 155 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/2.291, allocations: 79.83 kB / 1.162 GB, free: 154.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/2.291, allocations: 4 kB / 1.162 GB, free: 154.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/2.291, allocations: 31.94 kB / 1.162 GB, free: 154.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/2.291, allocations: 27.92 kB / 1.162 GB, free: 154.8 MB / 442.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 8.679e-05/2.291, allocations: 120.9 kB / 1.162 GB, free: 154.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/2.291, allocations: 15.86 kB / 1.162 GB, free: 154.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005933/2.292, allocations: 362.3 kB / 1.163 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/2.292, allocations: 4 kB / 1.163 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/2.292, allocations: 8 kB / 1.163 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/2.292, allocations: 3.984 kB / 1.163 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/2.292, allocations: 368.3 kB / 1.163 GB, free: 153.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/2.292, allocations: 0 / 1.163 GB, free: 153.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/2.293, allocations: 55.91 kB / 1.163 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/2.293, allocations: 3.953 kB / 1.163 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/2.293, allocations: 11.98 kB / 1.163 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/2.293, allocations: 4 kB / 1.163 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.293, allocations: 0 / 1.163 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/2.293, allocations: 0.5318 MB / 1.164 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/2.293, allocations: 92.91 kB / 1.164 GB, free: 153.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/2.293, allocations: 12.05 kB / 1.164 GB, free: 153.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/2.294, allocations: 19.84 kB / 1.164 GB, free: 153.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/2.294, allocations: 19.97 kB / 1.164 GB, free: 153.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/2.294, allocations: 23.98 kB / 1.164 GB, free: 153.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/2.294, allocations: 87.27 kB / 1.164 GB, free: 153 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.294, allocations: 0 / 1.164 GB, free: 153 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00112/2.295, allocations: 255.8 kB / 1.164 GB, free: 152.8 MB / 442.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.00125/2.296, allocations: 0.7587 MB / 1.165 GB, free: 152 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004071/2.297, allocations: 269.6 kB / 1.165 GB, free: 151.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.297, allocations: 4 kB / 1.165 GB, free: 151.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/2.297, allocations: 131.9 kB / 1.165 GB, free: 151.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/2.297, allocations: 90.39 kB / 1.165 GB, free: 151.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008231/2.298, allocations: 0.5937 MB / 1.166 GB, free: 150.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/2.298, allocations: 0.7482 MB / 1.167 GB, free: 150.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005388/2.299, allocations: 85.83 kB / 1.167 GB, free: 150 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/2.299, allocations: 31.42 kB / 1.167 GB, free: 150 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/2.299, allocations: 4 kB / 1.167 GB, free: 150 MB / 442.7 MB Notification: Performance of Templates: time 0.01914/2.318, allocations: 15.64 MB / 1.182 GB, free: 134.4 MB / 442.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)