Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.698/1.698, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07849/0.07886, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04527/0.1242, allocations: 26.92 MB / 299.6 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2555/0.3798, allocations: 13.18 MB / 312.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005305/0.3804, allocations: 2.531 kB / 312.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.3817, allocations: 241.8 kB / 313 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3827, allocations: 241.9 kB / 313.2 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02652/0.4092, allocations: 4.49 MB / 317.7 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.411, allocations: 0.5777 MB / 318.3 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.4113, allocations: 80.73 kB / 318.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.4234, allocations: 3.239 MB / 321.6 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.424, allocations: 192.2 kB / 321.8 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.62e-05/0.4241, allocations: 16.38 kB / 321.8 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01873/0.4429, allocations: 5.879 MB / 327.7 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.4431, allocations: 83.84 kB / 327.8 MB, free: 6.551 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.4434, allocations: 109.5 kB / 327.9 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006003/0.4494, allocations: 2.58 MB / 330.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4494, allocations: 0 / 330.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4495, allocations: 0 / 330.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4495, allocations: 8 kB / 330.5 MB, free: 3.984 MB / 250.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.002528/0.452, allocations: 0.9004 MB / 331.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4521, allocations: 12.03 kB / 331.4 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.4539, allocations: 155.5 kB / 331.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.4545, allocations: 318 kB / 331.8 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.4546, allocations: 20.66 kB / 331.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.4546, allocations: 35.98 kB / 331.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.4564, allocations: 0.5152 MB / 332.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.4565, allocations: 4 kB / 332.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.4566, allocations: 15.98 kB / 332.4 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.4566, allocations: 8 kB / 332.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009065/0.4575, allocations: 325.8 kB / 332.8 MB, free: 1.574 MB / 250.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.004418/0.462, allocations: 2.574 MB / 335.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.463, allocations: 267.3 kB / 335.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1547/0.6177, allocations: 31.2 MB / 366.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.6178, allocations: 34.56 kB / 366.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.775e-06/0.6178, allocations: 0 / 366.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.005067/0.6229, allocations: 1.218 MB / 368 MB, free: 10.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.6229, allocations: 55.41 kB / 368.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.6234, allocations: 254.5 kB / 368.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.6234, allocations: 29.7 kB / 368.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.6236, allocations: 195.1 kB / 368.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.6237, allocations: 110.4 kB / 368.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.6238, allocations: 12 kB / 368.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.6239, allocations: 338.8 kB / 369 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.6242, allocations: 84.84 kB / 369.1 MB, free: 9.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.6246, allocations: 218.8 kB / 369.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.625, allocations: 139.9 kB / 369.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.625, allocations: 0 / 369.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001231/0.6262, allocations: 406.6 kB / 369.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.6263, allocations: 9.406 kB / 369.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6263, allocations: 4 kB / 369.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.6267, allocations: 70.14 kB / 369.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.6274, allocations: 83.91 kB / 370 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.6297, allocations: 2.436 MB / 372.4 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.6302, allocations: 32.22 kB / 372.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.6303, allocations: 19.98 kB / 372.5 MB, free: 5.688 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.6306, allocations: 157.7 kB / 372.7 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6307, allocations: 31.62 kB / 372.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.6324, allocations: 0.8746 MB / 373.6 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001424/0.6339, allocations: 1.045 MB / 374.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.6339, allocations: 4 kB / 374.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.6341, allocations: 132.5 kB / 374.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.6342, allocations: 8 kB / 374.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.6349, allocations: 39.91 kB / 374.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.635, allocations: 28.19 kB / 374.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001435/0.6364, allocations: 0.5734 MB / 375.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001464/0.6379, allocations: 0.8327 MB / 376.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004441/0.6384, allocations: 217 kB / 376.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003756/0.6387, allocations: 227.1 kB / 376.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of Backend: time 9.32e-07/0.6388, allocations: 0 / 376.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007981/0.6467, allocations: 1.415 MB / 378.1 MB, free: 52 kB / 298.7 MB Notification: Performance of SimCode: time 0.002788/0.6496, allocations: 1.499 MB / 379.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Templates: time 0.1222/0.7718, allocations: 37.12 MB / 416.7 MB, free: 9.375 MB / 346.7 MB