Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.632/1.632, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07858, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04073/0.1194, allocations: 21.94 MB / 294.6 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.1226, allocations: 1.587 MB / 296.2 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.1227, allocations: 0 / 296.2 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1231, allocations: 43.78 kB / 296.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.1235, allocations: 115.7 kB / 296.3 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2579/0.3814, allocations: 4.345 MB / 300.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.3819, allocations: 183.4 kB / 300.8 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.382, allocations: 16.94 kB / 300.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.3824, allocations: 135.6 kB / 301 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.3826, allocations: 83.08 kB / 301.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.3827, allocations: 10.44 kB / 301.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02176/0.4044, allocations: 8.16 MB / 309.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.4046, allocations: 59.8 kB / 309.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.4048, allocations: 57.92 kB / 309.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.4132, allocations: 2.904 MB / 312.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4133, allocations: 0 / 312.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.4133, allocations: 9.578 kB / 312.3 MB, free: 9.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4133, allocations: 0 / 312.3 MB, free: 9.746 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.006543/0.4199, allocations: 1.051 MB / 313.3 MB, free: 8.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.42, allocations: 10.38 kB / 313.3 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.4203, allocations: 22.02 kB / 313.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.4206, allocations: 204.4 kB / 313.5 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.4207, allocations: 14.17 kB / 313.6 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.4208, allocations: 20.12 kB / 313.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.4222, allocations: 266.8 kB / 313.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.4223, allocations: 1.375 kB / 313.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.4224, allocations: 9.562 kB / 313.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.4224, allocations: 10.33 kB / 313.9 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.4243, allocations: 286.5 kB / 314.1 MB, free: 8.59 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.002807/0.4271, allocations: 0.7581 MB / 314.9 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.4286, allocations: 317.1 kB / 315.2 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02548/0.4541, allocations: 10.43 MB / 325.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.4542, allocations: 41.56 kB / 325.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 4.258e-06/0.4542, allocations: 0 / 325.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.006212/0.4604, allocations: 0.6848 MB / 326.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.4605, allocations: 79.64 kB / 326.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4607, allocations: 135.2 kB / 326.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.833e-05/0.4608, allocations: 35.27 kB / 326.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.4609, allocations: 106.3 kB / 326.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.4611, allocations: 130.7 kB / 326.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.4612, allocations: 2.938 kB / 326.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4614, allocations: 331.3 kB / 327.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/0.4623, allocations: 132.7 kB / 327.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.4635, allocations: 206.3 kB / 327.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.4646, allocations: 158.4 kB / 327.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4646, allocations: 3.812 kB / 327.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002627/0.4672, allocations: 409.3 kB / 328.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.4673, allocations: 5.906 kB / 328.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4673, allocations: 3.156 kB / 328.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.4674, allocations: 4.812 kB / 328.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.4685, allocations: 90.22 kB / 328.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.4686, allocations: 5.344 kB / 328.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/0.4693, allocations: 33.31 kB / 328.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/0.4695, allocations: 16.58 kB / 328.2 MB, free: 11.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003164/0.4698, allocations: 144 kB / 328.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.4701, allocations: 18.59 kB / 328.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009997/0.4712, allocations: 182.5 kB / 328.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.4712, allocations: 2.719 kB / 328.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4712, allocations: 0 / 328.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.4716, allocations: 122.7 kB / 328.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4717, allocations: 16.7 kB / 328.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008595/0.4726, allocations: 25.94 kB / 328.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.4727, allocations: 22.34 kB / 328.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00303/0.4757, allocations: 0.5333 MB / 329.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003531/0.4793, allocations: 0.7919 MB / 330.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001012/0.4803, allocations: 163.9 kB / 330.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.4804, allocations: 96.2 kB / 330.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Backend: time 1.864e-06/0.4805, allocations: 0 / 330.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01413/0.4946, allocations: 1.76 MB / 332.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of SimCode: time 0.002104/0.4968, allocations: 1.045 MB / 333.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of Templates: time 0.1501/0.6469, allocations: 40.3 MB / 373.4 MB, free: 84 kB / 298.7 MB