Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002662/0.002662, allocations: 359.2 kB / 15.95 MB, free: 6.207 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 3.829/3.829, allocations: 388.9 MB / 405.6 MB, free: 10.26 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.003557/0.003556, allocations: 235.3 kB / 451 MB, free: 145.1 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.6161/0.6161, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.000467, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.927/8.047, allocations: 2.588 GB / 3.268 GB, free: 58.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/8.048, allocations: 98.88 kB / 3.268 GB, free: 58.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.758/9.805, allocations: 301.8 MB / 3.563 GB, free: 70.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.714e-06/9.805, allocations: 3.375 kB / 3.563 GB, free: 70.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.621e-05/9.805, allocations: 7.156 kB / 3.563 GB, free: 70.64 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005582/9.811, allocations: 1.349 MB / 3.564 GB, free: 69.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/9.811, allocations: 12.28 kB / 3.564 GB, free: 69.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/9.813, allocations: 194 kB / 3.564 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/9.814, allocations: 363.2 kB / 3.565 GB, free: 69.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/9.814, allocations: 25.38 kB / 3.565 GB, free: 69.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/9.814, allocations: 25.67 kB / 3.565 GB, free: 69.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/9.816, allocations: 0.491 MB / 3.565 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/9.816, allocations: 3.469 kB / 3.565 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/9.816, allocations: 10.62 kB / 3.565 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/9.816, allocations: 7.594 kB / 3.565 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/9.818, allocations: 436.3 kB / 3.565 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/9.821, allocations: 2.289 MB / 3.568 GB, free: 67.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/9.822, allocations: 303 kB / 3.568 GB, free: 67.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/9.822, allocations: 88.03 kB / 3.568 GB, free: 67.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05785/9.88, allocations: 15.66 MB / 3.583 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/9.88, allocations: 33.62 kB / 3.583 GB, free: 60.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.825e-06/9.88, allocations: 0 / 3.583 GB, free: 60.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.002597/9.883, allocations: 0.4913 MB / 3.584 GB, free: 60.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/9.883, allocations: 109.8 kB / 3.584 GB, free: 59.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/9.884, allocations: 280.4 kB / 3.584 GB, free: 59.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/9.884, allocations: 28.95 kB / 3.584 GB, free: 59.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/9.884, allocations: 221.6 kB / 3.585 GB, free: 59.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/9.884, allocations: 45.11 kB / 3.585 GB, free: 59.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/9.884, allocations: 3.312 kB / 3.585 GB, free: 59.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/9.884, allocations: 351.5 kB / 3.585 GB, free: 59.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/9.884, allocations: 80.59 kB / 3.585 GB, free: 59.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/9.885, allocations: 226.2 kB / 3.585 GB, free: 59.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/9.885, allocations: 118 kB / 3.585 GB, free: 59.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/9.885, allocations: 0 / 3.585 GB, free: 59.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001048/9.886, allocations: 352 kB / 3.586 GB, free: 59.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/9.886, allocations: 7.562 kB / 3.586 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/9.886, allocations: 3.844 kB / 3.586 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/9.886, allocations: 7.469 kB / 3.586 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/9.887, allocations: 82.84 kB / 3.586 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/9.887, allocations: 7.219 kB / 3.586 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/9.887, allocations: 53.78 kB / 3.586 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/9.887, allocations: 18.12 kB / 3.586 GB, free: 59.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002011/9.888, allocations: 165.2 kB / 3.586 GB, free: 58.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/9.888, allocations: 25.38 kB / 3.586 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/9.889, allocations: 0.9527 MB / 3.587 GB, free: 58.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/9.889, allocations: 10.42 kB / 3.587 GB, free: 58.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/9.889, allocations: 0 / 3.587 GB, free: 58.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/9.889, allocations: 2.188 kB / 3.587 GB, free: 58.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/9.89, allocations: 0.5723 MB / 3.587 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/9.89, allocations: 0 / 3.587 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/9.89, allocations: 54.16 kB / 3.588 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/9.89, allocations: 6.531 kB / 3.588 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/9.89, allocations: 3.125 kB / 3.588 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/9.89, allocations: 0 / 3.588 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/9.89, allocations: 0 / 3.588 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/9.891, allocations: 0.5345 MB / 3.588 GB, free: 58.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/9.892, allocations: 160.7 kB / 3.588 GB, free: 58.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/9.892, allocations: 3.938 kB / 3.588 GB, free: 58.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/9.892, allocations: 18.83 kB / 3.588 GB, free: 58.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/9.892, allocations: 19.92 kB / 3.588 GB, free: 58.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/9.892, allocations: 6.125 kB / 3.588 GB, free: 58.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002843/9.892, allocations: 233.8 kB / 3.589 GB, free: 58.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/9.892, allocations: 0 / 3.589 GB, free: 58.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004295/9.897, allocations: 0.8671 MB / 3.589 GB, free: 58.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006936/9.904, allocations: 1.281 MB / 3.591 GB, free: 57.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/9.905, allocations: 317.1 kB / 3.591 GB, free: 57.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/9.905, allocations: 0 / 3.591 GB, free: 57.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/9.905, allocations: 215.6 kB / 3.591 GB, free: 57.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/9.906, allocations: 131.3 kB / 3.591 GB, free: 57.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05962/9.966, allocations: 26.8 MB / 3.617 GB, free: 55.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/9.966, allocations: 0.8541 MB / 3.618 GB, free: 54.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005363/9.967, allocations: 156.6 kB / 3.618 GB, free: 54.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/9.967, allocations: 30.52 kB / 3.618 GB, free: 54.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/9.967, allocations: 3.688 kB / 3.618 GB, free: 54.56 MB / 490.7 MB Notification: Performance of Templates: time 0.0576/10.02, allocations: 29.07 MB / 3.647 GB, free: 52.83 MB / 490.7 MB