Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.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.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002058/0.002058, allocations: 180.4 kB / 8.345 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 89.58 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6556/0.6556, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.718e-05, allocations: 0 / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 60.26 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.26/11.42, allocations: 3.999 GB / 4.473 GB, free: 83.98 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/11.42, allocations: 87.28 kB / 4.473 GB, free: 83.91 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 6.909/18.33, allocations: 2.11 GB / 6.583 GB, free: 22.75 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.303e-06/18.33, allocations: 0 / 6.583 GB, free: 22.75 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002187/18.33, allocations: 103.7 kB / 6.583 GB, free: 22.65 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1245 * Number of variables: 1245 Notification: Performance of Generate backend data structure: time 0.01893/18.35, allocations: 5.474 MB / 6.589 GB, free: 17.12 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/18.35, allocations: 12.02 kB / 6.589 GB, free: 17.11 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008856/18.36, allocations: 1.523 MB / 6.59 GB, free: 15.59 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009751/18.37, allocations: 3.776 MB / 6.594 GB, free: 11.77 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/18.37, allocations: 152 kB / 6.594 GB, free: 11.62 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/18.37, allocations: 291.8 kB / 6.594 GB, free: 11.34 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01729/18.39, allocations: 10.86 MB / 6.605 GB, free: 488 kB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/18.41, allocations: 8.633 MB / 6.613 GB, free: 7.699 MB / 0.5577 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.805e-05/18.41, allocations: 0 / 6.613 GB, free: 7.699 MB / 0.5577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007961/18.41, allocations: 11.94 kB / 6.613 GB, free: 7.688 MB / 0.5577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002311/18.41, allocations: 265.5 kB / 6.613 GB, free: 7.426 MB / 0.5577 GB 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.3333/18.74, allocations: 32.15 MB / 6.645 GB, free: 40.15 MB / 0.5577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/18.76, allocations: 11.33 MB / 6.656 GB, free: 38.75 MB / 0.5577 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006427/18.77, allocations: 4.088 MB / 6.66 GB, free: 38.71 MB / 0.5577 GB Notification: Performance of preOpt evalFunc (simulation): time 0.037/18.81, allocations: 22.68 MB / 6.682 GB, free: 31.25 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/18.81, allocations: 97.16 kB / 6.682 GB, free: 31.2 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=491): time 8.386e-06/18.81, allocations: 0 / 6.682 GB, free: 31.2 MB / 0.5577 GB Notification: Performance of matching and sorting (n=491): time 0.03188/18.84, allocations: 10.61 MB / 6.693 GB, free: 30.67 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/18.84, allocations: 128.4 kB / 6.693 GB, free: 30.57 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/18.84, allocations: 1.642 MB / 6.694 GB, free: 30.34 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.0017/18.85, allocations: 30.58 kB / 6.694 GB, free: 30.31 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/18.85, allocations: 1.758 MB / 6.696 GB, free: 29.59 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.002995/18.85, allocations: 1.675 MB / 6.698 GB, free: 28.71 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/18.85, allocations: 0 / 6.698 GB, free: 28.71 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0006006/18.85, allocations: 0.5419 MB / 6.698 GB, free: 28.4 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00587/18.86, allocations: 3.187 MB / 6.701 GB, free: 28.38 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006672/18.86, allocations: 4.764 MB / 6.706 GB, free: 26.57 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/18.88, allocations: 5.314 MB / 6.711 GB, free: 26.48 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.2e-05/18.88, allocations: 15.78 kB / 6.711 GB, free: 26.48 MB / 0.5577 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0322/18.91, allocations: 12.15 MB / 6.723 GB, free: 24.08 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.003399/18.91, allocations: 18.5 MB / 6.741 GB, free: 4.863 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/18.91, allocations: 45.84 kB / 6.741 GB, free: 4.863 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03751/18.95, allocations: 8.829 MB / 6.75 GB, free: 2.91 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/18.95, allocations: 0.7669 MB / 6.75 GB, free: 2.883 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/18.98, allocations: 15.38 MB / 6.765 GB, free: 10.83 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006071/18.99, allocations: 0.6808 MB / 6.766 GB, free: 10.55 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/18.99, allocations: 275.7 kB / 6.766 GB, free: 10.5 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/18.99, allocations: 2.906 kB / 6.766 GB, free: 10.5 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02535/19.01, allocations: 11.26 MB / 6.777 GB, free: 6.152 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/19.01, allocations: 49.48 kB / 6.777 GB, free: 6.152 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02932/19.04, allocations: 7.301 MB / 6.785 GB, free: 4.473 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/19.05, allocations: 0.8811 MB / 6.785 GB, free: 4.441 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02494/19.07, allocations: 14.66 MB / 6.8 GB, free: 12.85 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006072/19.08, allocations: 0.5953 MB / 6.8 GB, free: 12.62 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/19.08, allocations: 272.5 kB / 6.801 GB, free: 12.58 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (412): * Single equations (assignments): 408 * 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 {32 300} Notification: Performance of prepare postOptimizeDAE: time 0.00156/19.08, allocations: 227.2 kB / 6.801 GB, free: 12.43 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/19.08, allocations: 336.8 kB / 6.801 GB, free: 12.27 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02732/19.11, allocations: 11.26 MB / 6.812 GB, free: 8.012 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/19.11, allocations: 44.88 kB / 6.812 GB, free: 8.012 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.055e-05/19.11, allocations: 22.06 kB / 6.812 GB, free: 8.012 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001457/19.11, allocations: 20.91 kB / 6.812 GB, free: 8.012 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03791/19.15, allocations: 16.73 MB / 6.829 GB, free: 1.25 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/19.15, allocations: 0 / 6.829 GB, free: 1.25 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004839/19.15, allocations: 0.8071 MB / 6.829 GB, free: 1.227 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01336/19.17, allocations: 3.815 MB / 6.833 GB, free: 160 kB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001455/19.17, allocations: 138 kB / 6.833 GB, free: 120 kB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3592/19.53, allocations: 47.01 MB / 6.879 GB, free: 46.79 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/19.53, allocations: 0 / 6.879 GB, free: 46.79 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03068/19.56, allocations: 15.07 MB / 6.894 GB, free: 46.06 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003637/19.56, allocations: 1.325 MB / 6.895 GB, free: 45.81 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/19.56, allocations: 63.23 kB / 6.895 GB, free: 45.81 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004335/19.57, allocations: 266.5 kB / 6.895 GB, free: 45.8 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/19.57, allocations: 389.4 kB / 6.896 GB, free: 45.8 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005181/19.57, allocations: 196.7 kB / 6.896 GB, free: 45.8 MB / 0.589 GB Notification: Performance of sorting global known variables: time 0.001886/19.57, allocations: 1.171 MB / 6.897 GB, free: 45.65 MB / 0.589 GB Notification: Performance of sort global known variables: time 3.6e-07/19.57, allocations: 2.719 kB / 6.897 GB, free: 45.65 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.01402/19.59, allocations: 2.986 MB / 6.9 GB, free: 45.49 MB / 0.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 38 (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.p,Plant.GasFlowActuator.y,Plant.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (414): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,(10,64.0%) 21,(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,(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.002934/19.59, allocations: 1.527 MB / 6.902 GB, free: 45.28 MB / 0.589 GB Notification: Performance of simCode: created initialization part: time 0.03283/19.62, allocations: 13.88 MB / 6.915 GB, free: 44.96 MB / 0.589 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/19.62, allocations: 5.938 kB / 6.915 GB, free: 44.96 MB / 0.589 GB Notification: Performance of simCode: created simulation system equations: time 0.01143/19.63, allocations: 6.897 MB / 6.922 GB, free: 42.62 MB / 0.589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008021/19.64, allocations: 1.405 MB / 6.923 GB, free: 42.61 MB / 0.589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/19.66, allocations: 11.04 MB / 6.934 GB, free: 41.03 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/19.66, allocations: 3.081 MB / 6.937 GB, free: 40.24 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.008236/19.67, allocations: 2.415 MB / 6.939 GB, free: 40.2 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/19.67, allocations: 292.2 kB / 6.94 GB, free: 40.19 MB / 0.589 GB Notification: Performance of SimCode: time 1.092e-06/19.67, allocations: 0 / 6.94 GB, free: 40.19 MB / 0.589 GB Notification: Performance of Templates: time 0.4942/20.17, allocations: 148.4 MB / 7.085 GB, free: 68.46 MB / 0.589 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSimplified.pipe 2>&1)