Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004691/0.004698, allocations: 347.1 kB / 15.93 MB, free: 6.223 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.211/3.211, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003533/0.003533, allocations: 216.4 kB / 397.8 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5633/0.5633, allocations: 76.09 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004548, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08923/0.08971, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.451/7.54, allocations: 2.477 GB / 3.084 GB, free: 116.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/7.541, allocations: 88.14 kB / 3.084 GB, free: 116.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337/8.878, allocations: 295.3 MB / 3.372 GB, free: 3.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/8.878, allocations: 0 / 3.372 GB, free: 3.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.941e-05/8.878, allocations: 8 kB / 3.372 GB, free: 3.625 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006243/8.884, allocations: 1.333 MB / 3.374 GB, free: 2.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/8.885, allocations: 12.03 kB / 3.374 GB, free: 2.238 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/8.887, allocations: 175.5 kB / 3.374 GB, free: 2.066 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/8.888, allocations: 365 kB / 3.374 GB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/8.888, allocations: 24.56 kB / 3.374 GB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/8.888, allocations: 24 kB / 3.374 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/8.89, allocations: 0.4917 MB / 3.375 GB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/8.89, allocations: 7.938 kB / 3.375 GB, free: 1.082 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/8.89, allocations: 19.94 kB / 3.375 GB, free: 1.062 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/8.89, allocations: 8 kB / 3.375 GB, free: 1.055 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/8.892, allocations: 429.3 kB / 3.375 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3264/9.218, allocations: 2.278 MB / 3.377 GB, free: 52.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/9.22, allocations: 297.1 kB / 3.378 GB, free: 52.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/9.22, allocations: 93.41 kB / 3.378 GB, free: 52.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06062/9.281, allocations: 15.65 MB / 3.393 GB, free: 44.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/9.281, allocations: 38.38 kB / 3.393 GB, free: 44.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/9.281, allocations: 2.188 kB / 3.393 GB, free: 44.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.00271/9.284, allocations: 0.491 MB / 3.393 GB, free: 44.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/9.284, allocations: 105.1 kB / 3.394 GB, free: 44.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/9.284, allocations: 273.7 kB / 3.394 GB, free: 44.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/9.284, allocations: 30.33 kB / 3.394 GB, free: 44.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/9.284, allocations: 223.5 kB / 3.394 GB, free: 44.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/9.284, allocations: 53.23 kB / 3.394 GB, free: 44.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/9.284, allocations: 8.562 kB / 3.394 GB, free: 44.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/9.285, allocations: 338.7 kB / 3.394 GB, free: 44.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/9.285, allocations: 86.12 kB / 3.395 GB, free: 44.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/9.286, allocations: 231 kB / 3.395 GB, free: 43.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/9.286, allocations: 117.4 kB / 3.395 GB, free: 43.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/9.286, allocations: 1.281 kB / 3.395 GB, free: 43.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001221/9.287, allocations: 351.6 kB / 3.395 GB, free: 43.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/9.287, allocations: 11.81 kB / 3.395 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/9.287, allocations: 4.469 kB / 3.395 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/9.287, allocations: 5.969 kB / 3.395 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/9.288, allocations: 76.83 kB / 3.395 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/9.288, allocations: 10 kB / 3.395 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/9.288, allocations: 54.98 kB / 3.395 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/9.288, allocations: 20.17 kB / 3.395 GB, free: 43.85 MB / 442.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.0002432/9.289, allocations: 161.1 kB / 3.396 GB, free: 43.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/9.289, allocations: 27.12 kB / 3.396 GB, free: 43.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/9.291, allocations: 0.9553 MB / 3.397 GB, free: 43.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/9.291, allocations: 10.86 kB / 3.397 GB, free: 43.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/9.291, allocations: 0 / 3.397 GB, free: 43.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/9.291, allocations: 0 / 3.397 GB, free: 43.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/9.292, allocations: 0.5729 MB / 3.397 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/9.292, allocations: 4.25 kB / 3.397 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/9.292, allocations: 51.06 kB / 3.397 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/9.292, allocations: 5.031 kB / 3.397 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/9.292, allocations: 5.125 kB / 3.397 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/9.292, allocations: 1.688 kB / 3.397 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/9.292, allocations: 0 / 3.397 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/9.293, allocations: 0.5353 MB / 3.398 GB, free: 43.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/9.293, allocations: 160.3 kB / 3.398 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/9.293, allocations: 6.312 kB / 3.398 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/9.294, allocations: 27.41 kB / 3.398 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/9.294, allocations: 16.97 kB / 3.398 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/9.294, allocations: 7.75 kB / 3.398 GB, free: 43.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003331/9.294, allocations: 227.1 kB / 3.398 GB, free: 43.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/9.294, allocations: 0 / 3.398 GB, free: 43.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004607/9.299, allocations: 0.8711 MB / 3.399 GB, free: 43.03 MB / 442.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.00905/9.308, allocations: 1.277 MB / 3.4 GB, free: 42.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/9.309, allocations: 307 kB / 3.4 GB, free: 42.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/9.309, allocations: 6.812 kB / 3.4 GB, free: 42.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/9.31, allocations: 215.3 kB / 3.401 GB, free: 42.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/9.311, allocations: 137 kB / 3.401 GB, free: 42.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06708/9.378, allocations: 26.81 MB / 3.427 GB, free: 42.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/9.378, allocations: 0.8502 MB / 3.428 GB, free: 41.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005387/9.379, allocations: 147.9 kB / 3.428 GB, free: 41.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/9.379, allocations: 33.41 kB / 3.428 GB, free: 41.33 MB / 442.7 MB Notification: Performance of SimCode: time 9.61e-07/9.379, allocations: 0 / 3.428 GB, free: 41.33 MB / 442.7 MB Notification: Performance of Templates: time 0.05744/9.437, allocations: 28.95 MB / 3.456 GB, free: 39.84 MB / 442.7 MB