Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.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.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",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.001922/0.001922, 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.948/1.948, 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.001108/0.001108, allocations: 101.8 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.6724/0.6724, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 12 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1872, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.817/8.005, allocations: 2.908 GB / 3.396 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/8.005, allocations: 90.83 kB / 3.396 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9314/8.937, allocations: 316.3 MB / 3.705 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.085e-06/8.937, allocations: 0 / 3.705 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.06e-05/8.937, allocations: 8 kB / 3.705 GB, free: 7.031 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.006261/8.943, allocations: 1.442 MB / 3.706 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/8.943, allocations: 15.91 kB / 3.706 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.146e-05/8.943, allocations: 62.53 kB / 3.706 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/8.943, allocations: 56.81 kB / 3.706 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/8.944, allocations: 275.8 kB / 3.707 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/8.944, allocations: 16.56 kB / 3.707 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/8.944, allocations: 27.98 kB / 3.707 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/8.944, allocations: 375.3 kB / 3.707 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/8.944, allocations: 4 kB / 3.707 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/8.944, allocations: 8 kB / 3.707 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/8.944, allocations: 8 kB / 3.707 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/8.945, allocations: 221.5 kB / 3.707 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/8.946, allocations: 1.702 MB / 3.709 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/8.947, allocations: 114.5 kB / 3.709 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3701/9.317, allocations: 63.72 MB / 3.771 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/9.317, allocations: 33.91 kB / 3.771 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/9.317, allocations: 0 / 3.771 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0009388/9.318, allocations: 271.9 kB / 3.771 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/9.318, allocations: 51.41 kB / 3.771 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/9.318, allocations: 257.9 kB / 3.772 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/9.318, allocations: 29.7 kB / 3.772 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/9.318, allocations: 178.3 kB / 3.772 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/9.318, allocations: 31.78 kB / 3.772 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/9.318, allocations: 6.547 kB / 3.772 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.312e-05/9.318, allocations: 335.7 kB / 3.772 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/9.319, allocations: 43.59 kB / 3.772 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/9.319, allocations: 133.4 kB / 3.772 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/9.319, allocations: 68.27 kB / 3.773 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/9.319, allocations: 3.938 kB / 3.773 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004476/9.319, allocations: 218.4 kB / 3.773 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/9.32, allocations: 1.141 MB / 3.774 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/9.32, allocations: 6.938 kB / 3.774 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/9.32, allocations: 8.562 kB / 3.774 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/9.32, allocations: 51.53 kB / 3.774 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/9.32, allocations: 2.969 kB / 3.774 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/9.32, allocations: 39.77 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/9.32, allocations: 7.312 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/9.32, allocations: 3.594 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003343/9.321, allocations: 179.5 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/9.321, allocations: 4.531 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/9.321, allocations: 3.219 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/9.321, allocations: 51.27 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/9.321, allocations: 3.969 kB / 3.774 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/9.321, allocations: 30.38 kB / 3.774 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/9.321, allocations: 11.16 kB / 3.774 GB, free: 27.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (steamTurbineStodola.steamState_in.phase,steamTurbineStodola.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/9.321, allocations: 228.2 kB / 3.774 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/9.321, allocations: 23.75 kB / 3.774 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/9.322, allocations: 309.6 kB / 3.775 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/9.322, allocations: 0 / 3.775 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/9.322, allocations: 0.875 kB / 3.775 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/9.322, allocations: 0.5625 kB / 3.775 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/9.322, allocations: 340.7 kB / 3.775 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/9.322, allocations: 4 kB / 3.775 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/9.322, allocations: 30.61 kB / 3.775 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/9.322, allocations: 1.375 kB / 3.775 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/9.322, allocations: 0.75 kB / 3.775 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/9.322, allocations: 1.375 kB / 3.775 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/9.322, allocations: 0 / 3.775 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/9.323, allocations: 306.2 kB / 3.775 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/9.324, allocations: 141.1 kB / 3.776 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/9.324, allocations: 2.375 kB / 3.776 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/9.324, allocations: 31.22 kB / 3.776 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/9.324, allocations: 6.562 kB / 3.776 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/9.324, allocations: 2.938 kB / 3.776 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003861/9.325, allocations: 305 kB / 3.776 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/9.325, allocations: 0 / 3.776 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007189/9.332, allocations: 1.313 MB / 3.777 GB, free: 42.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/9.344, allocations: 2.424 MB / 3.78 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005871/9.344, allocations: 209.3 kB / 3.78 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/9.344, allocations: 2.516 kB / 3.78 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/9.344, allocations: 47.53 kB / 3.78 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/9.345, allocations: 129 kB / 3.78 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/9.352, allocations: 3.922 MB / 3.784 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/9.352, allocations: 0.7802 MB / 3.785 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003168/9.353, allocations: 124.5 kB / 3.785 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/9.353, allocations: 111 kB / 3.785 GB, free: 38.44 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/9.353, allocations: 0 / 3.785 GB, free: 38.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07118/9.424, allocations: 38.49 MB / 3.822 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/9.424, allocations: 189.3 kB / 3.822 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/12.91, allocations: 0 / 3.822 GB, free: 36.23 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)