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: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.683/1.683, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 12 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08737, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.746/7.834, allocations: 2.56 GB / 2.826 GB, free: 87.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/7.834, allocations: 89.78 kB / 2.826 GB, free: 87.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.412/10.25, allocations: 483.7 MB / 3.299 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/10.25, allocations: 3.344 kB / 3.299 GB, free: 36.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.668e-05/10.25, allocations: 17.75 kB / 3.299 GB, free: 36.71 MB / 378.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.007321/10.25, allocations: 1.869 MB / 3.3 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/10.25, allocations: 7.688 kB / 3.3 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002879/10.25, allocations: 109.6 kB / 3.301 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/10.26, allocations: 236.5 kB / 3.301 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/10.26, allocations: 0.507 MB / 3.301 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/10.26, allocations: 39.94 kB / 3.301 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/10.26, allocations: 59.81 kB / 3.301 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/10.26, allocations: 0.9036 MB / 3.302 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/10.26, allocations: 3.938 kB / 3.302 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/10.26, allocations: 41.81 kB / 3.302 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/10.26, allocations: 14.09 kB / 3.302 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/10.26, allocations: 0.7192 MB / 3.303 GB, free: 34.36 MB / 378.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.006129/10.27, allocations: 4.13 MB / 3.307 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/10.27, allocations: 0.6076 MB / 3.308 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4708/10.74, allocations: 54.9 MB / 3.361 GB, free: 26.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/10.74, allocations: 0.5281 MB / 3.362 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006743/10.75, allocations: 89.66 kB / 3.362 GB, free: 26.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 4.128e-06/10.75, allocations: 5.578 kB / 3.362 GB, free: 26.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01631/10.76, allocations: 3.247 MB / 3.365 GB, free: 25.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/10.76, allocations: 276 kB / 3.365 GB, free: 25.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/10.76, allocations: 401.9 kB / 3.366 GB, free: 25.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/10.76, allocations: 36.55 kB / 3.366 GB, free: 25.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/10.76, allocations: 330.7 kB / 3.366 GB, free: 25.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/10.76, allocations: 200.7 kB / 3.366 GB, free: 25.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/10.76, allocations: 12.69 kB / 3.366 GB, free: 25.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/10.76, allocations: 372.5 kB / 3.367 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000887/10.76, allocations: 262.3 kB / 3.367 GB, free: 24.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/10.77, allocations: 451.8 kB / 3.367 GB, free: 24.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/10.77, allocations: 369.8 kB / 3.368 GB, free: 24.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/10.77, allocations: 1.031 kB / 3.368 GB, free: 24.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002979/10.77, allocations: 0.9934 MB / 3.369 GB, free: 24.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/10.77, allocations: 69.64 kB / 3.369 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/10.77, allocations: 6.344 kB / 3.369 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006838/10.78, allocations: 358.3 kB / 3.369 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/10.78, allocations: 131.7 kB / 3.369 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/10.78, allocations: 0.8009 MB / 3.37 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/10.78, allocations: 66.28 kB / 3.37 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/10.78, allocations: 45.75 kB / 3.37 GB, free: 23.68 MB / 378.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.0005913/10.78, allocations: 289.7 kB / 3.37 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/10.78, allocations: 62.81 kB / 3.37 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008072/10.79, allocations: 4.693 MB / 3.375 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/10.79, allocations: 33.59 kB / 3.375 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/10.79, allocations: 0 / 3.375 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/10.79, allocations: 3.703 kB / 3.375 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/10.8, allocations: 6.44 MB / 3.381 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/10.8, allocations: 2.719 kB / 3.381 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/10.8, allocations: 93.95 kB / 3.381 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003499/10.8, allocations: 1.08 MB / 3.382 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/10.8, allocations: 24.36 kB / 3.382 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/10.81, allocations: 2.351 MB / 3.385 GB, free: 21.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/10.81, allocations: 0 / 3.385 GB, free: 21.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009336/10.82, allocations: 5.426 MB / 3.39 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/10.82, allocations: 238.1 kB / 3.39 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/10.82, allocations: 20.59 kB / 3.39 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/10.82, allocations: 62.78 kB / 3.39 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/10.82, allocations: 52.11 kB / 3.39 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.592e-05/10.82, allocations: 29.42 kB / 3.39 GB, free: 21.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000773/10.82, allocations: 463.6 kB / 3.391 GB, free: 21.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.82, allocations: 1.219 kB / 3.391 GB, free: 21.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006113/10.83, allocations: 1.206 MB / 3.392 GB, free: 21.3 MB / 378.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: 25 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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,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 (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.01723/10.84, allocations: 4.719 MB / 3.397 GB, free: 20.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003108/10.85, allocations: 1.102 MB / 3.398 GB, free: 20.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/10.85, allocations: 0.5625 kB / 3.398 GB, free: 20.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/10.85, allocations: 0.8468 MB / 3.399 GB, free: 19.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/10.85, allocations: 287.9 kB / 3.399 GB, free: 19.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/10.87, allocations: 8.821 MB / 3.407 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/10.87, allocations: 1.085 MB / 3.409 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001312/10.87, allocations: 297.2 kB / 3.409 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007646/10.87, allocations: 387.7 kB / 3.409 GB, free: 14.16 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/10.87, allocations: 3.844 kB / 3.409 GB, free: 14.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.17/11.04, allocations: 54.47 MB / 3.462 GB, free: 4.676 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/11.04, allocations: 257.6 kB / 3.463 GB, free: 4.383 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.921/15.96, allocations: 0 / 3.463 GB, free: 4.383 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat