Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002653/0.002658, allocations: 348.7 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.657/3.657, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003519/0.003519, allocations: 210.1 kB / 397.8 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4832/0.4832, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006713/0.0006716, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.835/2.937, allocations: 0.7462 GB / 1.353 GB, free: 87.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/2.937, allocations: 77.94 kB / 1.353 GB, free: 87.34 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.2395/3.176, allocations: 61.71 MB / 1.413 GB, free: 31.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.765e-06/3.177, allocations: 0 / 1.413 GB, free: 31.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/3.177, allocations: 0 / 1.413 GB, free: 31.52 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00111/3.178, allocations: 483.4 kB / 1.414 GB, free: 31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/3.178, allocations: 8.031 kB / 1.414 GB, free: 30.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/3.191, allocations: 0.689 MB / 1.414 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009542/3.192, allocations: 278.8 kB / 1.415 GB, free: 29.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/3.192, allocations: 12.33 kB / 1.415 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/3.193, allocations: 19.91 kB / 1.415 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/3.196, allocations: 0.7014 MB / 1.415 GB, free: 29.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/3.196, allocations: 0 / 1.415 GB, free: 29.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/3.196, allocations: 11.98 kB / 1.415 GB, free: 29.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/3.196, allocations: 11.94 kB / 1.415 GB, free: 29.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/3.2, allocations: 0.7612 MB / 1.416 GB, free: 28.46 MB / 442.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.005685/3.206, allocations: 1.225 MB / 1.417 GB, free: 27.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/3.207, allocations: 309 kB / 1.418 GB, free: 26.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/3.208, allocations: 209.6 kB / 1.418 GB, free: 26.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/3.21, allocations: 254.4 kB / 1.418 GB, free: 26.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/3.21, allocations: 38.56 kB / 1.418 GB, free: 26.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 4.829e-06/3.21, allocations: 0 / 1.418 GB, free: 26.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.003253/3.213, allocations: 0.5401 MB / 1.419 GB, free: 25.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/3.213, allocations: 81.27 kB / 1.419 GB, free: 25.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/3.213, allocations: 137.3 kB / 1.419 GB, free: 25.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/3.213, allocations: 29.7 kB / 1.419 GB, free: 25.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/3.213, allocations: 124.2 kB / 1.419 GB, free: 25.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/3.214, allocations: 86.66 kB / 1.419 GB, free: 25.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/3.214, allocations: 12 kB / 1.419 GB, free: 25.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/3.214, allocations: 322.8 kB / 1.419 GB, free: 24.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009244/3.215, allocations: 175.9 kB / 1.42 GB, free: 24.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/3.216, allocations: 295.8 kB / 1.42 GB, free: 24.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/3.217, allocations: 207.4 kB / 1.42 GB, free: 24.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/3.217, allocations: 0 / 1.42 GB, free: 24.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002411/3.219, allocations: 0.5126 MB / 1.421 GB, free: 23.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/3.219, allocations: 4 kB / 1.421 GB, free: 23.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/3.219, allocations: 7.938 kB / 1.421 GB, free: 23.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/3.22, allocations: 11.09 kB / 1.421 GB, free: 23.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/3.221, allocations: 79.88 kB / 1.421 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/3.221, allocations: 8 kB / 1.421 GB, free: 23.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/3.222, allocations: 44.05 kB / 1.421 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/3.222, allocations: 19.98 kB / 1.421 GB, free: 23.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (38): * Single equations (assignments): 38 * 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.0003679/3.222, allocations: 147.8 kB / 1.421 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/3.223, allocations: 19.8 kB / 1.421 GB, free: 23.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/3.225, allocations: 486.4 kB / 1.421 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/3.225, allocations: 7.984 kB / 1.421 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/3.225, allocations: 0 / 1.421 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/3.225, allocations: 0 / 1.421 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/3.227, allocations: 0.5047 MB / 1.422 GB, free: 22.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/3.227, allocations: 0 / 1.422 GB, free: 22.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/3.228, allocations: 51.95 kB / 1.422 GB, free: 22.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/3.228, allocations: 4 kB / 1.422 GB, free: 22.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.09e-05/3.229, allocations: 11.98 kB / 1.422 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/3.229, allocations: 0 / 1.422 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/3.229, allocations: 3.938 kB / 1.422 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/3.231, allocations: 0.6789 MB / 1.423 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/3.232, allocations: 96.86 kB / 1.423 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/3.232, allocations: 8 kB / 1.423 GB, free: 21.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/3.233, allocations: 19.97 kB / 1.423 GB, free: 21.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/3.233, allocations: 19.98 kB / 1.423 GB, free: 21.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/3.233, allocations: 19.98 kB / 1.423 GB, free: 21.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001064/3.233, allocations: 99.25 kB / 1.423 GB, free: 21.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.233, allocations: 0 / 1.423 GB, free: 21.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001811/3.235, allocations: 203.9 kB / 1.423 GB, free: 21.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 25 * 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.002759/3.238, allocations: 0.7319 MB / 1.424 GB, free: 20.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/3.24, allocations: 438.1 kB / 1.424 GB, free: 19.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/3.24, allocations: 0 / 1.424 GB, free: 19.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/3.241, allocations: 206 kB / 1.424 GB, free: 19.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/3.243, allocations: 95.97 kB / 1.424 GB, free: 19.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/3.246, allocations: 1.043 MB / 1.425 GB, free: 18.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/3.247, allocations: 0.7484 MB / 1.426 GB, free: 17.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001915/3.249, allocations: 108.6 kB / 1.426 GB, free: 17.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/3.249, allocations: 35.36 kB / 1.426 GB, free: 17.68 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/3.249, allocations: 0 / 1.426 GB, free: 17.68 MB / 442.7 MB Notification: Performance of Templates: time 0.03965/3.289, allocations: 14.63 MB / 1.441 GB, free: 3.078 MB / 442.7 MB