Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001704/0.001704, allocations: 176.7 kB / 7.652 MB, free: 1.426 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.886/1.886, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001881/0.001881, allocations: 116 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2369/0.2369, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.754e-05, allocations: 0 / 393.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3458, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.499, allocations: 455.7 MB / 0.8827 GB, free: 7.949 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004163/1.499, allocations: 71.45 kB / 0.8828 GB, free: 7.914 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4121/1.911, allocations: 29.26 MB / 0.9114 GB, free: 188.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.746e-06/1.911, allocations: 3.938 kB / 0.9114 GB, free: 188.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/1.911, allocations: 4 kB / 0.9114 GB, free: 188.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000419/1.912, allocations: 389 kB / 0.9117 GB, free: 188.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.912, allocations: 11.28 kB / 0.9118 GB, free: 188.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/1.913, allocations: 180.1 kB / 0.9119 GB, free: 188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/1.914, allocations: 214.4 kB / 0.9121 GB, free: 187.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.914, allocations: 0 / 0.9121 GB, free: 187.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/1.914, allocations: 7.906 kB / 0.9121 GB, free: 187.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000326/1.914, allocations: 150.8 kB / 0.9123 GB, free: 187.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/1.914, allocations: 141.8 kB / 0.9124 GB, free: 187.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.914, allocations: 224 / 0.9124 GB, free: 187.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/1.914, allocations: 0 / 0.9124 GB, free: 187.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/1.914, allocations: 7.938 kB / 0.9124 GB, free: 187.5 MB / 490.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.0009731/1.915, allocations: 0.5409 MB / 0.913 GB, free: 186.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/1.916, allocations: 122.5 kB / 0.9131 GB, free: 186.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/1.916, allocations: 60.8 kB / 0.9131 GB, free: 186.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/1.916, allocations: 3.953 kB / 0.9131 GB, free: 186.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/1.916, allocations: 34.56 kB / 0.9132 GB, free: 186.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/1.916, allocations: 4 kB / 0.9132 GB, free: 186.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.003654/1.919, allocations: 0.8819 MB / 0.914 GB, free: 185.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/1.919, allocations: 55.34 kB / 0.9141 GB, free: 185.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/1.919, allocations: 104.8 kB / 0.9142 GB, free: 185.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.92, allocations: 25.7 kB / 0.9142 GB, free: 185.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/1.92, allocations: 96.03 kB / 0.9143 GB, free: 185.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/1.92, allocations: 63.02 kB / 0.9144 GB, free: 185.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/1.92, allocations: 4 kB / 0.9144 GB, free: 185.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/1.92, allocations: 322.8 kB / 0.9147 GB, free: 185 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/1.92, allocations: 55.98 kB / 0.9147 GB, free: 185 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/1.92, allocations: 91.61 kB / 0.9148 GB, free: 184.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.878e-05/1.92, allocations: 72.84 kB / 0.9149 GB, free: 184.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/1.92, allocations: 4 kB / 0.9149 GB, free: 184.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003092/1.92, allocations: 228.7 kB / 0.9151 GB, free: 184.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.92, allocations: 19.06 kB / 0.9151 GB, free: 184.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.92, allocations: 0 / 0.9151 GB, free: 184.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/1.92, allocations: 36.84 kB / 0.9152 GB, free: 184.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/1.921, allocations: 55.89 kB / 0.9152 GB, free: 184.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003173/1.921, allocations: 0.5801 MB / 0.9158 GB, free: 183.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/1.921, allocations: 7.969 kB / 0.9158 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/1.921, allocations: 20 kB / 0.9158 GB, free: 183.8 MB / 490.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 8.723e-05/1.921, allocations: 108.9 kB / 0.9159 GB, free: 183.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/1.921, allocations: 15.8 kB / 0.9159 GB, free: 183.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/1.922, allocations: 315.1 kB / 0.9162 GB, free: 183.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.922, allocations: 8 kB / 0.9162 GB, free: 183.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.922, allocations: 3.938 kB / 0.9162 GB, free: 183.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.922, allocations: 3.984 kB / 0.9162 GB, free: 183.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/1.923, allocations: 0.5598 MB / 0.9168 GB, free: 182.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.923, allocations: 0 / 0.9168 GB, free: 182.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/1.923, allocations: 55.95 kB / 0.9168 GB, free: 182.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.844e-05/1.923, allocations: 28.94 kB / 0.9169 GB, free: 182.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/1.923, allocations: 11.98 kB / 0.9169 GB, free: 182.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/1.924, allocations: 1.225 MB / 0.9181 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.924, allocations: 3.953 kB / 0.9181 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/1.924, allocations: 432 kB / 0.9185 GB, free: 180.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/1.924, allocations: 89.03 kB / 0.9186 GB, free: 180.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/1.924, allocations: 8 kB / 0.9186 GB, free: 180.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.924, allocations: 0 / 0.9186 GB, free: 180.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/1.925, allocations: 23.92 kB / 0.9186 GB, free: 180.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/1.925, allocations: 31.98 kB / 0.9186 GB, free: 180.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.043e-05/1.925, allocations: 87.28 kB / 0.9187 GB, free: 180.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.925, allocations: 0 / 0.9187 GB, free: 180.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005359/1.925, allocations: 107.9 kB / 0.9188 GB, free: 180.5 MB / 490.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 (21): * Single equations (assignments): 20 * 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.0008813/1.926, allocations: 0.6187 MB / 0.9194 GB, free: 179.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003266/1.926, allocations: 176.5 kB / 0.9196 GB, free: 179.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.926, allocations: 0 / 0.9196 GB, free: 179.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/1.927, allocations: 206.1 kB / 0.9198 GB, free: 179.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/1.927, allocations: 36.33 kB / 0.9198 GB, free: 179.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/1.928, allocations: 316 kB / 0.9201 GB, free: 179.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/1.928, allocations: 0.7124 MB / 0.9208 GB, free: 178.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004202/1.928, allocations: 77.38 kB / 0.9209 GB, free: 178.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/1.928, allocations: 51.41 kB / 0.9209 GB, free: 178.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/1.928, allocations: 4 kB / 0.921 GB, free: 178.3 MB / 490.7 MB Notification: Performance of Templates: time 0.01021/1.939, allocations: 7.332 MB / 0.9281 GB, free: 171 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)