Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.07901, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4332/0.5122, allocations: 127.2 MB / 399.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.5146, allocations: 1.357 MB / 401.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.5148, allocations: 0 / 401.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.5151, allocations: 47.78 kB / 401.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.5155, allocations: 111.6 kB / 401.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5181, allocations: 0.5988 MB / 402 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.5185, allocations: 179.6 kB / 402.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.5186, allocations: 9.453 kB / 402.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004741/0.5191, allocations: 163.6 kB / 402.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.5194, allocations: 91.72 kB / 402.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.5194, allocations: 8 kB / 402.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.5226, allocations: 1.155 MB / 403.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.5228, allocations: 55.88 kB / 403.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.5229, allocations: 53.64 kB / 403.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.5245, allocations: 0.5219 MB / 404.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5245, allocations: 4 kB / 404.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5245, allocations: 0 / 404.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.5245, allocations: 0 / 404.2 MB, free: 11.05 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.00234/0.5269, allocations: 0.6082 MB / 404.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5269, allocations: 8.031 kB / 404.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.5271, allocations: 19.89 kB / 404.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.5275, allocations: 214.7 kB / 405 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.5275, allocations: 12.33 kB / 405.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.5276, allocations: 16 kB / 405.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.5285, allocations: 257.5 kB / 405.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.5285, allocations: 3.984 kB / 405.3 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.5286, allocations: 8 kB / 405.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.5286, allocations: 8 kB / 405.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5298, allocations: 271.7 kB / 405.6 MB, free: 9.539 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.002194/0.532, allocations: 0.7563 MB / 406.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.533, allocations: 217.2 kB / 406.6 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004342/0.5335, allocations: 360.4 kB / 406.9 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.5335, allocations: 42.92 kB / 407 MB, free: 8.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/0.5335, allocations: 0 / 407 MB, free: 8.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.004136/0.5377, allocations: 0.6644 MB / 407.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.5378, allocations: 85.23 kB / 407.7 MB, free: 7.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.5379, allocations: 122.2 kB / 407.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.538, allocations: 33.7 kB / 407.9 MB, free: 7.066 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.538, allocations: 104.8 kB / 408 MB, free: 6.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.5382, allocations: 126.6 kB / 408.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.5383, allocations: 8 kB / 408.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5384, allocations: 326.8 kB / 408.4 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.5391, allocations: 139.8 kB / 408.6 MB, free: 6.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.5398, allocations: 203.5 kB / 408.8 MB, free: 6.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.5406, allocations: 159.8 kB / 408.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5406, allocations: 0 / 408.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001676/0.5423, allocations: 416.8 kB / 409.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5423, allocations: 5.719 kB / 409.3 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5424, allocations: 4 kB / 409.3 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5424, allocations: 8.219 kB / 409.3 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/0.5433, allocations: 83.88 kB / 409.4 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.5433, allocations: 4 kB / 409.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.5439, allocations: 35.81 kB / 409.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.544, allocations: 12 kB / 409.5 MB, free: 5.422 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.0002238/0.5442, allocations: 153.7 kB / 409.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5443, allocations: 16.69 kB / 409.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.5449, allocations: 167.7 kB / 409.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5449, allocations: 7.984 kB / 409.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.545, allocations: 0 / 409.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.5452, allocations: 120.8 kB / 409.9 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.5453, allocations: 8 kB / 409.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.5459, allocations: 23.94 kB / 410 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.5459, allocations: 23.97 kB / 410 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002116/0.5481, allocations: 0.5464 MB / 410.5 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002461/0.5506, allocations: 0.7912 MB / 411.3 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007085/0.5513, allocations: 167.9 kB / 411.5 MB, free: 3.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.5514, allocations: 91.27 kB / 411.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of Backend: time 1.052e-06/0.5514, allocations: 4 kB / 411.6 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.5539, allocations: 0.529 MB / 412.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of SimCode: time 0.001617/0.5555, allocations: 1.038 MB / 413.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of Templates: time 0.02138/0.5769, allocations: 8.117 MB / 421.3 MB, free: 9.52 MB / 346.7 MB