Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004568, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.0935, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4407/0.5343, allocations: 127.3 MB / 436.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.5365, allocations: 1.37 MB / 437.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.5366, allocations: 6.656 kB / 437.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.5369, allocations: 45.34 kB / 437.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.5373, allocations: 108.5 kB / 437.9 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.5396, allocations: 0.6048 MB / 438.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.5399, allocations: 184.5 kB / 438.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.54, allocations: 10.73 kB / 438.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.5404, allocations: 168.1 kB / 438.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.5406, allocations: 84.48 kB / 438.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.5407, allocations: 8.25 kB / 438.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.5434, allocations: 1.171 MB / 440.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5435, allocations: 64.41 kB / 440.1 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.5436, allocations: 60.86 kB / 440.2 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5447, allocations: 0.5094 MB / 440.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.5448, allocations: 0 / 440.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.5448, allocations: 0 / 440.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.5448, allocations: 3.938 kB / 440.7 MB, free: 7.18 MB / 330.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.002229/0.547, allocations: 0.6044 MB / 441.3 MB, free: 6.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5471, allocations: 8.031 kB / 441.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.5473, allocations: 23.77 kB / 441.3 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.5476, allocations: 206.9 kB / 441.5 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.5476, allocations: 16.31 kB / 441.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.5477, allocations: 16 kB / 441.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.5486, allocations: 257.4 kB / 441.8 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5486, allocations: 0 / 441.8 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.5486, allocations: 8 kB / 441.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.5487, allocations: 11.94 kB / 441.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.5498, allocations: 268.4 kB / 442.1 MB, free: 5.68 MB / 330.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.002048/0.5519, allocations: 0.7852 MB / 442.9 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.5529, allocations: 221.2 kB / 443.1 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003989/0.5533, allocations: 352.4 kB / 443.5 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.5534, allocations: 42.97 kB / 443.5 MB, free: 4.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.5534, allocations: 0 / 443.5 MB, free: 4.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.004135/0.5575, allocations: 0.6685 MB / 444.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.5576, allocations: 89.28 kB / 444.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.5577, allocations: 122.2 kB / 444.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.5578, allocations: 33.7 kB / 444.4 MB, free: 3.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.5579, allocations: 104.8 kB / 444.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.5581, allocations: 130.2 kB / 444.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.5581, allocations: 4 kB / 444.6 MB, free: 2.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5582, allocations: 326.8 kB / 445 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.5589, allocations: 131.9 kB / 445.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.5597, allocations: 211.5 kB / 445.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.5604, allocations: 150.8 kB / 445.4 MB, free: 2.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5605, allocations: 4 kB / 445.4 MB, free: 2.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00167/0.5621, allocations: 409.2 kB / 445.8 MB, free: 1.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5622, allocations: 4 kB / 445.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5622, allocations: 4 kB / 445.9 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5622, allocations: 4 kB / 445.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.5631, allocations: 87.81 kB / 445.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.5631, allocations: 7.953 kB / 445.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/0.5637, allocations: 35.94 kB / 446 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.5638, allocations: 15.94 kB / 446 MB, free: 1.527 MB / 330.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.0001902/0.564, allocations: 141.8 kB / 446.1 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/0.5641, allocations: 15.81 kB / 446.2 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.5646, allocations: 182.6 kB / 446.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.5647, allocations: 4 kB / 446.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5647, allocations: 0 / 446.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.5649, allocations: 128.8 kB / 446.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.5649, allocations: 4 kB / 446.5 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.5656, allocations: 27.97 kB / 446.5 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.5656, allocations: 23.97 kB / 446.5 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002052/0.5677, allocations: 0.5311 MB / 447 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002434/0.5701, allocations: 0.7834 MB / 447.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006931/0.5708, allocations: 162.9 kB / 448 MB, free: 15.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.5709, allocations: 99.58 kB / 448.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of Backend: time 6.81e-07/0.571, allocations: 0 / 448.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.5733, allocations: 0.542 MB / 448.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of SimCode: time 0.001394/0.5747, allocations: 1.028 MB / 449.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of Templates: time 0.02003/0.5948, allocations: 8.118 MB / 457.8 MB, free: 5.637 MB / 346.7 MB