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: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003424, allocations: 8 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 44.52 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.06045/0.3403, allocations: 40.23 MB / 348.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03134/0.3717, allocations: 17.86 MB / 366.6 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/0.3725, allocations: 23.81 kB / 366.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.3737, allocations: 322.4 kB / 367 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01504/0.3888, allocations: 3.798 MB / 370.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007256/0.3961, allocations: 1.757 MB / 372.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.398, allocations: 0.9258 MB / 373.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.3989, allocations: 412.5 kB / 373.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02233/0.4212, allocations: 8.97 MB / 382.8 MB, free: 2.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007531/0.4288, allocations: 3.079 MB / 385.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.429, allocations: 28 kB / 385.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01917/0.4481, allocations: 7.23 MB / 393.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.4484, allocations: 131.5 kB / 393.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.4488, allocations: 169.3 kB / 393.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00777/0.4566, allocations: 3.274 MB / 396.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4566, allocations: 0 / 396.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4566, allocations: 0 / 396.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4566, allocations: 3.938 kB / 396.7 MB, free: 4.387 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004597/0.4613, allocations: 1.496 MB / 398.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4613, allocations: 8.031 kB / 398.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.4615, allocations: 115.7 kB / 398.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.4644, allocations: 282.8 kB / 398.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009394/0.4654, allocations: 488.4 kB / 399.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.4654, allocations: 45.31 kB / 399.2 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.4656, allocations: 56 kB / 399.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.4684, allocations: 0.909 MB / 400.1 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.4684, allocations: 3.953 kB / 400.1 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-05/0.4685, allocations: 24 kB / 400.1 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.4686, allocations: 16 kB / 400.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.4713, allocations: 0.7348 MB / 400.9 MB, free: 60 kB / 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.006464/0.4778, allocations: 4.111 MB / 405 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.4803, allocations: 0.6134 MB / 405.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4581/0.9383, allocations: 71.94 MB / 477.6 MB, free: 21.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001767/0.9402, allocations: 0.5352 MB / 478.1 MB, free: 20.89 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004149/0.9406, allocations: 77.05 kB / 478.2 MB, free: 20.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 4.107e-06/0.9406, allocations: 1.078 kB / 478.2 MB, free: 20.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.01419/0.9548, allocations: 3.281 MB / 481.5 MB, free: 18.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.9549, allocations: 281 kB / 481.7 MB, free: 17.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.9555, allocations: 453.8 kB / 482.2 MB, free: 17.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.9555, allocations: 40.2 kB / 482.2 MB, free: 17.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.9558, allocations: 330.2 kB / 482.5 MB, free: 17.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.956, allocations: 220.8 kB / 482.7 MB, free: 17.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.956, allocations: 16.25 kB / 482.8 MB, free: 17.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.9562, allocations: 372.3 kB / 483.1 MB, free: 16.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007976/0.957, allocations: 257.6 kB / 483.4 MB, free: 16.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009131/0.9579, allocations: 459.7 kB / 483.8 MB, free: 16.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/0.9588, allocations: 368.3 kB / 484.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9588, allocations: 0 / 484.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002468/0.9613, allocations: 0.959 MB / 485.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.9614, allocations: 309.1 kB / 485.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.9615, allocations: 4 kB / 485.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004905/0.9664, allocations: 346.5 kB / 485.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/0.9672, allocations: 125.4 kB / 485.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.9687, allocations: 0.8072 MB / 486.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009001/0.9696, allocations: 60.95 kB / 486.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.9697, allocations: 44.97 kB / 486.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.9698, allocations: 4 kB / 486.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002221/0.972, allocations: 0.8969 MB / 487.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.972, allocations: 7.172 kB / 487.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004603/0.9766, allocations: 347 kB / 488.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.9774, allocations: 126.4 kB / 488.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.9789, allocations: 0.8119 MB / 489 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.9797, allocations: 55.47 kB / 489.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.9798, allocations: 46.41 kB / 489.1 MB, free: 11.86 MB / 346.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.0004458/0.9802, allocations: 366.9 kB / 489.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.9804, allocations: 67.25 kB / 489.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006708/0.9871, allocations: 4.626 MB / 494.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/0.9872, allocations: 29.64 kB / 494.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.9872, allocations: 4 kB / 494.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.9872, allocations: 3.984 kB / 494.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009728/0.9969, allocations: 6.49 MB / 0.4889 GB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.997, allocations: 0 / 0.4889 GB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.9976, allocations: 90.7 kB / 0.489 GB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003221/1.001, allocations: 1.079 MB / 0.4901 GB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/1.001, allocations: 31.97 kB / 0.4901 GB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/1.004, allocations: 2.352 MB / 0.4924 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.004, allocations: 0 / 0.4924 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.014, allocations: 5.42 MB / 0.4977 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/1.015, allocations: 239.2 kB / 0.4979 GB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/1.015, allocations: 24 kB / 0.498 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/1.016, allocations: 67.78 kB / 0.498 GB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.016, allocations: 44.5 kB / 0.4981 GB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/1.016, allocations: 33.06 kB / 0.4981 GB, free: 9.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00081/1.017, allocations: 463 kB / 0.4985 GB, free: 9.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.017, allocations: 0 / 0.4985 GB, free: 9.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00446/1.022, allocations: 1.293 MB / 0.4998 GB, free: 7.965 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 27 ($cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.01316/1.035, allocations: 4.074 MB / 0.5038 GB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004858/1.04, allocations: 1.807 MB / 0.5055 GB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.04, allocations: 0 / 0.5055 GB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/1.042, allocations: 0.9015 MB / 0.5064 GB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.044, allocations: 294.1 kB / 0.5067 GB, free: 1.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.057, allocations: 5.722 MB / 0.5123 GB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/1.058, allocations: 1.094 MB / 0.5134 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001561/1.06, allocations: 0.5967 MB / 0.5139 GB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006185/1.06, allocations: 391.2 kB / 0.5143 GB, free: 9.125 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/1.06, allocations: 0 / 0.5143 GB, free: 9.125 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3748/1.435, allocations: 59.22 MB / 0.5721 GB, free: 147.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.435, allocations: 251.1 kB / 0.5724 GB, free: 147.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.539/6.975, allocations: 4 kB / 0.5724 GB, free: 147.2 MB / 410.7 MB