Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.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.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004967, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08197, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.2746/0.3567, allocations: 39.87 MB / 312.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02766/0.3844, allocations: 17.67 MB / 330.2 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009603/0.3854, allocations: 23.19 kB / 330.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.3866, allocations: 319.3 kB / 330.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.4025, allocations: 3.76 MB / 334.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007607/0.4102, allocations: 1.742 MB / 336 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.4124, allocations: 0.9139 MB / 336.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009126/0.4133, allocations: 416.5 kB / 337.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02367/0.437, allocations: 8.855 MB / 346.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008049/0.4451, allocations: 3.04 MB / 349.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.4453, allocations: 28 kB / 349.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02039/0.4657, allocations: 7.117 MB / 356.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.466, allocations: 127.5 kB / 356.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.4664, allocations: 169.3 kB / 356.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.4751, allocations: 3.226 MB / 359.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4751, allocations: 3.938 kB / 359.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4751, allocations: 0 / 359.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4752, allocations: 0 / 359.9 MB, free: 7.059 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.004918/0.4801, allocations: 1.477 MB / 361.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4801, allocations: 11.97 kB / 361.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.4831, allocations: 262.9 kB / 361.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4841, allocations: 472.6 kB / 362.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.4842, allocations: 49.94 kB / 362.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.4844, allocations: 63.91 kB / 362.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.4873, allocations: 0.8745 MB / 363.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.4874, allocations: 7.938 kB / 363.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.4875, allocations: 24 kB / 363.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.4875, allocations: 15.95 kB / 363.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.4904, allocations: 0.7105 MB / 363.8 MB, free: 2.945 MB / 282.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.006953/0.4974, allocations: 4.089 MB / 367.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.5001, allocations: 0.5948 MB / 368.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4954/0.9955, allocations: 71.85 MB / 440.4 MB, free: 136.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003343/0.9989, allocations: 0.521 MB / 440.9 MB, free: 136.5 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007397/0.9997, allocations: 67.59 kB / 441 MB, free: 136.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 4.809e-06/0.9997, allocations: 0 / 441 MB, free: 136.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.02795/1.028, allocations: 3.268 MB / 444.2 MB, free: 135.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.028, allocations: 268.7 kB / 444.5 MB, free: 135.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.029, allocations: 455.2 kB / 444.9 MB, free: 135 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/1.029, allocations: 33.55 kB / 445 MB, free: 135 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/1.03, allocations: 325.5 kB / 445.3 MB, free: 134.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/1.03, allocations: 208 kB / 445.5 MB, free: 134.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/1.03, allocations: 11.56 kB / 445.5 MB, free: 134.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/1.03, allocations: 372.8 kB / 445.9 MB, free: 134.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/1.032, allocations: 252.2 kB / 446.1 MB, free: 134.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/1.033, allocations: 448.6 kB / 446.5 MB, free: 133.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/1.035, allocations: 363.1 kB / 446.9 MB, free: 133.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/1.035, allocations: 2.125 kB / 446.9 MB, free: 133.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004552/1.039, allocations: 0.9652 MB / 447.9 MB, free: 133.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/1.039, allocations: 66.84 kB / 447.9 MB, free: 133.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.04, allocations: 5.375 kB / 447.9 MB, free: 133.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007998/1.048, allocations: 348.8 kB / 448.3 MB, free: 133.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.049, allocations: 137 kB / 448.4 MB, free: 133.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/1.052, allocations: 0.7932 MB / 449.2 MB, free: 132.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.053, allocations: 68.94 kB / 449.3 MB, free: 132.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.054, allocations: 44.38 kB / 449.3 MB, free: 132.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007261/1.054, allocations: 285.4 kB / 449.6 MB, free: 132.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/1.055, allocations: 65.75 kB / 449.7 MB, free: 132.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.067, allocations: 4.642 MB / 454.3 MB, free: 130.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.067, allocations: 5.109 kB / 454.3 MB, free: 130.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.067, allocations: 1.5 kB / 454.3 MB, free: 130.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/1.068, allocations: 239.8 kB / 454.5 MB, free: 129.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/1.068, allocations: 19.34 kB / 454.6 MB, free: 129.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/1.07, allocations: 71.7 kB / 454.6 MB, free: 129.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/1.07, allocations: 47.42 kB / 454.7 MB, free: 129.9 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007327/1.077, allocations: 1.825 MB / 456.5 MB, free: 128.9 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004639/1.082, allocations: 2.31 MB / 458.8 MB, free: 127.6 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001132/1.083, allocations: 0.6163 MB / 459.4 MB, free: 127.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007406/1.084, allocations: 460.6 kB / 459.9 MB, free: 127 MB / 362.7 MB Notification: Performance of Backend: time 1.002e-06/1.084, allocations: 3.828 kB / 459.9 MB, free: 127 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.095, allocations: 2.112 MB / 462 MB, free: 125.9 MB / 362.7 MB Notification: Performance of SimCode: time 0.004335/1.099, allocations: 2.712 MB / 464.7 MB, free: 123.1 MB / 362.7 MB Notification: Performance of Templates: time 0.09179/1.191, allocations: 50.61 MB / 0.5032 GB, free: 72.51 MB / 362.7 MB