Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.071/1.071, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.74e-05, allocations: 4 kB / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07266/0.07272, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.671/3.744, allocations: 1.452 GB / 1.622 GB, free: 45.32 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/3.744, allocations: 66.12 kB / 1.622 GB, free: 45.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.87/5.614, allocations: 438.5 MB / 2.05 GB, free: 25.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.636e-06/5.614, allocations: 0 / 2.05 GB, free: 25.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.26e-05/5.614, allocations: 14.78 kB / 2.05 GB, free: 25.42 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.01042/5.625, allocations: 1.737 MB / 2.052 GB, free: 24.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/5.625, allocations: 11 kB / 2.052 GB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/5.625, allocations: 78.06 kB / 2.052 GB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/5.627, allocations: 467.9 kB / 2.052 GB, free: 23.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/5.627, allocations: 54.22 kB / 2.052 GB, free: 23.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/5.628, allocations: 40.47 kB / 2.052 GB, free: 23.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002417/5.63, allocations: 0.5301 MB / 2.053 GB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/5.633, allocations: 0.6323 MB / 2.054 GB, free: 23.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/5.633, allocations: 3.938 kB / 2.054 GB, free: 23.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/5.633, allocations: 2.875 kB / 2.054 GB, free: 23.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/5.633, allocations: 15.34 kB / 2.054 GB, free: 23.37 MB / 266.7 MB Warning: The model contains alias variables with conflicting start and/or 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.3316/5.965, allocations: 62.38 MB / 2.114 GB, free: 21.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/5.965, allocations: 343.7 kB / 2.115 GB, free: 21.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/5.966, allocations: 182.7 kB / 2.115 GB, free: 21.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.469/6.435, allocations: 122 MB / 2.234 GB, free: 48.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006741/6.435, allocations: 338.2 kB / 2.234 GB, free: 48.18 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004636/6.436, allocations: 54.17 kB / 2.234 GB, free: 48.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.987e-06/6.436, allocations: 0 / 2.234 GB, free: 48.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=54): time 0.02396/6.46, allocations: 3.351 MB / 2.238 GB, free: 47.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/6.46, allocations: 222.5 kB / 2.238 GB, free: 47.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/6.461, allocations: 348 kB / 2.238 GB, free: 47.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/6.461, allocations: 27.55 kB / 2.238 GB, free: 47.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/6.461, allocations: 366.2 kB / 2.239 GB, free: 47.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/6.461, allocations: 180.2 kB / 2.239 GB, free: 47.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/6.461, allocations: 0 / 2.239 GB, free: 47.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/6.461, allocations: 342.1 kB / 2.239 GB, free: 46.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/6.462, allocations: 203.5 kB / 2.239 GB, free: 46.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/6.462, allocations: 364.1 kB / 2.24 GB, free: 46.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006407/6.469, allocations: 0.7775 MB / 2.24 GB, free: 46.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/6.469, allocations: 3.812 kB / 2.24 GB, free: 46.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.007879/6.477, allocations: 1.229 MB / 2.242 GB, free: 46.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/6.477, allocations: 69.75 kB / 2.242 GB, free: 46.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/6.477, allocations: 7.125 kB / 2.242 GB, free: 46.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008262/6.478, allocations: 157.1 kB / 2.242 GB, free: 46.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/6.478, allocations: 137.7 kB / 2.242 GB, free: 46.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/6.481, allocations: 0.8417 MB / 2.243 GB, free: 45.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/6.482, allocations: 56.8 kB / 2.243 GB, free: 45.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/6.482, allocations: 33.09 kB / 2.243 GB, free: 45.91 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start ) "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 () * 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.0002808/6.482, allocations: 198 kB / 2.243 GB, free: 45.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/6.482, allocations: 63.02 kB / 2.243 GB, free: 45.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005992/6.488, allocations: 1.785 MB / 2.245 GB, free: 45.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/6.488, allocations: 24.67 kB / 2.245 GB, free: 45.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.181e-06/6.488, allocations: 0 / 2.245 GB, free: 45.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/6.488, allocations: 7.031 kB / 2.245 GB, free: 45.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/6.494, allocations: 2.242 MB / 2.247 GB, free: 45.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/6.494, allocations: 0 / 2.247 GB, free: 45.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/6.495, allocations: 102.7 kB / 2.247 GB, free: 45.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009786/6.496, allocations: 238.2 kB / 2.247 GB, free: 45.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/6.496, allocations: 19.75 kB / 2.247 GB, free: 45.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/6.497, allocations: 0.9158 MB / 2.248 GB, free: 44.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.398e-06/6.497, allocations: 0 / 2.248 GB, free: 44.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/6.503, allocations: 2.018 MB / 2.25 GB, free: 44.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/6.503, allocations: 149.9 kB / 2.25 GB, free: 44.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/6.503, allocations: 5.156 kB / 2.25 GB, free: 44.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/6.504, allocations: 51.73 kB / 2.251 GB, free: 44.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/6.504, allocations: 44.62 kB / 2.251 GB, free: 44.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.593e-05/6.504, allocations: 33.3 kB / 2.251 GB, free: 44.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000362/6.505, allocations: 270 kB / 2.251 GB, free: 44.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.08e-07/6.505, allocations: 0 / 2.251 GB, free: 44.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005147/6.51, allocations: 1.335 MB / 2.252 GB, free: 44.2 MB / 314.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * 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.009021/6.519, allocations: 2.134 MB / 2.254 GB, free: 43.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/6.521, allocations: 0.933 MB / 2.255 GB, free: 43.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/6.521, allocations: 4.188 kB / 2.255 GB, free: 43.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/6.522, allocations: 0.7145 MB / 2.256 GB, free: 43.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/6.524, allocations: 228.1 kB / 2.256 GB, free: 43.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/6.526, allocations: 1.251 MB / 2.257 GB, free: 43.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/6.527, allocations: 0.9748 MB / 2.258 GB, free: 42.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/6.527, allocations: 72.19 kB / 2.258 GB, free: 42.49 MB / 314.7 MB Notification: Performance of SimCode: time 2.275e-06/6.527, allocations: 0 / 2.258 GB, free: 42.49 MB / 314.7 MB Notification: Performance of Templates: time 0.2385/6.765, allocations: 37.42 MB / 2.295 GB, free: 72.72 MB / 314.7 MB