Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.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.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.0895, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.06243/0.152, allocations: 40.23 MB / 349.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03228/0.1843, allocations: 17.86 MB / 367.1 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.1852, allocations: 23.81 kB / 367.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1865, allocations: 318.5 kB / 367.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.2019, allocations: 3.794 MB / 371.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007239/0.2092, allocations: 1.761 MB / 373 MB, free: 252 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.2559/0.4651, allocations: 0.9261 MB / 374 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.4662, allocations: 411.1 kB / 374.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02331/0.4896, allocations: 8.97 MB / 383.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007127/0.4968, allocations: 3.076 MB / 386.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.497, allocations: 32.25 kB / 386.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.5145, allocations: 7.226 MB / 393.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.5148, allocations: 137 kB / 393.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003678/0.5152, allocations: 165.8 kB / 394 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007674/0.5228, allocations: 3.27 MB / 397.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5229, allocations: 7.375 kB / 397.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5229, allocations: 0 / 397.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.5229, allocations: 0.6562 kB / 397.2 MB, free: 12.73 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00482/0.5278, allocations: 1.5 MB / 398.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5278, allocations: 8.031 kB / 398.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.5307, allocations: 283.7 kB / 399 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.5315, allocations: 479.8 kB / 399.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.5316, allocations: 46.44 kB / 399.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.5317, allocations: 62.34 kB / 399.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.5343, allocations: 0.8894 MB / 400.5 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5344, allocations: 4 kB / 400.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.5345, allocations: 28.16 kB / 400.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.5345, allocations: 19.81 kB / 400.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.5371, allocations: 0.7246 MB / 401.3 MB, free: 9.434 MB / 314.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.005603/0.5427, allocations: 4.091 MB / 405.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.5451, allocations: 0.618 MB / 406 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2589/0.804, allocations: 71.94 MB / 477.9 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/0.8062, allocations: 0.5391 MB / 478.4 MB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005135/0.8067, allocations: 75.91 kB / 478.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=57): time 3.727e-06/0.8067, allocations: 0 / 478.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.01621/0.823, allocations: 3.272 MB / 481.8 MB, free: 3.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.8232, allocations: 276.7 kB / 482.1 MB, free: 2.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.8239, allocations: 457 kB / 482.5 MB, free: 2.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.824, allocations: 38.7 kB / 482.5 MB, free: 2.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.8244, allocations: 328.5 kB / 482.9 MB, free: 2.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.8246, allocations: 203.5 kB / 483.1 MB, free: 2.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.8247, allocations: 15.88 kB / 483.1 MB, free: 2.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.8249, allocations: 380.5 kB / 483.4 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/0.8258, allocations: 260.3 kB / 483.7 MB, free: 1.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.8269, allocations: 465 kB / 484.2 MB, free: 1.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.8279, allocations: 366 kB / 484.5 MB, free: 0.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8279, allocations: 8 kB / 484.5 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002879/0.8308, allocations: 0.9561 MB / 485.5 MB, free: 192 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.8311, allocations: 307.6 kB / 485.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.8311, allocations: 4 kB / 485.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005203/0.8364, allocations: 355.6 kB / 486.1 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/0.8373, allocations: 129 kB / 486.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.8391, allocations: 0.7999 MB / 487.1 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8401, allocations: 69.67 kB / 487.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.8403, allocations: 42.22 kB / 487.2 MB, free: 14.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.8403, allocations: 6.344 kB / 487.2 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002634/0.8429, allocations: 0.8911 MB / 488.1 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.843, allocations: 4.656 kB / 488.1 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/0.8481, allocations: 352.9 kB / 488.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.849, allocations: 127.2 kB / 488.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.8507, allocations: 0.8046 MB / 489.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009486/0.8517, allocations: 57.81 kB / 489.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.8518, allocations: 45.59 kB / 489.4 MB, free: 12.86 MB / 410.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: 19 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,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.0006391/0.8524, allocations: 368.8 kB / 489.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.8526, allocations: 67.25 kB / 489.9 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008295/0.8609, allocations: 4.615 MB / 494.5 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.861, allocations: 3.984 kB / 494.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.861, allocations: 0 / 494.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.8615, allocations: 234.6 kB / 494.7 MB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.8617, allocations: 25 kB / 494.7 MB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8628, allocations: 70.36 kB / 494.8 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.863, allocations: 55 kB / 494.9 MB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005122/0.8681, allocations: 1.832 MB / 496.7 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004573/0.8727, allocations: 2.311 MB / 499 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001303/0.874, allocations: 0.6785 MB / 499.7 MB, free: 5.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008532/0.8749, allocations: 470.8 kB / 0.4884 GB, free: 5.492 MB / 410.7 MB Notification: Performance of Backend: time 8.21e-07/0.8749, allocations: 3.281 kB / 0.4884 GB, free: 5.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01312/0.888, allocations: 2.819 MB / 0.4912 GB, free: 3.191 MB / 410.7 MB Notification: Performance of SimCode: time 0.005189/0.8933, allocations: 2.742 MB / 0.4939 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of Templates: time 0.4862/1.38, allocations: 55.32 MB / 0.5479 GB, free: 129.8 MB / 442.7 MB