Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 92.41 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6733/0.6733, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1888, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.81/12, allocations: 3.674 GB / 4.162 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/12, allocations: 91.67 kB / 4.162 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.287/16.28, allocations: 1.046 GB / 5.208 GB, free: 39.78 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.017e-06/16.28, allocations: 1.125 kB / 5.208 GB, free: 39.78 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005489/16.28, allocations: 115.6 kB / 5.208 GB, free: 39.77 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 0.03985/16.32, allocations: 6.333 MB / 5.214 GB, free: 37.99 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/16.32, allocations: 11.19 kB / 5.214 GB, free: 37.99 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/16.34, allocations: 2.025 MB / 5.216 GB, free: 37.73 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/16.35, allocations: 4.135 MB / 5.22 GB, free: 37.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00062/16.35, allocations: 393.3 kB / 5.221 GB, free: 37.19 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004815/16.36, allocations: 0.5622 MB / 5.221 GB, free: 37.17 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04286/16.4, allocations: 12.91 MB / 5.234 GB, free: 36.74 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/16.4, allocations: 1.312 kB / 5.234 GB, free: 36.74 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003244/16.41, allocations: 222.9 kB / 5.234 GB, free: 36.74 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003378/16.41, allocations: 281.6 kB / 5.234 GB, free: 36.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04113/16.45, allocations: 14.93 MB / 5.249 GB, free: 36.68 MB / 0.573 GB 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.1035/16.55, allocations: 41.07 MB / 5.289 GB, free: 22.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0428/16.59, allocations: 21.71 MB / 5.31 GB, free: 7.008 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6694/17.26, allocations: 96.65 MB / 5.404 GB, free: 81.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/17.26, allocations: 114.3 kB / 5.405 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=593): time 1.003e-05/17.26, allocations: 0 / 5.405 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=594): time 0.1202/17.38, allocations: 36.4 MB / 5.44 GB, free: 77.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/17.38, allocations: 147.7 kB / 5.44 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00337/17.39, allocations: 1.454 MB / 5.442 GB, free: 77.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.003107/17.39, allocations: 140.7 kB / 5.442 GB, free: 77.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/17.39, allocations: 1.423 MB / 5.443 GB, free: 76.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005034/17.4, allocations: 2.061 MB / 5.445 GB, free: 75.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007137/17.4, allocations: 104.1 kB / 5.445 GB, free: 75.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000605/17.4, allocations: 0.5157 MB / 5.446 GB, free: 75.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/17.41, allocations: 5.045 MB / 5.451 GB, free: 75.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/17.42, allocations: 5.67 MB / 5.456 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/17.43, allocations: 5.668 MB / 5.462 GB, free: 74.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-05/17.43, allocations: 7.625 kB / 5.462 GB, free: 74.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.03354/17.46, allocations: 16.91 MB / 5.478 GB, free: 74.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009396/17.46, allocations: 3.29 MB / 5.482 GB, free: 70.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/17.46, allocations: 12.44 kB / 5.482 GB, free: 70.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.163/17.63, allocations: 29.65 MB / 5.511 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/17.63, allocations: 419.9 kB / 5.511 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04091/17.67, allocations: 22.55 MB / 5.533 GB, free: 62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009055/17.68, allocations: 0.6782 MB / 5.534 GB, free: 61.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/17.68, allocations: 345.9 kB / 5.534 GB, free: 61.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/17.68, allocations: 3.125 kB / 5.534 GB, free: 61.82 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02749/17.71, allocations: 16.42 MB / 5.55 GB, free: 54.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.53e-05/17.71, allocations: 7.688 kB / 5.55 GB, free: 54.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1287/17.84, allocations: 23.55 MB / 5.573 GB, free: 43.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/17.84, allocations: 493.2 kB / 5.573 GB, free: 42.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04055/17.88, allocations: 21.77 MB / 5.595 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008791/17.89, allocations: 0.6646 MB / 5.595 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002671/17.89, allocations: 352 kB / 5.596 GB, free: 22.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 13 (Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 449} Notification: Performance of prepare postOptimizeDAE: time 0.009033/17.9, allocations: 1.82 MB / 5.597 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003528/17.91, allocations: 349.9 kB / 5.598 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.541/18.45, allocations: 36.43 MB / 5.633 GB, free: 89.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/18.45, allocations: 87.86 kB / 5.633 GB, free: 89.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-05/18.45, allocations: 17.72 kB / 5.633 GB, free: 89.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001826/18.45, allocations: 31.41 kB / 5.634 GB, free: 89.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08685/18.53, allocations: 50.68 MB / 5.683 GB, free: 85.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.628e-05/18.53, allocations: 0.75 kB / 5.683 GB, free: 85.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008093/18.54, allocations: 1.154 MB / 5.684 GB, free: 85.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/18.56, allocations: 4.59 MB / 5.689 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002705/18.56, allocations: 279.5 kB / 5.689 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04881/18.61, allocations: 52.28 MB / 5.74 GB, free: 51.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/18.61, allocations: 0.6875 kB / 5.74 GB, free: 51.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04498/18.65, allocations: 20.42 MB / 5.76 GB, free: 42.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007319/18.66, allocations: 1.707 MB / 5.762 GB, free: 41.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003411/18.67, allocations: 201.9 kB / 5.762 GB, free: 41.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01012/18.68, allocations: 0.5489 MB / 5.762 GB, free: 41.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00334/18.68, allocations: 463.8 kB / 5.763 GB, free: 41.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002516/18.68, allocations: 263.4 kB / 5.763 GB, free: 41.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002766/18.68, allocations: 1.171 MB / 5.764 GB, free: 40.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.753e-06/18.68, allocations: 0 / 5.764 GB, free: 40.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02729/18.71, allocations: 4.113 MB / 5.768 GB, free: 40.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (Plant.Boiler.WaterSide.p,Plant.Boiler.WaterSide.htilde[1],Plant.Boiler.WaterSide.htilde[2],Plant.Boiler.WaterSide.htilde[3],Plant.Boiler.WaterSide.htilde[4],Plant.Boiler.WaterSide.htilde[5],Plant.Boiler.WaterSide.htilde[6],Plant.Boiler.WaterSide.htilde[7],Plant.Boiler.WaterSide.htilde[8],Plant.Boiler.WaterSide.htilde[9],Plant.Boiler.WaterSide.htilde[10],Plant.Boiler.TubeWalls.Tvol[1],Plant.Boiler.TubeWalls.Tvol[2],Plant.Boiler.TubeWalls.Tvol[3],Plant.Boiler.TubeWalls.Tvol[4],Plant.Boiler.TubeWalls.Tvol[5],Plant.Boiler.TubeWalls.Tvol[6],Plant.Boiler.TubeWalls.Tvol[7],Plant.Boiler.TubeWalls.Tvol[8],Plant.Boiler.TubeWalls.Tvol[9],Plant.Boiler.TubeWalls.Tvol[10],Plant.Boiler.GasSide.Ttilde[1],Plant.Boiler.GasSide.Ttilde[2],Plant.Boiler.GasSide.Ttilde[3],Plant.Boiler.GasSide.Ttilde[4],Plant.Boiler.GasSide.Ttilde[5],Plant.Boiler.GasSide.Ttilde[6],Plant.Boiler.GasSide.Ttilde[7],Plant.Boiler.GasSide.Ttilde[8],Plant.Boiler.GasSide.Ttilde[9],Plant.Boiler.GasSide.Ttilde[10],Plant.Boiler.GasSide.Xtilde[1,1],Plant.Boiler.GasSide.Xtilde[1,2],Plant.Boiler.GasSide.p,Plant.GasFlowActuator.y,Plant.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (529): * Single equations (assignments): 492 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 22 {(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01577/18.73, allocations: 2.844 MB / 5.771 GB, free: 40.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.05804/18.79, allocations: 19.75 MB / 5.79 GB, free: 32.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/18.79, allocations: 5.688 kB / 5.79 GB, free: 32.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.02139/18.81, allocations: 9.171 MB / 5.799 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01408/18.82, allocations: 1.884 MB / 5.801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.045/18.87, allocations: 18.64 MB / 5.819 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007505/18.87, allocations: 3.552 MB / 5.823 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01014/18.88, allocations: 1.631 MB / 5.824 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003717/18.89, allocations: 347.8 kB / 5.825 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of SimCode: time 3.646e-06/18.89, allocations: 0 / 5.825 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of Templates: time 1.357/20.24, allocations: 299.3 MB / 6.117 GB, free: 73.77 MB / 0.6355 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe 2>&1)