Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002663/0.002669, allocations: 362.5 kB / 15.95 MB, free: 6.203 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 4.227/4.227, allocations: 388.9 MB / 405.6 MB, free: 9.648 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: 231.6 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.5364/0.5364, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005112, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.38/20.5, allocations: 6.537 GB / 7.217 GB, free: 51.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/20.5, allocations: 86.7 kB / 7.217 GB, free: 51.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49/21.99, allocations: 245.9 MB / 7.457 GB, free: 8.035 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/21.99, allocations: 4 kB / 7.457 GB, free: 8.031 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/21.99, allocations: 4 kB / 7.457 GB, free: 8.027 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01112/22, allocations: 1.897 MB / 7.459 GB, free: 6.082 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/22, allocations: 12.03 kB / 7.459 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/22, allocations: 39.66 kB / 7.459 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/22, allocations: 242.7 kB / 7.459 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/22, allocations: 28.53 kB / 7.459 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/22, allocations: 24 kB / 7.459 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/22, allocations: 0.4934 MB / 7.46 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/22, allocations: 0 / 7.46 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/22, allocations: 12 kB / 7.46 GB, free: 5.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/22, allocations: 16.56 kB / 7.46 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/22, allocations: 0.888 MB / 7.461 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/22.01, allocations: 1.757 MB / 7.462 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/22.01, allocations: 331.4 kB / 7.463 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/22.01, allocations: 109.5 kB / 7.463 GB, free: 1.934 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3807/22.39, allocations: 12.88 MB / 7.475 GB, free: 52.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006466/22.39, allocations: 239.2 kB / 7.476 GB, free: 52.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.988e-06/22.39, allocations: 0 / 7.476 GB, free: 52.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.003432/22.39, allocations: 0.7966 MB / 7.476 GB, free: 52.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/22.39, allocations: 269.7 kB / 7.477 GB, free: 51.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/22.39, allocations: 203.9 kB / 7.477 GB, free: 51.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/22.39, allocations: 36.14 kB / 7.477 GB, free: 51.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/22.39, allocations: 205.7 kB / 7.477 GB, free: 51.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/22.39, allocations: 122.2 kB / 7.477 GB, free: 51.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/22.39, allocations: 11.06 kB / 7.477 GB, free: 51.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/22.39, allocations: 332.7 kB / 7.478 GB, free: 51.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/22.39, allocations: 91.44 kB / 7.478 GB, free: 51.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/22.39, allocations: 363.3 kB / 7.478 GB, free: 50.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/22.39, allocations: 147.7 kB / 7.478 GB, free: 50.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/22.39, allocations: 3.875 kB / 7.478 GB, free: 50.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001844/22.4, allocations: 0.4888 MB / 7.479 GB, free: 50.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/22.4, allocations: 7.719 kB / 7.479 GB, free: 50.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/22.4, allocations: 11.16 kB / 7.479 GB, free: 50.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.311e-05/22.4, allocations: 17.53 kB / 7.479 GB, free: 50.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/22.4, allocations: 176.1 kB / 7.479 GB, free: 50.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005975/22.4, allocations: 1.189 MB / 7.48 GB, free: 49.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/22.4, allocations: 37.72 kB / 7.48 GB, free: 49.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/22.4, allocations: 47.59 kB / 7.48 GB, free: 49.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002652/22.4, allocations: 169 kB / 7.48 GB, free: 49.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/22.4, allocations: 36.61 kB / 7.48 GB, free: 49.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/22.4, allocations: 0.5036 MB / 7.481 GB, free: 49.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/22.4, allocations: 2.75 kB / 7.481 GB, free: 49.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/22.4, allocations: 0 / 7.481 GB, free: 49.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/22.4, allocations: 1.375 kB / 7.481 GB, free: 49.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/22.4, allocations: 0.566 MB / 7.481 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/22.4, allocations: 1.375 kB / 7.481 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/22.4, allocations: 71.8 kB / 7.481 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/22.4, allocations: 1.375 kB / 7.481 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/22.4, allocations: 9.5 kB / 7.481 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004715/22.4, allocations: 1.174 MB / 7.482 GB, free: 47.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/22.4, allocations: 1.375 kB / 7.482 GB, free: 47.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/22.4, allocations: 295.1 kB / 7.483 GB, free: 47.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/22.4, allocations: 122.8 kB / 7.483 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/22.4, allocations: 8.516 kB / 7.483 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/22.4, allocations: 20.72 kB / 7.483 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/22.4, allocations: 16.39 kB / 7.483 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/22.4, allocations: 8.875 kB / 7.483 GB, free: 47.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002406/22.41, allocations: 182 kB / 7.483 GB, free: 47.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.2e-07/22.41, allocations: 0 / 7.483 GB, free: 47.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009423/22.41, allocations: 1.938 MB / 7.485 GB, free: 47.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01764/22.43, allocations: 2.73 MB / 7.488 GB, free: 47.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/22.43, allocations: 313.2 kB / 7.488 GB, free: 47.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/22.43, allocations: 0 / 7.488 GB, free: 47.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006181/22.43, allocations: 106.4 kB / 7.488 GB, free: 47.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/22.44, allocations: 61.12 kB / 7.488 GB, free: 47.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9299/23.37, allocations: 209.8 MB / 7.693 GB, free: 76.83 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/23.37, allocations: 0.7665 MB / 7.694 GB, free: 76.13 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0009489/23.37, allocations: 143.3 kB / 7.694 GB, free: 76.11 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/23.37, allocations: 43.22 kB / 7.694 GB, free: 76.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.183e-06/23.37, allocations: 0 / 7.694 GB, free: 76.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.1065/23.47, allocations: 55.5 MB / 7.748 GB, free: 71.5 MB / 0.4949 GB