Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002452/0.002452, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.82/1.82, allocations: 194.3 MB / 202.4 MB, free: 8.551 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001775, allocations: 114 kB / 247.4 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2686/0.2686, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.708e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.937/2.076, allocations: 0.7216 GB / 1.159 GB, free: 28.99 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/2.077, allocations: 76.14 kB / 1.159 GB, free: 28.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06914/2.146, allocations: 32.86 MB / 1.191 GB, free: 1.234 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/2.146, allocations: 0 / 1.191 GB, free: 1.234 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/2.146, allocations: 4 kB / 1.191 GB, free: 1.23 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005262/2.146, allocations: 406.6 kB / 1.192 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/2.147, allocations: 12.19 kB / 1.192 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/2.148, allocations: 188.2 kB / 1.192 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/2.149, allocations: 210.8 kB / 1.192 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/2.149, allocations: 0 / 1.192 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/2.149, allocations: 11.95 kB / 1.192 GB, free: 340 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003798/2.149, allocations: 188.3 kB / 1.192 GB, free: 152 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/2.149, allocations: 146.9 kB / 1.193 GB, free: 0 / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/2.149, allocations: 0 / 1.193 GB, free: 0 / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/2.149, allocations: 0 / 1.193 GB, free: 0 / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2856/2.435, allocations: 0.5469 kB / 1.193 GB, free: 154.4 MB / 474.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.001855/2.437, allocations: 0.5934 MB / 1.193 GB, free: 154.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/2.437, allocations: 141.6 kB / 1.193 GB, free: 154.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/2.437, allocations: 71.62 kB / 1.193 GB, free: 154.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/2.438, allocations: 92.62 kB / 1.193 GB, free: 154 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/2.438, allocations: 41.48 kB / 1.194 GB, free: 153.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.365e-06/2.438, allocations: 0.9375 kB / 1.194 GB, free: 153.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.004236/2.442, allocations: 0.998 MB / 1.194 GB, free: 153.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/2.442, allocations: 54.94 kB / 1.195 GB, free: 153.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/2.442, allocations: 104.8 kB / 1.195 GB, free: 153.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/2.442, allocations: 28.33 kB / 1.195 GB, free: 153.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/2.442, allocations: 98.77 kB / 1.195 GB, free: 153.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/2.442, allocations: 67.52 kB / 1.195 GB, free: 153.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/2.442, allocations: 1.25 kB / 1.195 GB, free: 153.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/2.442, allocations: 322.8 kB / 1.195 GB, free: 152.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/2.442, allocations: 65.34 kB / 1.195 GB, free: 152.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/2.443, allocations: 107 kB / 1.195 GB, free: 152.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/2.443, allocations: 83.89 kB / 1.195 GB, free: 152.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/2.443, allocations: 5.781 kB / 1.195 GB, free: 152.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004361/2.443, allocations: 227.4 kB / 1.196 GB, free: 152.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/2.443, allocations: 8.391 kB / 1.196 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/2.443, allocations: 3.312 kB / 1.196 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/2.443, allocations: 21.78 kB / 1.196 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/2.444, allocations: 54.78 kB / 1.196 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003336/2.444, allocations: 0.5366 MB / 1.196 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/2.444, allocations: 4.578 kB / 1.196 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/2.444, allocations: 16.19 kB / 1.196 GB, free: 152.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001079/2.444, allocations: 111.8 kB / 1.196 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/2.445, allocations: 12.11 kB / 1.196 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/2.445, allocations: 268.8 kB / 1.197 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/2.445, allocations: 2.312 kB / 1.197 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/2.445, allocations: 0.5625 kB / 1.197 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/2.445, allocations: 2.375 kB / 1.197 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008838/2.446, allocations: 0.5967 MB / 1.197 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/2.446, allocations: 1.094 kB / 1.197 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/2.447, allocations: 47.06 kB / 1.197 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-05/2.447, allocations: 26.23 kB / 1.197 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/2.447, allocations: 5.766 kB / 1.197 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006906/2.447, allocations: 1.215 MB / 1.198 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.447, allocations: 2.469 kB / 1.198 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/2.448, allocations: 427.8 kB / 1.199 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/2.448, allocations: 86.28 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/2.448, allocations: 4.312 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/2.448, allocations: 5.641 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/2.448, allocations: 21.95 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/2.448, allocations: 8.516 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/2.448, allocations: 87.81 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.448, allocations: 2.156 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008353/2.449, allocations: 150.1 kB / 1.199 GB, free: 150.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/2.451, allocations: 0.7045 MB / 1.2 GB, free: 150 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004743/2.451, allocations: 181.7 kB / 1.2 GB, free: 150 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/2.451, allocations: 1.5 kB / 1.2 GB, free: 150 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/2.452, allocations: 209.8 kB / 1.2 GB, free: 149.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/2.452, allocations: 44.16 kB / 1.2 GB, free: 149.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/2.453, allocations: 312.2 kB / 1.201 GB, free: 149.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/2.453, allocations: 0.7148 MB / 1.201 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003645/2.453, allocations: 46.92 kB / 1.201 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/2.453, allocations: 22.52 kB / 1.201 GB, free: 149.1 MB / 474.7 MB Notification: Performance of SimCode: time 3.51e-07/2.453, allocations: 0 / 1.201 GB, free: 149.1 MB / 474.7 MB Notification: Performance of Templates: time 0.01631/2.47, allocations: 7.611 MB / 1.209 GB, free: 148.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)