Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005109, allocations: 12 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09269, allocations: 44.52 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01868/0.1114, allocations: 11.02 MB / 320.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.1288, allocations: 9.814 MB / 329.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.129, allocations: 0 / 329.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.1293, allocations: 59.73 kB / 330 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.1296, allocations: 79.8 kB / 330 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01597/0.1456, allocations: 3.908 MB / 333.9 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.1461, allocations: 175.6 kB / 334.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.09e-05/0.1461, allocations: 9.391 kB / 334.1 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.1468, allocations: 211.3 kB / 334.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.147, allocations: 63.8 kB / 334.4 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.147, allocations: 7.938 kB / 334.4 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/0.1651, allocations: 6.801 MB / 341.2 MB, free: 156 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.1652, allocations: 19.91 kB / 341.2 MB, free: 136 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.687e-05/0.1653, allocations: 53.64 kB / 341.3 MB, free: 76 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006611/0.1719, allocations: 2.577 MB / 343.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.172, allocations: 0 / 343.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.172, allocations: 0 / 343.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.172, allocations: 0 / 343.8 MB, free: 13.49 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.007431/0.1794, allocations: 1.107 MB / 345 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1795, allocations: 8.031 kB / 345 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.1802, allocations: 55.77 kB / 345 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1805, allocations: 218.8 kB / 345.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.1806, allocations: 12.28 kB / 345.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/0.1806, allocations: 12 kB / 345.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.1826, allocations: 394.5 kB / 345.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.1827, allocations: 11.88 kB / 345.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.1827, allocations: 8 kB / 345.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1827, allocations: 4 kB / 345.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.1851, allocations: 368.3 kB / 346 MB, free: 11.2 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.1871, allocations: 1.192 MB / 347.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.1884, allocations: 300.3 kB / 347.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3908/0.5793, allocations: 47.86 MB / 395.4 MB, free: 46.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5793, allocations: 39.47 kB / 395.4 MB, free: 46.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.474e-06/0.5794, allocations: 0 / 395.4 MB, free: 46.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.01054/0.5899, allocations: 1.616 MB / 397 MB, free: 45.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.59, allocations: 108.7 kB / 397.1 MB, free: 45.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.5901, allocations: 118.7 kB / 397.2 MB, free: 44.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.5901, allocations: 33.7 kB / 397.3 MB, free: 44.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.5902, allocations: 108 kB / 397.4 MB, free: 44.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.5903, allocations: 115 kB / 397.5 MB, free: 44.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.5903, allocations: 12 kB / 397.5 MB, free: 44.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.5904, allocations: 326.8 kB / 397.8 MB, free: 44.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.5911, allocations: 131.9 kB / 397.9 MB, free: 44.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/0.5917, allocations: 211.4 kB / 398.2 MB, free: 43.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.5924, allocations: 144 kB / 398.3 MB, free: 43.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5924, allocations: 0 / 398.3 MB, free: 43.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001673/0.5941, allocations: 438 kB / 398.7 MB, free: 43.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5941, allocations: 6.578 kB / 398.7 MB, free: 43.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5941, allocations: 4 kB / 398.7 MB, free: 43.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.5945, allocations: 40.83 kB / 398.8 MB, free: 43.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.5953, allocations: 92.03 kB / 398.9 MB, free: 43.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003395/0.5956, allocations: 0.5497 MB / 399.4 MB, free: 42.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.5961, allocations: 39.2 kB / 399.5 MB, free: 42.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.5962, allocations: 12 kB / 399.5 MB, free: 42.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.5964, allocations: 137.9 kB / 399.6 MB, free: 42.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5965, allocations: 15.81 kB / 399.6 MB, free: 42.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.5995, allocations: 1.458 MB / 401.1 MB, free: 41.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5995, allocations: 0 / 401.1 MB, free: 41.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5995, allocations: 4.031 kB / 401.1 MB, free: 41.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.5996, allocations: 132.3 kB / 401.2 MB, free: 40.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.5997, allocations: 8.656 kB / 401.2 MB, free: 40.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.6003, allocations: 35.97 kB / 401.2 MB, free: 40.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.6004, allocations: 31.89 kB / 401.3 MB, free: 40.8 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002739/0.6031, allocations: 1.215 MB / 402.5 MB, free: 39.59 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002957/0.6061, allocations: 1.699 MB / 404.2 MB, free: 37.87 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009/0.607, allocations: 472.8 kB / 404.7 MB, free: 37.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.145e-05/0.6071, allocations: 91.27 kB / 404.7 MB, free: 37.31 MB / 314.7 MB Notification: Performance of Backend: time 7.31e-07/0.6071, allocations: 7.609 kB / 404.8 MB, free: 37.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008186/0.6153, allocations: 1.518 MB / 406.3 MB, free: 36.02 MB / 314.7 MB Notification: Performance of SimCode: time 0.001518/0.6169, allocations: 1.361 MB / 407.6 MB, free: 34.63 MB / 314.7 MB Notification: Performance of Templates: time 0.06961/0.6865, allocations: 39.26 MB / 446.9 MB, free: 11.34 MB / 330.7 MB