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.001733/0.001733, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.548/1.548, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001036/0.001036, allocations: 95.11 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4543/0.4543, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003845, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.689/9.83, allocations: 3.175 GB / 3.662 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003914/9.83, allocations: 94.88 kB / 3.663 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.159/11.99, allocations: 0.4996 GB / 4.162 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.705e-06/11.99, allocations: 0 / 4.162 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002396/11.99, allocations: 60.84 kB / 4.162 GB, free: 27.25 MB / 0.5105 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.03199/12.02, allocations: 5.853 MB / 4.168 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.332e-05/12.02, allocations: 7.594 kB / 4.168 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003948/12.03, allocations: 350.7 kB / 4.168 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009526/12.04, allocations: 0.9918 MB / 4.169 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/12.05, allocations: 2.71 MB / 4.172 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003874/12.05, allocations: 0.948 MB / 4.173 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003684/12.06, allocations: 241.9 kB / 4.173 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04523/12.1, allocations: 11.43 MB / 4.184 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002511/12.1, allocations: 7.594 kB / 4.184 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004/12.11, allocations: 94.08 kB / 4.184 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/12.11, allocations: 97.97 kB / 4.184 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0582/12.16, allocations: 17.44 MB / 4.201 GB, free: 6.27 MB / 0.5105 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.09292/12.26, allocations: 35.57 MB / 4.236 GB, free: 384 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5665/12.82, allocations: 9.329 MB / 4.245 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.231/13.05, allocations: 120.1 MB / 4.363 GB, free: 24.55 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/13.05, allocations: 61.72 kB / 4.363 GB, free: 24.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=268): time 7.334e-06/13.05, allocations: 0.8438 kB / 4.363 GB, free: 24.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=280): time 0.1701/13.22, allocations: 44.24 MB / 4.406 GB, free: 19.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002225/13.22, allocations: 158.3 kB / 4.406 GB, free: 19.14 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/13.23, allocations: 1.031 MB / 4.407 GB, free: 18.51 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003722/13.23, allocations: 78.78 kB / 4.407 GB, free: 18.47 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/13.23, allocations: 0.8379 MB / 4.408 GB, free: 18.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005141/13.24, allocations: 0.9577 MB / 4.409 GB, free: 17.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/13.24, allocations: 54.19 kB / 4.409 GB, free: 17.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006961/13.24, allocations: 409.4 kB / 4.409 GB, free: 17.15 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02163/13.26, allocations: 7.184 MB / 4.416 GB, free: 13.22 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02275/13.29, allocations: 7.643 MB / 4.424 GB, free: 8.754 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8811/14.17, allocations: 66.4 MB / 4.489 GB, free: 96.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-05/14.17, allocations: 3.844 kB / 4.489 GB, free: 96.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.06558/14.23, allocations: 18.78 MB / 4.507 GB, free: 95.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001043/14.24, allocations: 2.502 MB / 4.509 GB, free: 93.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-05/14.24, allocations: 6.656 kB / 4.509 GB, free: 93.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07464/14.31, allocations: 26.38 MB / 4.535 GB, free: 91.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03418/14.34, allocations: 5.758 MB / 4.541 GB, free: 91.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04617/14.39, allocations: 16.51 MB / 4.557 GB, free: 87.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01481/14.41, allocations: 1.655 MB / 4.559 GB, free: 86.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004621/14.41, allocations: 344.2 kB / 4.559 GB, free: 86.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/14.41, allocations: 4 kB / 4.559 GB, free: 86.44 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1139/14.52, allocations: 30.49 MB / 4.589 GB, free: 67.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.743e-05/14.52, allocations: 8 kB / 4.589 GB, free: 67.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04786/14.57, allocations: 20.31 MB / 4.608 GB, free: 54.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03442/14.61, allocations: 5.93 MB / 4.614 GB, free: 50.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02811/14.64, allocations: 15.66 MB / 4.63 GB, free: 39.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/14.65, allocations: 1.652 MB / 4.631 GB, free: 38.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/14.65, allocations: 348 kB / 4.631 GB, free: 38.11 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 () * Number of clocked 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.00646/14.66, allocations: 0.7615 MB / 4.632 GB, free: 37.71 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002903/14.66, allocations: 215.9 kB / 4.632 GB, free: 37.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5786/15.24, allocations: 37.19 MB / 4.669 GB, free: 95.54 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07254/15.31, allocations: 35.29 MB / 4.703 GB, free: 94.95 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-05/15.31, allocations: 5.062 kB / 4.703 GB, free: 94.95 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001622/15.31, allocations: 13.64 kB / 4.703 GB, free: 94.95 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 postOpt removeSimpleEquations (simulation): time 0.1147/15.43, allocations: 57.28 MB / 4.759 GB, free: 75.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.391e-05/15.43, allocations: 0 / 4.759 GB, free: 75.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01171/15.44, allocations: 2 MB / 4.761 GB, free: 75.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1925/15.63, allocations: 32.62 MB / 4.793 GB, free: 65.35 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00284/15.63, allocations: 194.8 kB / 4.793 GB, free: 65.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04285/15.68, allocations: 30.27 MB / 4.823 GB, free: 37.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/15.68, allocations: 0 / 4.823 GB, free: 37.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07943/15.76, allocations: 29.73 MB / 4.852 GB, free: 12.85 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006373/15.76, allocations: 1.509 MB / 4.853 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00296/15.76, allocations: 91.34 kB / 4.853 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4697/16.23, allocations: 1.625 MB / 4.855 GB, free: 93.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002622/16.24, allocations: 390 kB / 4.855 GB, free: 93.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001275/16.24, allocations: 206.5 kB / 4.855 GB, free: 93.61 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001783/16.24, allocations: 0.7989 MB / 4.856 GB, free: 93.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.41e-07/16.24, allocations: 0.5 kB / 4.856 GB, free: 93.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01886/16.26, allocations: 3.055 MB / 4.859 GB, free: 93.5 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: 36 ($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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse36.region3boundary,$cse37.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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.07702/16.34, allocations: 29.1 MB / 4.888 GB, free: 92.27 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06192/16.4, allocations: 24.8 MB / 4.912 GB, free: 91.79 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/16.4, allocations: 2.344 kB / 4.912 GB, free: 91.79 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02476/16.42, allocations: 9.476 MB / 4.921 GB, free: 90.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00779/16.43, allocations: 0.9015 MB / 4.922 GB, free: 90.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05684/16.49, allocations: 21.35 MB / 4.943 GB, free: 82.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/16.49, allocations: 2.224 MB / 4.945 GB, free: 81.56 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0164/16.51, allocations: 6.189 MB / 4.951 GB, free: 81.28 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009494/16.52, allocations: 1.482 MB / 4.953 GB, free: 81.28 MB / 0.573 GB Notification: Performance of SimCode: time 1.422e-06/16.52, allocations: 0 / 4.953 GB, free: 81.28 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7635/17.28, allocations: 243.7 MB / 5.19 GB, free: 60.12 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/17.28, allocations: 222.3 kB / 5.191 GB, free: 59.88 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.84/26.12, allocations: 0 / 5.191 GB, free: 59.88 MB / 0.573 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)