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.001075/0.001075, allocations: 177.1 kB / 8.35 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.828/1.828, 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.0009115/0.0009114, allocations: 79.78 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5721/0.5721, allocations: 48.78 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.518e-05, allocations: 4 kB / 425.4 MB, free: 8.156 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 60.27 MB / 485.7 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.021/9.184, allocations: 2.908 GB / 3.382 GB, free: 91.98 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/9.185, allocations: 79.98 kB / 3.382 GB, free: 91.95 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.335/10.52, allocations: 311.7 MB / 3.687 GB, free: 68.78 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.663e-06/10.52, allocations: 0 / 3.687 GB, free: 68.78 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.473e-05/10.52, allocations: 8.594 kB / 3.687 GB, free: 68.78 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.007392/10.53, allocations: 1.418 MB / 3.688 GB, free: 68.19 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/10.53, allocations: 10.19 kB / 3.688 GB, free: 68.19 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/10.53, allocations: 52.38 kB / 3.688 GB, free: 68.18 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/10.53, allocations: 275.8 kB / 3.688 GB, free: 67.96 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/10.53, allocations: 12.5 kB / 3.688 GB, free: 67.96 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/10.53, allocations: 13.95 kB / 3.688 GB, free: 67.96 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003257/10.53, allocations: 136.6 kB / 3.688 GB, free: 67.96 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/10.53, allocations: 285.2 kB / 3.689 GB, free: 67.8 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/10.53, allocations: 1.156 kB / 3.689 GB, free: 67.8 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/10.53, allocations: 2.406 kB / 3.689 GB, free: 67.8 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/10.53, allocations: 5.781 kB / 3.689 GB, free: 67.8 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1201/10.65, allocations: 65.57 MB / 3.753 GB, free: 27.41 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/10.65, allocations: 47.38 kB / 3.753 GB, free: 27.39 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/10.65, allocations: 21.78 kB / 3.753 GB, free: 27.38 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/10.65, allocations: 2.359 kB / 3.753 GB, free: 27.38 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/10.65, allocations: 38.77 kB / 3.753 GB, free: 27.34 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/10.65, allocations: 0 / 3.753 GB, free: 27.34 MB / 0.5108 GB Notification: Performance of matching and sorting (n=5): time 0.0006498/10.65, allocations: 132.6 kB / 3.753 GB, free: 27.3 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/10.65, allocations: 53.58 kB / 3.753 GB, free: 27.24 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/10.65, allocations: 201.3 kB / 3.753 GB, free: 27.14 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/10.65, allocations: 25.7 kB / 3.753 GB, free: 27.11 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/10.65, allocations: 204.8 kB / 3.753 GB, free: 26.99 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/10.65, allocations: 19.22 kB / 3.753 GB, free: 26.98 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/10.65, allocations: 4 kB / 3.753 GB, free: 26.98 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/10.65, allocations: 332.5 kB / 3.754 GB, free: 26.66 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/10.65, allocations: 28.22 kB / 3.754 GB, free: 26.66 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/10.65, allocations: 111.4 kB / 3.754 GB, free: 26.55 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/10.65, allocations: 52.14 kB / 3.754 GB, free: 26.55 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/10.65, allocations: 1.031 kB / 3.754 GB, free: 26.55 MB / 0.5108 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004463/10.65, allocations: 173.8 kB / 3.754 GB, free: 26.51 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.001433/10.65, allocations: 1.135 MB / 3.755 GB, free: 41.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/10.65, allocations: 4.438 kB / 3.755 GB, free: 41.32 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/10.65, allocations: 5.094 kB / 3.755 GB, free: 41.32 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/10.65, allocations: 50.55 kB / 3.755 GB, free: 41.32 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/10.65, allocations: 8.344 kB / 3.755 GB, free: 41.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/10.65, allocations: 33.22 kB / 3.755 GB, free: 41.31 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/10.65, allocations: 8.75 kB / 3.755 GB, free: 41.31 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/10.65, allocations: 3.938 kB / 3.755 GB, free: 41.31 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002833/10.65, allocations: 111.9 kB / 3.755 GB, free: 41.3 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/10.65, allocations: 3.562 kB / 3.755 GB, free: 41.3 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/10.65, allocations: 4.953 kB / 3.755 GB, free: 41.3 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/10.65, allocations: 52.31 kB / 3.755 GB, free: 41.3 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/10.65, allocations: 4.859 kB / 3.755 GB, free: 41.3 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/10.65, allocations: 23.92 kB / 3.756 GB, free: 41.3 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/10.65, allocations: 17.3 kB / 3.756 GB, free: 41.3 MB / 0.5265 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 () * 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.0001036/10.66, allocations: 116.4 kB / 3.756 GB, free: 41.19 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002161/10.66, allocations: 76.92 kB / 3.756 GB, free: 41.15 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/10.66, allocations: 22.03 kB / 3.756 GB, free: 41.14 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/10.66, allocations: 77.95 kB / 3.756 GB, free: 41.1 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/10.66, allocations: 1.125 kB / 3.756 GB, free: 41.1 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/10.66, allocations: 2.516 kB / 3.756 GB, free: 41.1 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/10.66, allocations: 8.75 kB / 3.756 GB, free: 41.09 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/10.66, allocations: 219.7 kB / 3.756 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/10.66, allocations: 0.7031 kB / 3.756 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/10.66, allocations: 20.16 kB / 3.756 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/10.66, allocations: 1.828 kB / 3.756 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/10.66, allocations: 5.469 kB / 3.756 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/10.66, allocations: 1.281 kB / 3.756 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/10.66, allocations: 2.062 kB / 3.756 GB, free: 40.94 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/10.66, allocations: 192.5 kB / 3.756 GB, free: 40.79 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/10.66, allocations: 97.95 kB / 3.756 GB, free: 40.69 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/10.66, allocations: 1.062 kB / 3.756 GB, free: 40.69 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/10.66, allocations: 11.75 kB / 3.756 GB, free: 40.69 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/10.66, allocations: 5.547 kB / 3.756 GB, free: 40.69 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/10.66, allocations: 4.094 kB / 3.756 GB, free: 40.69 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.000187/10.66, allocations: 160.8 kB / 3.757 GB, free: 40.6 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.5e-07/10.66, allocations: 0 / 3.757 GB, free: 40.6 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.008468/10.67, allocations: 1.296 MB / 3.758 GB, free: 40.45 MB / 0.5265 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.01309/10.68, allocations: 2.394 MB / 3.76 GB, free: 39.5 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0004335/10.68, allocations: 135.9 kB / 3.76 GB, free: 39.5 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/10.68, allocations: 4.25 kB / 3.76 GB, free: 39.5 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/10.68, allocations: 14.88 kB / 3.76 GB, free: 39.5 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/10.68, allocations: 49.66 kB / 3.76 GB, free: 39.5 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/10.68, allocations: 0.7935 MB / 3.761 GB, free: 39.14 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/10.68, allocations: 0.7534 MB / 3.762 GB, free: 38.44 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.000395/10.69, allocations: 175 kB / 3.762 GB, free: 38.43 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/10.69, allocations: 79.78 kB / 3.762 GB, free: 38.43 MB / 0.5265 GB Notification: Performance of SimCode: time 5.61e-07/10.69, allocations: 0 / 3.762 GB, free: 38.43 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06789/10.75, allocations: 33.21 MB / 3.794 GB, free: 36.62 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/10.75, allocations: 157.1 kB / 3.795 GB, free: 36.43 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/13.41, allocations: 0 / 3.795 GB, free: 36.43 MB / 0.5265 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)