Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 8 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 44.5 MB / 309 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.774/7.876, allocations: 2.576 GB / 2.878 GB, free: 90.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/7.876, allocations: 91.27 kB / 2.878 GB, free: 90.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.122/9.998, allocations: 430.9 MB / 3.299 GB, free: 23.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/9.998, allocations: 0 / 3.299 GB, free: 23.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.408e-05/9.998, allocations: 10.19 kB / 3.299 GB, free: 23.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006381/10, allocations: 1.279 MB / 3.3 GB, free: 22.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/10, allocations: 12.03 kB / 3.3 GB, free: 22.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/10.01, allocations: 158.6 kB / 3.3 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/10.01, allocations: 310.3 kB / 3.3 GB, free: 21.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/10.01, allocations: 36.16 kB / 3.3 GB, free: 21.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/10.01, allocations: 28.69 kB / 3.3 GB, free: 21.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/10.01, allocations: 0.5688 MB / 3.301 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/10.01, allocations: 7.906 kB / 3.301 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/10.01, allocations: 19.06 kB / 3.301 GB, free: 21.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/10.01, allocations: 8 kB / 3.301 GB, free: 21.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/10.02, allocations: 0.5359 MB / 3.301 GB, free: 20.76 MB / 410.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.005341/10.02, allocations: 2.613 MB / 3.304 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/10.02, allocations: 485.4 kB / 3.304 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/10.03, allocations: 0.5701 MB / 3.305 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/10.03, allocations: 34.56 kB / 3.305 GB, free: 16.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.025e-06/10.03, allocations: 0 / 3.305 GB, free: 16.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.01011/10.04, allocations: 1.592 MB / 3.307 GB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/10.04, allocations: 55.41 kB / 3.307 GB, free: 15.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/10.04, allocations: 256.8 kB / 3.307 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/10.04, allocations: 37.05 kB / 3.307 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/10.04, allocations: 238.6 kB / 3.307 GB, free: 14.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.618e-05/10.04, allocations: 117.4 kB / 3.307 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/10.04, allocations: 4 kB / 3.307 GB, free: 14.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/10.04, allocations: 326.8 kB / 3.308 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/10.04, allocations: 147.6 kB / 3.308 GB, free: 13.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/10.04, allocations: 246.1 kB / 3.308 GB, free: 13.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/10.04, allocations: 183.7 kB / 3.308 GB, free: 13.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/10.04, allocations: 0 / 3.308 GB, free: 13.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002168/10.04, allocations: 0.5169 MB / 3.309 GB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/10.04, allocations: 8 kB / 3.309 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/10.04, allocations: 4 kB / 3.309 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008297/10.04, allocations: 118 kB / 3.309 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/10.04, allocations: 91.89 kB / 3.309 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/10.04, allocations: 2.425 MB / 3.311 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/10.05, allocations: 55.09 kB / 3.311 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/10.05, allocations: 19.98 kB / 3.311 GB, free: 10.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002771/10.05, allocations: 165.4 kB / 3.311 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/10.05, allocations: 35.61 kB / 3.312 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/10.05, allocations: 1.37 MB / 3.313 GB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/10.05, allocations: 15.98 kB / 3.313 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/10.05, allocations: 11.98 kB / 3.313 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002428/10.05, allocations: 1.458 MB / 3.314 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/10.05, allocations: 2.134 MB / 3.316 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/10.06, allocations: 2.531 kB / 3.316 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/10.06, allocations: 107 kB / 3.317 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/10.06, allocations: 79.89 kB / 3.317 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/10.06, allocations: 7.984 kB / 3.317 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003732/10.06, allocations: 0.5875 MB / 3.317 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/10.06, allocations: 0 / 3.317 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/10.06, allocations: 1.315 MB / 3.318 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/10.06, allocations: 168.2 kB / 3.319 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/10.06, allocations: 4 kB / 3.319 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/10.06, allocations: 51.05 kB / 3.319 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/10.06, allocations: 31.95 kB / 3.319 GB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/10.06, allocations: 23.27 kB / 3.319 GB, free: 2.332 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003348/10.06, allocations: 231 kB / 3.319 GB, free: 2.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/10.06, allocations: 0 / 3.319 GB, free: 2.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004387/10.07, allocations: 0.886 MB / 3.32 GB, free: 1.215 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 Backend phase and start with SimCode phase: time 0.00845/10.07, allocations: 1.338 MB / 3.321 GB, free: 112 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002362/10.08, allocations: 0.6564 MB / 3.322 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/10.08, allocations: 0 / 3.322 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/10.08, allocations: 422.8 kB / 3.322 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/10.08, allocations: 191.3 kB / 3.322 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/10.08, allocations: 1.586 MB / 3.324 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/10.08, allocations: 0.8882 MB / 3.325 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/10.08, allocations: 35.42 kB / 3.325 GB, free: 12.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/10.08, allocations: 4 kB / 3.325 GB, free: 12.33 MB / 426.7 MB Notification: Performance of Templates: time 0.3997/10.48, allocations: 27.81 MB / 3.352 GB, free: 51.2 MB / 426.7 MB