Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002617/0.002623, allocations: 351.1 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.631/3.631, 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.003541/0.003541, allocations: 214.1 kB / 397.8 MB, free: 4.977 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.4695/0.4695, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004717, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09032, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.812/7.902, allocations: 2.477 GB / 3.083 GB, free: 52.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/7.903, allocations: 93.64 kB / 3.083 GB, free: 52.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.641/9.543, allocations: 275.2 MB / 3.352 GB, free: 60.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.946e-06/9.543, allocations: 0 / 3.352 GB, free: 60.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.376e-05/9.543, allocations: 11.94 kB / 3.352 GB, free: 60.23 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.006722/9.55, allocations: 1.226 MB / 3.353 GB, free: 59.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/9.55, allocations: 10.06 kB / 3.353 GB, free: 59.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/9.552, allocations: 118.3 kB / 3.353 GB, free: 59.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/9.553, allocations: 349 kB / 3.354 GB, free: 59.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/9.554, allocations: 23.62 kB / 3.354 GB, free: 59.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/9.554, allocations: 22.19 kB / 3.354 GB, free: 59.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/9.556, allocations: 466.6 kB / 3.354 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/9.556, allocations: 6.469 kB / 3.354 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/9.556, allocations: 17.06 kB / 3.354 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/9.556, allocations: 6.906 kB / 3.354 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/9.559, allocations: 396.1 kB / 3.355 GB, free: 59.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/9.564, allocations: 2.239 MB / 3.357 GB, free: 57.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/9.566, allocations: 255.9 kB / 3.357 GB, free: 57.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/9.567, allocations: 84.33 kB / 3.357 GB, free: 57.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/9.567, allocations: 486.9 kB / 3.358 GB, free: 57.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/9.568, allocations: 38.09 kB / 3.358 GB, free: 56.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 3.828e-06/9.568, allocations: 5.281 kB / 3.358 GB, free: 56.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.003577/9.571, allocations: 425.4 kB / 3.358 GB, free: 56.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/9.571, allocations: 105.3 kB / 3.358 GB, free: 56.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/9.572, allocations: 280.5 kB / 3.358 GB, free: 56.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/9.572, allocations: 26.89 kB / 3.358 GB, free: 56.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/9.572, allocations: 222.8 kB / 3.359 GB, free: 56.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/9.572, allocations: 39.45 kB / 3.359 GB, free: 56.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/9.572, allocations: 8.094 kB / 3.359 GB, free: 56.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/9.573, allocations: 338.5 kB / 3.359 GB, free: 56.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/9.573, allocations: 81.58 kB / 3.359 GB, free: 56.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/9.574, allocations: 220.7 kB / 3.359 GB, free: 56.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/9.574, allocations: 110.2 kB / 3.359 GB, free: 56.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/9.575, allocations: 1.25 kB / 3.359 GB, free: 56.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001634/9.576, allocations: 327.6 kB / 3.36 GB, free: 55.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/9.576, allocations: 11.17 kB / 3.36 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/9.576, allocations: 4.688 kB / 3.36 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/9.576, allocations: 6.75 kB / 3.36 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/9.577, allocations: 78.77 kB / 3.36 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/9.577, allocations: 8.344 kB / 3.36 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/9.578, allocations: 46.94 kB / 3.36 GB, free: 55.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/9.578, allocations: 18.84 kB / 3.36 GB, free: 55.96 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 (31): * Single equations (assignments): 31 * 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.000252/9.578, allocations: 160 kB / 3.36 GB, free: 55.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/9.578, allocations: 24.44 kB / 3.36 GB, free: 55.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/9.58, allocations: 0.6916 MB / 3.361 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/9.58, allocations: 6.75 kB / 3.361 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/9.58, allocations: 0 / 3.361 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/9.58, allocations: 5.891 kB / 3.361 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/9.581, allocations: 473.2 kB / 3.361 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/9.581, allocations: 0 / 3.361 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/9.581, allocations: 57.41 kB / 3.361 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/9.581, allocations: 3.938 kB / 3.361 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/9.581, allocations: 4.766 kB / 3.361 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-05/9.581, allocations: 5.078 kB / 3.361 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/9.581, allocations: 0 / 3.361 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/9.582, allocations: 450.5 kB / 3.362 GB, free: 55.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/9.582, allocations: 159.7 kB / 3.362 GB, free: 55.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/9.582, allocations: 4.953 kB / 3.362 GB, free: 55.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/9.583, allocations: 23.05 kB / 3.362 GB, free: 55.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/9.583, allocations: 16.8 kB / 3.362 GB, free: 55.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/9.583, allocations: 7.297 kB / 3.362 GB, free: 55.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004979/9.584, allocations: 237.7 kB / 3.362 GB, free: 55.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.42e-07/9.584, allocations: 0 / 3.362 GB, free: 55.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00535/9.589, allocations: 0.8578 MB / 3.363 GB, free: 55.01 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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.008929/9.598, allocations: 1.272 MB / 3.364 GB, free: 54.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/9.599, allocations: 266.2 kB / 3.365 GB, free: 54.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/9.599, allocations: 0 / 3.365 GB, free: 54.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/9.599, allocations: 158.9 kB / 3.365 GB, free: 54.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/9.601, allocations: 124 kB / 3.365 GB, free: 54.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06861/9.669, allocations: 26.69 MB / 3.391 GB, free: 52.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/9.67, allocations: 0.8276 MB / 3.392 GB, free: 51.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005149/9.67, allocations: 123.2 kB / 3.392 GB, free: 51.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/9.67, allocations: 26.91 kB / 3.392 GB, free: 51.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.954e-06/9.67, allocations: 0 / 3.392 GB, free: 51.97 MB / 442.7 MB Notification: Performance of Templates: time 0.05905/9.729, allocations: 28.58 MB / 3.42 GB, free: 50.36 MB / 442.7 MB