Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004121/0.004127, allocations: 356.1 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: 9.66 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.003649/0.003649, allocations: 243.3 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.5082/0.5082, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004806, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.8/7.904, allocations: 2.587 GB / 3.267 GB, free: 59.59 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/7.904, allocations: 87.08 kB / 3.267 GB, free: 59.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673/9.577, allocations: 280.6 MB / 3.541 GB, free: 70.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.325e-06/9.577, allocations: 0 / 3.541 GB, free: 70.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.304e-05/9.577, allocations: 11.56 kB / 3.541 GB, free: 70.21 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005656/9.582, allocations: 1.236 MB / 3.543 GB, free: 69.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/9.582, allocations: 7.688 kB / 3.543 GB, free: 69.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/9.584, allocations: 119.5 kB / 3.543 GB, free: 69.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/9.585, allocations: 354.3 kB / 3.543 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/9.585, allocations: 27.47 kB / 3.543 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/9.585, allocations: 23.22 kB / 3.543 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/9.586, allocations: 467.5 kB / 3.544 GB, free: 69.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/9.586, allocations: 1.031 kB / 3.544 GB, free: 69.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/9.586, allocations: 14.5 kB / 3.544 GB, free: 69.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/9.587, allocations: 9.188 kB / 3.544 GB, free: 69.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/9.588, allocations: 396.2 kB / 3.544 GB, free: 69.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/9.591, allocations: 2.246 MB / 3.546 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/9.593, allocations: 250.6 kB / 3.546 GB, free: 67.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/9.593, allocations: 79.5 kB / 3.547 GB, free: 67.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005229/9.594, allocations: 488 kB / 3.547 GB, free: 67.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/9.594, allocations: 38.62 kB / 3.547 GB, free: 67.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 3.346e-06/9.594, allocations: 3.891 kB / 3.547 GB, free: 67.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.002223/9.596, allocations: 424.7 kB / 3.547 GB, free: 66.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/9.596, allocations: 109.1 kB / 3.548 GB, free: 66.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/9.596, allocations: 271.8 kB / 3.548 GB, free: 66.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/9.596, allocations: 30.39 kB / 3.548 GB, free: 66.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/9.597, allocations: 219.7 kB / 3.548 GB, free: 66.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/9.597, allocations: 45.05 kB / 3.548 GB, free: 66.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/9.597, allocations: 8.344 kB / 3.548 GB, free: 66.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/9.597, allocations: 344 kB / 3.548 GB, free: 66.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/9.597, allocations: 76.61 kB / 3.548 GB, free: 66.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/9.598, allocations: 222 kB / 3.549 GB, free: 66.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/9.598, allocations: 119.2 kB / 3.549 GB, free: 66.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/9.598, allocations: 2.25 kB / 3.549 GB, free: 66.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001104/9.599, allocations: 326.9 kB / 3.549 GB, free: 66.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/9.599, allocations: 6.875 kB / 3.549 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/9.599, allocations: 8.938 kB / 3.549 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/9.599, allocations: 7.062 kB / 3.549 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/9.6, allocations: 75.5 kB / 3.549 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/9.6, allocations: 12.89 kB / 3.549 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/9.6, allocations: 48.23 kB / 3.549 GB, free: 66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/9.6, allocations: 15.78 kB / 3.549 GB, free: 66 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 (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.0002766/9.601, allocations: 155.8 kB / 3.549 GB, free: 65.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/9.601, allocations: 28 kB / 3.549 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/9.602, allocations: 0.684 MB / 3.55 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/9.602, allocations: 2.812 kB / 3.55 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/9.602, allocations: 3.094 kB / 3.55 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/9.602, allocations: 3.656 kB / 3.55 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/9.603, allocations: 484 kB / 3.551 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/9.603, allocations: 3.625 kB / 3.551 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/9.603, allocations: 52.2 kB / 3.551 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/9.603, allocations: 0 / 3.551 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/9.603, allocations: 4.219 kB / 3.551 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/9.603, allocations: 4.828 kB / 3.551 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/9.604, allocations: 3.125 kB / 3.551 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/9.604, allocations: 449.3 kB / 3.551 GB, free: 65.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/9.605, allocations: 144.4 kB / 3.551 GB, free: 65.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/9.605, allocations: 8.625 kB / 3.551 GB, free: 65.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/9.605, allocations: 27.77 kB / 3.551 GB, free: 65.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/9.605, allocations: 16.89 kB / 3.551 GB, free: 65.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/9.605, allocations: 6 kB / 3.551 GB, free: 65.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003603/9.606, allocations: 227.5 kB / 3.552 GB, free: 65.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/9.606, allocations: 3.781 kB / 3.552 GB, free: 65.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004787/9.61, allocations: 0.8653 MB / 3.552 GB, free: 65.1 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: 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.009223/9.62, allocations: 1.277 MB / 3.554 GB, free: 64.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/9.621, allocations: 272.5 kB / 3.554 GB, free: 64.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/9.621, allocations: 0 / 3.554 GB, free: 64.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/9.621, allocations: 159.5 kB / 3.554 GB, free: 64.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/9.623, allocations: 123.6 kB / 3.554 GB, free: 64.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07014/9.693, allocations: 26.69 MB / 3.58 GB, free: 64.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/9.693, allocations: 0.8303 MB / 3.581 GB, free: 63.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005037/9.694, allocations: 125 kB / 3.581 GB, free: 63.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/9.694, allocations: 29.88 kB / 3.581 GB, free: 63.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/9.694, allocations: 0.9062 kB / 3.581 GB, free: 63.56 MB / 490.7 MB Notification: Performance of Templates: time 0.05821/9.752, allocations: 28.71 MB / 3.609 GB, free: 62.34 MB / 490.7 MB