Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004163/0.004168, allocations: 360 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.053/4.053, allocations: 388.9 MB / 405.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003554/0.003553, allocations: 231.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5097/0.5097, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004661, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 54.86 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.591/1.699, allocations: 456.5 MB / 1.126 GB, free: 148.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.7, allocations: 80.47 kB / 1.126 GB, free: 148.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1106/1.81, allocations: 29.9 MB / 1.155 GB, free: 127.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.81, allocations: 0 / 1.155 GB, free: 127.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/1.81, allocations: 0 / 1.155 GB, free: 127.6 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.000607/1.811, allocations: 390.3 kB / 1.156 GB, free: 127.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.811, allocations: 8.031 kB / 1.156 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/1.815, allocations: 193.9 kB / 1.156 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/1.815, allocations: 209.2 kB / 1.156 GB, free: 126.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.815, allocations: 7.75 kB / 1.156 GB, free: 126.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/1.815, allocations: 11.75 kB / 1.156 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/1.816, allocations: 221 kB / 1.156 GB, free: 126.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.816, allocations: 0 / 1.156 GB, free: 126.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/1.816, allocations: 0 / 1.156 GB, free: 126.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.816, allocations: 8 kB / 1.156 GB, free: 126.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/1.817, allocations: 173 kB / 1.156 GB, free: 126.4 MB / 490.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.00158/1.819, allocations: 0.578 MB / 1.157 GB, free: 125.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/1.82, allocations: 130.5 kB / 1.157 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/1.82, allocations: 74.83 kB / 1.157 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/1.82, allocations: 0 / 1.157 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.82, allocations: 38.84 kB / 1.157 GB, free: 125.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/1.82, allocations: 0 / 1.157 GB, free: 125.7 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.01098/1.831, allocations: 1.307 MB / 1.158 GB, free: 124.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/1.831, allocations: 59.41 kB / 1.158 GB, free: 124.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.831, allocations: 121.2 kB / 1.159 GB, free: 124.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/1.831, allocations: 29.27 kB / 1.159 GB, free: 124.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/1.831, allocations: 87.61 kB / 1.159 GB, free: 124.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/1.832, allocations: 68.19 kB / 1.159 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/1.832, allocations: 7.438 kB / 1.159 GB, free: 124.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/1.832, allocations: 322.3 kB / 1.159 GB, free: 123.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/1.832, allocations: 66.47 kB / 1.159 GB, free: 123.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/1.832, allocations: 108.8 kB / 1.159 GB, free: 123.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/1.833, allocations: 81.92 kB / 1.159 GB, free: 123.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.833, allocations: 0 / 1.159 GB, free: 123.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009941/1.834, allocations: 258.5 kB / 1.16 GB, free: 123.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.834, allocations: 8.094 kB / 1.16 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.834, allocations: 4 kB / 1.16 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/1.834, allocations: 48.45 kB / 1.16 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/1.835, allocations: 51.59 kB / 1.16 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00054/1.835, allocations: 0.5627 MB / 1.16 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/1.836, allocations: 16.02 kB / 1.16 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/1.836, allocations: 31.48 kB / 1.16 GB, free: 122.7 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 () * Number of clocked 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.0001745/1.836, allocations: 121.6 kB / 1.16 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/1.836, allocations: 7.906 kB / 1.16 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.838, allocations: 346.5 kB / 1.161 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/1.838, allocations: 4 kB / 1.161 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.838, allocations: 3.953 kB / 1.161 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.838, allocations: 3.938 kB / 1.161 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/1.84, allocations: 0.6211 MB / 1.161 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.84, allocations: 3.953 kB / 1.161 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/1.84, allocations: 63.89 kB / 1.161 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/1.841, allocations: 20.59 kB / 1.161 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/1.841, allocations: 15.61 kB / 1.161 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/1.842, allocations: 1.265 MB / 1.163 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.842, allocations: 0 / 1.163 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/1.843, allocations: 434.8 kB / 1.163 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/1.843, allocations: 88.95 kB / 1.163 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/1.843, allocations: 7.75 kB / 1.163 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/1.844, allocations: 15.41 kB / 1.163 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/1.844, allocations: 27.72 kB / 1.163 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/1.844, allocations: 31.94 kB / 1.163 GB, free: 119.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.793e-05/1.844, allocations: 82.72 kB / 1.163 GB, free: 119.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.844, allocations: 0 / 1.163 GB, free: 119.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001031/1.845, allocations: 117.7 kB / 1.163 GB, free: 119.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 () * Number of clocked 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.001361/1.846, allocations: 0.5367 MB / 1.164 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009932/1.847, allocations: 199.2 kB / 1.164 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.847, allocations: 0 / 1.164 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/1.848, allocations: 223 kB / 1.164 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009127/1.849, allocations: 46.77 kB / 1.164 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.85, allocations: 0.5793 MB / 1.165 GB, free: 118 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/1.85, allocations: 0.7088 MB / 1.166 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007302/1.851, allocations: 77.61 kB / 1.166 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.851, allocations: 55.02 kB / 1.166 GB, free: 117.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/1.851, allocations: 0 / 1.166 GB, free: 117.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02336/1.875, allocations: 11.63 MB / 1.177 GB, free: 105.6 MB / 490.7 MB