Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.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.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.62/1.62, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009204/0.0009207, allocations: 86.7 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3109/0.3109, allocations: 48.78 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.939e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 60.25 MB / 492.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.686/8.833, allocations: 3.175 GB / 3.656 GB, free: 47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/8.833, allocations: 83.95 kB / 3.656 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.521/11.35, allocations: 0.498 GB / 4.154 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/11.35, allocations: 0 / 4.154 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002293/11.35, allocations: 64.64 kB / 4.154 GB, free: 45.66 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 566 * Number of variables: 566 Notification: Performance of Generate backend data structure: time 0.0273/11.38, allocations: 5.577 MB / 4.16 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/11.38, allocations: 7.281 kB / 4.16 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008952/11.39, allocations: 0.99 MB / 4.161 GB, free: 44.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/11.4, allocations: 2.7 MB / 4.164 GB, free: 43.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003154/11.4, allocations: 0.9512 MB / 4.164 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/11.41, allocations: 238 kB / 4.165 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/11.43, allocations: 8.718 MB / 4.173 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/11.43, allocations: 0.5625 kB / 4.173 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/11.43, allocations: 90.88 kB / 4.173 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/11.43, allocations: 105.1 kB / 4.173 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/11.46, allocations: 11.87 MB / 4.185 GB, free: 43.18 MB / 0.5261 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.08389/11.55, allocations: 35.52 MB / 4.22 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/11.57, allocations: 6.656 MB / 4.226 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00925/11.57, allocations: 4.012 MB / 4.23 GB, free: 18.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7259/12.3, allocations: 120.6 MB / 4.348 GB, free: 76.22 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/12.3, allocations: 66.34 kB / 4.348 GB, free: 76.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=268): time 9.388e-06/12.3, allocations: 0 / 4.348 GB, free: 76.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=280): time 0.07906/12.38, allocations: 21.2 MB / 4.369 GB, free: 75.37 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/12.38, allocations: 166.5 kB / 4.369 GB, free: 75.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/12.38, allocations: 1.025 MB / 4.37 GB, free: 75.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002785/12.38, allocations: 79.7 kB / 4.37 GB, free: 75.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006318/12.39, allocations: 0.8268 MB / 4.371 GB, free: 74.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002974/12.39, allocations: 0.9628 MB / 4.372 GB, free: 74.27 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007389/12.39, allocations: 54.03 kB / 4.372 GB, free: 74.27 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002456/12.39, allocations: 408.1 kB / 4.372 GB, free: 73.96 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007101/12.4, allocations: 4.407 MB / 4.376 GB, free: 73.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008422/12.4, allocations: 4.871 MB / 4.381 GB, free: 73.51 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2678/12.67, allocations: 58.82 MB / 4.439 GB, free: 70.86 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/12.67, allocations: 3.438 kB / 4.439 GB, free: 70.86 MB / 0.573 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.03598/12.71, allocations: 11.88 MB / 4.45 GB, free: 70.59 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008765/12.71, allocations: 2.508 MB / 4.453 GB, free: 68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-05/12.71, allocations: 7.438 kB / 4.453 GB, free: 68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06141/12.77, allocations: 23.45 MB / 4.475 GB, free: 53.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03216/12.8, allocations: 5.754 MB / 4.481 GB, free: 49.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/12.83, allocations: 12.46 MB / 4.493 GB, free: 38.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/12.84, allocations: 1.65 MB / 4.495 GB, free: 37.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002556/12.84, allocations: 346.6 kB / 4.495 GB, free: 37.49 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/12.84, allocations: 8 kB / 4.495 GB, free: 37.48 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07202/12.91, allocations: 23.68 MB / 4.518 GB, free: 19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-05/12.91, allocations: 12.03 kB / 4.518 GB, free: 18.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4961/13.41, allocations: 17.62 MB / 4.536 GB, free: 92.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03383/13.44, allocations: 5.929 MB / 4.541 GB, free: 92.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/13.46, allocations: 11.93 MB / 4.553 GB, free: 87.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/13.47, allocations: 1.654 MB / 4.555 GB, free: 87.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003214/13.47, allocations: 342.2 kB / 4.555 GB, free: 87.65 MB / 0.573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.Plant.SH.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (Plant.Pipe2Valve.fluidState[2].phase,Plant.Pipe2Valve.fluidState[1].phase,Plant.SH.fluidState[5].phase,Plant.SH.fluidState[4].phase,Plant.SH.fluidState[3].phase,Plant.SH.fluidState[2].phase,Plant.SH.fluidState[1].phase,Plant.SH.heatTransfer.dew.phase,Plant.SH.heatTransfer.bubble.phase,Plant.Pipe2SH.fluidState[2].phase,Plant.Pipe2SH.fluidState[1].phase,Plant.Valve.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 4 {1 3,1 8,5 70,2 13} Notification: Performance of prepare postOptimizeDAE: time 0.004979/13.48, allocations: 255.2 kB / 4.555 GB, free: 87.55 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002767/13.48, allocations: 215.1 kB / 4.555 GB, free: 87.55 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04942/13.53, allocations: 25.94 MB / 4.581 GB, free: 87 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04477/13.57, allocations: 24.13 MB / 4.604 GB, free: 86.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.914e-05/13.57, allocations: 7.625 kB / 4.604 GB, free: 86.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001439/13.58, allocations: 15.89 kB / 4.604 GB, free: 86.04 MB / 0.573 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 postOpt removeSimpleEquations (simulation): time 0.08476/13.66, allocations: 43.71 MB / 4.647 GB, free: 65.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.378e-05/13.66, allocations: 2.625 kB / 4.647 GB, free: 65.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01075/13.67, allocations: 2.051 MB / 4.649 GB, free: 65.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1734/13.84, allocations: 32.06 MB / 4.68 GB, free: 52.76 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002771/13.85, allocations: 241.5 kB / 4.681 GB, free: 52.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03169/13.88, allocations: 26.21 MB / 4.706 GB, free: 28.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/13.88, allocations: 0 / 4.706 GB, free: 28.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04629/13.92, allocations: 21.07 MB / 4.727 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005281/13.93, allocations: 1.479 MB / 4.728 GB, free: 8.734 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002694/13.93, allocations: 91.56 kB / 4.728 GB, free: 8.734 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4691/14.4, allocations: 1.627 MB / 4.73 GB, free: 88.89 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00249/14.4, allocations: 432.9 kB / 4.73 GB, free: 88.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00114/14.41, allocations: 246.5 kB / 4.73 GB, free: 88.89 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001603/14.41, allocations: 0.7933 MB / 4.731 GB, free: 88.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.183e-06/14.41, allocations: 0 / 4.731 GB, free: 88.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0165/14.42, allocations: 3.068 MB / 4.734 GB, free: 88.77 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (Plant.Pipe2SH.p,Plant.Pipe2SH.htilde[1],Plant.SH.htilde[1],Plant.SH.htilde[2],Plant.SH.htilde[3],Plant.SH.htilde[4],Plant.Pipe2Valve.p,Plant.Pipe2Valve.htilde[1],Plant.Pipe2SHWall.Tvol[1],Plant.SHWall.Tvol[1],Plant.SHWall.Tvol[2],Plant.SHWall.Tvol[3],Plant.SHWall.Tvol[4],Plant.Pipe2ValveWall.Tvol[1],Plant.DrumBoiler.Vld,Plant.DrumBoiler.p) * Number of discrete variables: 28 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse32.region3boundary,$cse33.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(6,72.2%) 13,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {2 7,1 11,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01041/14.43, allocations: 1.905 MB / 4.736 GB, free: 88.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03672/14.47, allocations: 16.58 MB / 4.752 GB, free: 88.18 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/14.47, allocations: 2.75 kB / 4.752 GB, free: 88.18 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/14.48, allocations: 6.772 MB / 4.759 GB, free: 87.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007313/14.49, allocations: 0.902 MB / 4.76 GB, free: 87.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/14.52, allocations: 10.19 MB / 4.77 GB, free: 86.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/14.52, allocations: 2.161 MB / 4.772 GB, free: 85.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01627/14.54, allocations: 10.73 MB / 4.782 GB, free: 85.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003404/14.54, allocations: 499.8 kB / 4.783 GB, free: 85.17 MB / 0.573 GB Notification: Performance of SimCode: time 1.122e-06/14.54, allocations: 0 / 4.783 GB, free: 85.17 MB / 0.573 GB Notification: Performance of Templates: time 0.6708/15.21, allocations: 223.6 MB / 5.001 GB, free: 80.62 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.makefile (rm -f ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe ; mkfifo ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe >> ../files/ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.sim & ./ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe 2>&1)