Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 11.98 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07982/0.0802, allocations: 44.5 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4116/0.4919, allocations: 127.3 MB / 435.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.494, allocations: 1.369 MB / 437 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.4941, allocations: 0 / 437 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.4945, allocations: 51.47 kB / 437 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.4948, allocations: 115.6 kB / 437.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.4971, allocations: 0.5976 MB / 437.7 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.4975, allocations: 184.4 kB / 437.9 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.4976, allocations: 10.95 kB / 437.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.498, allocations: 167.6 kB / 438.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.4982, allocations: 89.28 kB / 438.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.4982, allocations: 7.906 kB / 438.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.5008, allocations: 1.165 MB / 439.4 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.5009, allocations: 63.12 kB / 439.4 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.501, allocations: 66.42 kB / 439.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.5021, allocations: 0.5092 MB / 440 MB, free: 7.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5021, allocations: 0 / 440 MB, free: 7.414 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.282e-06/0.5021, allocations: 0 / 440 MB, free: 7.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.5022, allocations: 0 / 440 MB, free: 7.414 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.00176/0.5039, allocations: 0.6057 MB / 440.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.504, allocations: 10.28 kB / 440.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.5042, allocations: 22.02 kB / 440.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.5045, allocations: 204.9 kB / 440.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5045, allocations: 9.703 kB / 440.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.5046, allocations: 28.8 kB / 440.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.5053, allocations: 253 kB / 441.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5053, allocations: 3.984 kB / 441.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.5054, allocations: 11.98 kB / 441.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.5054, allocations: 7.953 kB / 441.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.5063, allocations: 271.7 kB / 441.4 MB, free: 6.133 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.001908/0.5082, allocations: 0.7891 MB / 442.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.509, allocations: 209.4 kB / 442.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/0.5095, allocations: 356.7 kB / 442.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5095, allocations: 42.5 kB / 442.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.422e-06/0.5096, allocations: 0 / 442.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.003014/0.5126, allocations: 0.6706 MB / 443.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.5127, allocations: 85.23 kB / 443.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.5128, allocations: 126.2 kB / 443.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.5129, allocations: 29.7 kB / 443.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.513, allocations: 179.2 kB / 443.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.5132, allocations: 126.2 kB / 444 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.449e-05/0.5132, allocations: 8 kB / 444 MB, free: 3.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5134, allocations: 322.8 kB / 444.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.5139, allocations: 135.9 kB / 444.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.5145, allocations: 199.6 kB / 444.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.515, allocations: 158.3 kB / 444.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-06/0.5151, allocations: 0 / 444.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001288/0.5164, allocations: 405.1 kB / 445.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5164, allocations: 4.219 kB / 445.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5164, allocations: 8 kB / 445.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5165, allocations: 4 kB / 445.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.5171, allocations: 91.83 kB / 445.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.5171, allocations: 4 kB / 445.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.5175, allocations: 27.91 kB / 445.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.5176, allocations: 16 kB / 445.3 MB, free: 1.93 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.0002114/0.5178, allocations: 153.6 kB / 445.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.5179, allocations: 15.81 kB / 445.5 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.5184, allocations: 178.3 kB / 445.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.221e-06/0.5185, allocations: 4 kB / 445.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-06/0.5185, allocations: 3.953 kB / 445.7 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7e-06/0.5185, allocations: 0 / 445.7 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.5207, allocations: 0.7522 MB / 446.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.29e-06/0.5208, allocations: 8.031 kB / 446.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.5213, allocations: 76.77 kB / 446.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.5214, allocations: 4 kB / 446.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.5214, allocations: 11.98 kB / 446.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.711e-06/0.5214, allocations: 4 kB / 446.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.038e-06/0.5214, allocations: 0 / 446.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.5235, allocations: 0.7113 MB / 447.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.5239, allocations: 120.9 kB / 447.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.5241, allocations: 12.92 kB / 447.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5252, allocations: 19.98 kB / 447.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.5253, allocations: 27.98 kB / 447.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.5254, allocations: 20.36 kB / 447.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.5256, allocations: 99.14 kB / 447.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-06/0.5257, allocations: 0 / 447.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001781/0.5275, allocations: 139.9 kB / 447.7 MB, free: 15.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.001189/0.5287, allocations: 223.5 kB / 447.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.5313, allocations: 351.5 kB / 448.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.5313, allocations: 0 / 448.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5326, allocations: 176.4 kB / 448.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.5343, allocations: 98.17 kB / 448.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.5382, allocations: 0.7556 MB / 449.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.5391, allocations: 0.7452 MB / 450 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.5396, allocations: 39.41 kB / 450.1 MB, free: 13 MB / 346.7 MB Notification: Performance of SimCode: time 2.608e-06/0.5397, allocations: 0 / 450.1 MB, free: 13 MB / 346.7 MB Notification: Performance of Templates: time 0.01944/0.5591, allocations: 4.434 MB / 454.5 MB, free: 8.562 MB / 346.7 MB