Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008427/0.008426, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.319/1.319, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00162/0.00162, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004082, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 38.76 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.998/6.236, allocations: 2.56 GB / 2.866 GB, free: 106.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/6.236, allocations: 88.27 kB / 2.866 GB, free: 106.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682/7.919, allocations: 483.8 MB / 3.338 GB, free: 20.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/7.919, allocations: 0 / 3.338 GB, free: 20.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.722e-05/7.919, allocations: 21.69 kB / 3.338 GB, free: 20.73 MB / 362.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.006921/7.926, allocations: 1.862 MB / 3.34 GB, free: 19.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/7.926, allocations: 11.62 kB / 3.34 GB, free: 19.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/7.928, allocations: 231.4 kB / 3.341 GB, free: 19.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009479/7.929, allocations: 0.5035 MB / 3.341 GB, free: 19.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/7.929, allocations: 42.59 kB / 3.341 GB, free: 19.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/7.929, allocations: 58.56 kB / 3.341 GB, free: 19.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/7.931, allocations: 0.8958 MB / 3.342 GB, free: 18.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/7.931, allocations: 0 / 3.342 GB, free: 18.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/7.931, allocations: 23.62 kB / 3.342 GB, free: 18.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/7.931, allocations: 14.84 kB / 3.342 GB, free: 18.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/7.933, allocations: 0.7207 MB / 3.343 GB, free: 18.48 MB / 362.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.004243/7.937, allocations: 4.126 MB / 3.347 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/7.939, allocations: 0.6044 MB / 3.347 GB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3796/8.318, allocations: 54.91 MB / 3.401 GB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/8.32, allocations: 0.5361 MB / 3.401 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007229/8.321, allocations: 81.53 kB / 3.402 GB, free: 27.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.938e-06/8.321, allocations: 0 / 3.402 GB, free: 27.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.009886/8.331, allocations: 3.248 MB / 3.405 GB, free: 26.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/8.331, allocations: 275.5 kB / 3.405 GB, free: 26.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/8.331, allocations: 396.8 kB / 3.405 GB, free: 26.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/8.331, allocations: 36.89 kB / 3.405 GB, free: 26.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/8.332, allocations: 324.8 kB / 3.406 GB, free: 26.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/8.332, allocations: 209.2 kB / 3.406 GB, free: 26.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/8.332, allocations: 12.91 kB / 3.406 GB, free: 26.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/8.332, allocations: 369.3 kB / 3.406 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/8.332, allocations: 265.4 kB / 3.407 GB, free: 25.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/8.333, allocations: 448.9 kB / 3.407 GB, free: 25.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/8.334, allocations: 375.5 kB / 3.407 GB, free: 25.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/8.334, allocations: 3.562 kB / 3.407 GB, free: 25.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001646/8.335, allocations: 0.9859 MB / 3.408 GB, free: 25.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/8.335, allocations: 75.56 kB / 3.408 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/8.335, allocations: 3.156 kB / 3.408 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/8.339, allocations: 351.6 kB / 3.409 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/8.34, allocations: 139.7 kB / 3.409 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009754/8.341, allocations: 0.7931 MB / 3.41 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/8.341, allocations: 69.41 kB / 3.41 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/8.342, allocations: 47.67 kB / 3.41 GB, free: 24.9 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.0004012/8.342, allocations: 281.5 kB / 3.41 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/8.342, allocations: 65.09 kB / 3.41 GB, free: 24.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006541/8.349, allocations: 4.693 MB / 3.415 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/8.349, allocations: 33.19 kB / 3.415 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/8.349, allocations: 2.906 kB / 3.415 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/8.349, allocations: 5.172 kB / 3.415 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007987/8.357, allocations: 6.433 MB / 3.421 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/8.357, allocations: 7.516 kB / 3.421 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/8.357, allocations: 91.34 kB / 3.421 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002426/8.36, allocations: 1.083 MB / 3.422 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/8.36, allocations: 23.94 kB / 3.422 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/8.362, allocations: 2.35 MB / 3.424 GB, free: 23.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/8.362, allocations: 3.75 kB / 3.424 GB, free: 23.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/8.368, allocations: 5.418 MB / 3.43 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007947/8.369, allocations: 236.5 kB / 3.43 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/8.369, allocations: 19.44 kB / 3.43 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/8.37, allocations: 69.33 kB / 3.43 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/8.37, allocations: 48.55 kB / 3.43 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/8.37, allocations: 28.14 kB / 3.43 GB, free: 22.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006461/8.371, allocations: 469.5 kB / 3.431 GB, free: 22.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/8.371, allocations: 3.062 kB / 3.431 GB, free: 22.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007879/8.379, allocations: 1.201 MB / 3.432 GB, free: 22.54 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.01401/8.393, allocations: 1.772 MB / 3.433 GB, free: 22.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002765/8.396, allocations: 1.1 MB / 3.435 GB, free: 22.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/8.396, allocations: 0 / 3.435 GB, free: 22.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/8.397, allocations: 0.8477 MB / 3.435 GB, free: 22.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/8.399, allocations: 289.7 kB / 3.436 GB, free: 22.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/8.402, allocations: 2.666 MB / 3.438 GB, free: 20.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/8.403, allocations: 1.081 MB / 3.439 GB, free: 20.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007065/8.404, allocations: 297.5 kB / 3.44 GB, free: 20.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/8.404, allocations: 57.45 kB / 3.44 GB, free: 20.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/8.404, allocations: 2.438 kB / 3.44 GB, free: 20.22 MB / 378.7 MB Notification: Performance of Templates: time 0.06106/8.465, allocations: 43.38 MB / 3.482 GB, free: 17.62 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler.pipe 2>&1)