Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.013/1.013, allocations: 111.2 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002603, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05296/0.05324, allocations: 25.16 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.446/4.5, allocations: 1.453 GB / 1.633 GB, free: 36.37 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/4.5, allocations: 73.73 kB / 1.633 GB, free: 36.37 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.283/6.783, allocations: 444.2 MB / 2.067 GB, free: 18.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/6.783, allocations: 0 / 2.067 GB, free: 18.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.379e-05/6.783, allocations: 21.7 kB / 2.067 GB, free: 18.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007342/6.791, allocations: 1.785 MB / 2.069 GB, free: 17.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/6.791, allocations: 10.16 kB / 2.069 GB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/6.791, allocations: 81.81 kB / 2.069 GB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/6.792, allocations: 474.7 kB / 2.069 GB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/6.792, allocations: 74.06 kB / 2.069 GB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/6.792, allocations: 51.47 kB / 2.069 GB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/6.795, allocations: 0.775 MB / 2.07 GB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/6.795, allocations: 3.531 kB / 2.07 GB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/6.795, allocations: 24.97 kB / 2.07 GB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/6.795, allocations: 11.16 kB / 2.07 GB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/6.797, allocations: 0.6636 MB / 2.071 GB, free: 17.32 MB / 266.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.09497/6.892, allocations: 30.44 MB / 2.1 GB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/6.893, allocations: 453.6 kB / 2.101 GB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.626/7.519, allocations: 121.5 MB / 2.219 GB, free: 19.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/7.521, allocations: 423.8 kB / 2.22 GB, free: 19.34 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005055/7.521, allocations: 52.69 kB / 2.22 GB, free: 19.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.936e-06/7.521, allocations: 0 / 2.22 GB, free: 19.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.01754/7.539, allocations: 2.938 MB / 2.223 GB, free: 18.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/7.539, allocations: 220.3 kB / 2.223 GB, free: 18.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/7.54, allocations: 433.7 kB / 2.223 GB, free: 18.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/7.54, allocations: 39.73 kB / 2.223 GB, free: 18.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/7.54, allocations: 359.3 kB / 2.224 GB, free: 17.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/7.541, allocations: 189.3 kB / 2.224 GB, free: 17.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/7.541, allocations: 13.09 kB / 2.224 GB, free: 17.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/7.541, allocations: 331.8 kB / 2.224 GB, free: 17.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/7.542, allocations: 238.2 kB / 2.225 GB, free: 17.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008793/7.542, allocations: 417.2 kB / 2.225 GB, free: 17.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/7.543, allocations: 336.4 kB / 2.225 GB, free: 17.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/7.543, allocations: 7.203 kB / 2.225 GB, free: 17.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002518/7.546, allocations: 0.8676 MB / 2.226 GB, free: 17.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/7.546, allocations: 71.08 kB / 2.226 GB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/7.546, allocations: 7.188 kB / 2.226 GB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008648/7.555, allocations: 335.8 kB / 2.227 GB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/7.556, allocations: 137.2 kB / 2.227 GB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/7.557, allocations: 0.6891 MB / 2.227 GB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/7.558, allocations: 68.36 kB / 2.227 GB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/7.558, allocations: 38.44 kB / 2.227 GB, free: 16.56 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start fixed = true ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 16 (SteamValve.state_b.phase,SteamValve.state_a.phase,$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,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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.0006488/7.559, allocations: 279.1 kB / 2.228 GB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/7.559, allocations: 66.31 kB / 2.228 GB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/7.564, allocations: 1.872 MB / 2.23 GB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/7.564, allocations: 20.03 kB / 2.23 GB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/7.564, allocations: 0 / 2.23 GB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/7.564, allocations: 2.766 kB / 2.23 GB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/7.569, allocations: 2.455 MB / 2.232 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/7.569, allocations: 0 / 2.232 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000761/7.57, allocations: 103.1 kB / 2.232 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/7.574, allocations: 414.7 kB / 2.232 GB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/7.574, allocations: 20.06 kB / 2.233 GB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/7.576, allocations: 0.8178 MB / 2.233 GB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/7.576, allocations: 3.953 kB / 2.233 GB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/7.58, allocations: 2.068 MB / 2.235 GB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/7.581, allocations: 170 kB / 2.235 GB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/7.581, allocations: 23.42 kB / 2.236 GB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008397/7.582, allocations: 58.89 kB / 2.236 GB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/7.582, allocations: 48.02 kB / 2.236 GB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/7.582, allocations: 38.08 kB / 2.236 GB, free: 13.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005953/7.583, allocations: 351.5 kB / 2.236 GB, free: 13.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/7.583, allocations: 0 / 2.236 GB, free: 13.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.006345/7.589, allocations: 1.38 MB / 2.237 GB, free: 12.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 18 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse13.phase,$cse16.phase,$cse17.phase,$cse17.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.01172/7.601, allocations: 2.029 MB / 2.239 GB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002979/7.604, allocations: 1.033 MB / 2.24 GB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/7.604, allocations: 8.125 kB / 2.24 GB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/7.606, allocations: 0.7666 MB / 2.241 GB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/7.608, allocations: 259.1 kB / 2.241 GB, free: 9.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/7.613, allocations: 2.136 MB / 2.243 GB, free: 8.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/7.614, allocations: 0.9854 MB / 2.244 GB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/7.614, allocations: 74.2 kB / 2.244 GB, free: 7.223 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/7.614, allocations: 0 / 2.244 GB, free: 7.223 MB / 330.7 MB Notification: Performance of Templates: time 0.3194/7.934, allocations: 37.57 MB / 2.281 GB, free: 74.63 MB / 330.7 MB