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: "" <> buildModelFMU(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,fileNamePrefix="ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim2States120501",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,fileNamePrefix="ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim2States120501",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 177.1 kB / 8.349 MB, free: 0.7266 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.695/1.695, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0008769/0.000877, allocations: 89.66 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.514/0.514, allocations: 48.78 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.397e-05/1.389e-05, allocations: 224 / 425.4 MB, free: 8.129 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 60.26 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.697/8.84, allocations: 3.174 GB / 3.649 GB, free: 27.86 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/8.841, allocations: 98.61 kB / 3.649 GB, free: 27.81 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.384/11.22, allocations: 0.4934 GB / 4.142 GB, free: 34.6 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.414e-06/11.22, allocations: 3.938 kB / 4.142 GB, free: 34.59 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0002535/11.22, allocations: 68.17 kB / 4.142 GB, free: 34.59 MB / 0.5108 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.02818/11.25, allocations: 5.567 MB / 4.148 GB, free: 33.21 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/11.25, allocations: 10.59 kB / 4.148 GB, free: 33.21 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009398/11.26, allocations: 0.9881 MB / 4.149 GB, free: 33.07 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/11.27, allocations: 2.711 MB / 4.151 GB, free: 32.64 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003538/11.28, allocations: 0.8468 MB / 4.152 GB, free: 32.42 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003101/11.28, allocations: 147.7 kB / 4.152 GB, free: 32.41 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02908/11.31, allocations: 9.551 MB / 4.162 GB, free: 32.4 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/11.33, allocations: 6.157 MB / 4.168 GB, free: 32.05 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/11.33, allocations: 3.938 kB / 4.168 GB, free: 32.05 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002631/11.33, allocations: 5.438 kB / 4.168 GB, free: 32.05 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/11.33, allocations: 96.45 kB / 4.168 GB, free: 32.04 MB / 0.5108 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.07482/11.41, allocations: 35.32 MB / 4.202 GB, free: 11.47 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/11.42, allocations: 5.283 MB / 4.207 GB, free: 9.047 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007256/11.43, allocations: 3.95 MB / 4.211 GB, free: 7.195 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6448/12.07, allocations: 120.8 MB / 4.329 GB, free: 56.23 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.215e-05/12.07, allocations: 62.78 kB / 4.329 GB, free: 56.18 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=268): time 4.138e-06/12.07, allocations: 0 / 4.329 GB, free: 56.18 MB / 0.5577 GB Notification: Performance of matching and sorting (n=280): time 0.0773/12.15, allocations: 21.25 MB / 4.35 GB, free: 55.39 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/12.15, allocations: 162.2 kB / 4.35 GB, free: 55.23 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/12.15, allocations: 0.9262 MB / 4.351 GB, free: 55.07 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.00233/12.15, allocations: 28.48 kB / 4.351 GB, free: 55.04 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006793/12.15, allocations: 0.8259 MB / 4.352 GB, free: 54.78 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.003039/12.16, allocations: 0.9213 MB / 4.353 GB, free: 54.29 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007659/12.16, allocations: 0.5625 kB / 4.353 GB, free: 54.29 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0002559/12.16, allocations: 412.6 kB / 4.353 GB, free: 53.99 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006825/12.16, allocations: 4.374 MB / 4.357 GB, free: 53.98 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008877/12.17, allocations: 4.815 MB / 4.362 GB, free: 53.55 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1006/12.27, allocations: 33.2 MB / 4.395 GB, free: 51.61 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/12.27, allocations: 0 / 4.395 GB, free: 51.61 MB / 0.5577 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.04525/12.32, allocations: 12.37 MB / 4.407 GB, free: 51.32 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008142/12.32, allocations: 2.498 MB / 4.409 GB, free: 48.74 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.148e-05/12.32, allocations: 7.531 kB / 4.409 GB, free: 48.74 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06089/12.38, allocations: 23.3 MB / 4.432 GB, free: 46.9 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0331/12.41, allocations: 5.76 MB / 4.438 GB, free: 43.12 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02891/12.44, allocations: 13.72 MB / 4.451 GB, free: 34.23 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/12.45, allocations: 1.589 MB / 4.452 GB, free: 33.05 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00266/12.46, allocations: 350.5 kB / 4.453 GB, free: 32.87 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/12.46, allocations: 4 kB / 4.453 GB, free: 32.86 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08326/12.54, allocations: 24.07 MB / 4.476 GB, free: 14.12 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.022e-05/12.54, allocations: 8 kB / 4.476 GB, free: 14.11 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4763/13.02, allocations: 17.75 MB / 4.494 GB, free: 81.71 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03334/13.05, allocations: 5.929 MB / 4.499 GB, free: 81.71 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/13.07, allocations: 12.62 MB / 4.512 GB, free: 77.37 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/13.08, allocations: 1.595 MB / 4.513 GB, free: 77.37 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/13.08, allocations: 346.5 kB / 4.514 GB, free: 77.37 MB / 0.5577 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Plant.ValveOpening:VARIABLE() type: Real 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.002106/13.08, allocations: 162.8 kB / 4.514 GB, free: 77.26 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03598/13.12, allocations: 12.28 MB / 4.526 GB, free: 77.04 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003008/13.12, allocations: 208.6 kB / 4.526 GB, free: 77.04 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05229/13.17, allocations: 26.1 MB / 4.551 GB, free: 76.48 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04988/13.22, allocations: 24.35 MB / 4.575 GB, free: 74.8 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.18e-05/13.22, allocations: 7.812 kB / 4.575 GB, free: 74.8 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000255/13.22, allocations: 14.06 kB / 4.575 GB, free: 74.8 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 postOpt removeSimpleEquations (simulation): time 0.08484/13.31, allocations: 43.6 MB / 4.618 GB, free: 54.29 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-05/13.31, allocations: 1.625 kB / 4.618 GB, free: 54.29 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01098/13.32, allocations: 2.045 MB / 4.62 GB, free: 54.23 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02398/13.34, allocations: 8.657 MB / 4.628 GB, free: 52.59 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003037/13.35, allocations: 221.1 kB / 4.629 GB, free: 52.55 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03271/13.38, allocations: 26.19 MB / 4.654 GB, free: 32.9 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/13.38, allocations: 7.047 kB / 4.654 GB, free: 32.89 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05/13.43, allocations: 21.35 MB / 4.675 GB, free: 14.25 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004816/13.43, allocations: 1.394 MB / 4.676 GB, free: 13.15 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002615/13.44, allocations: 29.48 kB / 4.676 GB, free: 13.12 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009939/13.45, allocations: 1.575 MB / 4.678 GB, free: 11.97 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002478/13.45, allocations: 429.3 kB / 4.678 GB, free: 11.81 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00202/13.45, allocations: 246.1 kB / 4.679 GB, free: 11.68 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.00152/13.45, allocations: 0.7051 MB / 4.679 GB, free: 11.04 MB / 0.5577 GB Notification: Performance of sort global known variables: time 4.61e-07/13.45, allocations: 0 / 4.679 GB, free: 11.04 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.0203/13.47, allocations: 2.942 MB / 4.682 GB, free: 8.316 MB / 0.5577 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.5123/13.99, allocations: 21.15 MB / 4.703 GB, free: 76.56 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.03413/14.02, allocations: 16.36 MB / 4.719 GB, free: 76.14 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/14.02, allocations: 3.562 kB / 4.719 GB, free: 76.14 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.01337/14.03, allocations: 6.642 MB / 4.725 GB, free: 75.29 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/14.04, allocations: 0.823 MB / 4.726 GB, free: 75.28 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03052/14.07, allocations: 11.02 MB / 4.737 GB, free: 74.14 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/14.07, allocations: 2.156 MB / 4.739 GB, free: 73.39 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.02124/14.09, allocations: 10.72 MB / 4.749 GB, free: 73.2 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00674/14.1, allocations: 1.479 MB / 4.751 GB, free: 73.2 MB / 0.5577 GB Notification: Performance of SimCode: time 1.242e-06/14.1, allocations: 1.969 kB / 4.751 GB, free: 73.2 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7628/14.86, allocations: 237.3 MB / 4.983 GB, free: 62.86 MB / 0.5577 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/14.86, allocations: 143 kB / 4.983 GB, free: 62.67 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/23.55, allocations: 0 / 4.983 GB, free: 62.67 MB / 0.5577 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim2States120501_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim2States120501.fmu > ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe 2>&1)