Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.555/1.555, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 8 kB / 233.2 MB, free: 3.047 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06878/0.06915, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03682/0.106, allocations: 21.94 MB / 293.9 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.109, allocations: 1.583 MB / 295.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.1091, allocations: 0 / 295.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1094, allocations: 47.78 kB / 295.5 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.1098, allocations: 111.7 kB / 295.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0148/0.1246, allocations: 4.364 MB / 300 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.1817/0.3063, allocations: 175.9 kB / 300.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.3064, allocations: 17.19 kB / 300.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.3068, allocations: 133.9 kB / 300.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.307, allocations: 84.45 kB / 300.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.307, allocations: 9.203 kB / 300.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.018/0.325, allocations: 8.16 MB / 308.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3252, allocations: 59.53 kB / 308.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3253, allocations: 57.95 kB / 308.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006655/0.332, allocations: 2.904 MB / 311.6 MB, free: 9.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.534e-06/0.332, allocations: 0 / 311.6 MB, free: 9.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.586e-06/0.3321, allocations: 0 / 311.6 MB, free: 9.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.135e-06/0.3321, allocations: 0 / 311.6 MB, free: 9.492 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.003368/0.3355, allocations: 1.059 MB / 312.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3355, allocations: 8.781 kB / 312.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.3357, allocations: 19.56 kB / 312.6 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3359, allocations: 212.9 kB / 312.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.336, allocations: 9.672 kB / 312.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.336, allocations: 24.88 kB / 312.9 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.3368, allocations: 266 kB / 313.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3368, allocations: 1.375 kB / 313.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.3369, allocations: 11.36 kB / 313.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.3369, allocations: 8.5 kB / 313.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/0.3378, allocations: 277.1 kB / 313.4 MB, free: 8.332 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.001477/0.3393, allocations: 0.7696 MB / 314.2 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.3401, allocations: 313.2 kB / 314.5 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/0.3541, allocations: 10.44 MB / 324.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.3541, allocations: 36.72 kB / 325 MB, free: 12.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 3.554e-06/0.3542, allocations: 0 / 325 MB, free: 12.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.003337/0.3575, allocations: 0.6866 MB / 325.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.3576, allocations: 80.23 kB / 325.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3578, allocations: 129.9 kB / 325.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.3578, allocations: 31.77 kB / 325.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.358, allocations: 176.6 kB / 326.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.3581, allocations: 131.3 kB / 326.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.3581, allocations: 5.938 kB / 326.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3583, allocations: 326.6 kB / 326.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.3588, allocations: 132 kB / 326.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.3594, allocations: 215.8 kB / 326.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.36, allocations: 156.5 kB / 327 MB, free: 11.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-06/0.36, allocations: 2.078 kB / 327 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001391/0.3614, allocations: 404.9 kB / 327.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3614, allocations: 5.781 kB / 327.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3614, allocations: 3.188 kB / 327.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3615, allocations: 5.156 kB / 327.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/0.3621, allocations: 90.47 kB / 327.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3621, allocations: 3.25 kB / 327.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.3625, allocations: 39.48 kB / 327.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.3626, allocations: 14.06 kB / 327.6 MB, free: 11.29 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.0001929/0.3628, allocations: 141.9 kB / 327.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.363, allocations: 18.84 kB / 327.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.3635, allocations: 182.8 kB / 327.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-06/0.3636, allocations: 6.719 kB / 327.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-06/0.3636, allocations: 0 / 327.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.382e-06/0.3636, allocations: 0 / 327.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.3661, allocations: 0.9504 MB / 328.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.367e-06/0.3661, allocations: 3.344 kB / 328.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.3666, allocations: 81.34 kB / 329 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.3667, allocations: 6.531 kB / 329 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.3667, allocations: 17.45 kB / 329 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.644e-06/0.3667, allocations: 3.094 kB / 329 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.996e-06/0.3668, allocations: 3 kB / 329 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3686, allocations: 0.7218 MB / 329.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.3688, allocations: 116 kB / 329.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.3689, allocations: 10.66 kB / 329.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.3694, allocations: 26.66 kB / 329.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3694, allocations: 24.19 kB / 329.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.3695, allocations: 16.53 kB / 329.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.908e-05/0.3696, allocations: 96.7 kB / 330 MB, free: 9.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.3696, allocations: 0 / 330 MB, free: 9.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002908/0.3725, allocations: 0.9144 MB / 330.9 MB, free: 9.766 MB / 266.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.004748/0.3773, allocations: 1.173 MB / 332.1 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3786, allocations: 332.5 kB / 332.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.293e-06/0.3786, allocations: 4 kB / 332.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.3792, allocations: 180.3 kB / 332.6 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.38, allocations: 92.17 kB / 332.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3819, allocations: 0.7824 MB / 333.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.3824, allocations: 0.7413 MB / 334.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.3827, allocations: 42.91 kB / 334.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of SimCode: time 1.677e-06/0.3827, allocations: 0 / 334.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of Templates: time 0.04597/0.4287, allocations: 23.29 MB / 357.5 MB, free: 15.53 MB / 298.7 MB