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: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002036/0.002036, 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.775/1.775, 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.0009916/0.0009916, allocations: 97.7 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5318/0.5318, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004138, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 60.26 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.534/8.684, allocations: 2.908 GB / 3.396 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/8.684, allocations: 87.33 kB / 3.396 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8673/9.551, allocations: 316.3 MB / 3.705 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/9.551, allocations: 0 / 3.705 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.03e-05/9.551, allocations: 12 kB / 3.705 GB, free: 8.184 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.006382/9.558, allocations: 1.434 MB / 3.706 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/9.558, allocations: 16.02 kB / 3.706 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/9.558, allocations: 52.81 kB / 3.706 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/9.558, allocations: 279.7 kB / 3.706 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/9.558, allocations: 20.52 kB / 3.706 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/9.558, allocations: 24 kB / 3.706 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/9.559, allocations: 371.3 kB / 3.707 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/9.559, allocations: 8 kB / 3.707 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/9.559, allocations: 12 kB / 3.707 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/9.559, allocations: 7.984 kB / 3.707 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/9.56, allocations: 213.5 kB / 3.707 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/9.561, allocations: 1.706 MB / 3.709 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/9.562, allocations: 118.5 kB / 3.709 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4008/9.962, allocations: 63.72 MB / 3.771 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/9.962, allocations: 35.59 kB / 3.771 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/9.962, allocations: 1.188 kB / 3.771 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.001019/9.963, allocations: 265.9 kB / 3.771 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/9.963, allocations: 54.81 kB / 3.771 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/9.964, allocations: 253.5 kB / 3.772 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/9.964, allocations: 25.7 kB / 3.772 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/9.964, allocations: 184.1 kB / 3.772 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/9.964, allocations: 30.33 kB / 3.772 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/9.964, allocations: 3.688 kB / 3.772 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/9.964, allocations: 343.3 kB / 3.772 GB, free: 30 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/9.964, allocations: 48.27 kB / 3.772 GB, free: 30 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/9.964, allocations: 127 kB / 3.772 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/9.964, allocations: 69.84 kB / 3.772 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/9.964, allocations: 0 / 3.772 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003959/9.965, allocations: 221.5 kB / 3.773 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/9.965, allocations: 1.142 MB / 3.774 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/9.965, allocations: 3.719 kB / 3.774 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/9.965, allocations: 5.609 kB / 3.774 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/9.965, allocations: 51.12 kB / 3.774 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/9.965, allocations: 9.672 kB / 3.774 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/9.966, allocations: 36.52 kB / 3.774 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/9.966, allocations: 14.28 kB / 3.774 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/9.966, allocations: 3.938 kB / 3.774 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003161/9.966, allocations: 160.7 kB / 3.774 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/9.966, allocations: 3.875 kB / 3.774 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/9.966, allocations: 3.688 kB / 3.774 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/9.966, allocations: 57.44 kB / 3.774 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/9.966, allocations: 10.77 kB / 3.774 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/9.966, allocations: 36.03 kB / 3.774 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/9.966, allocations: 8.188 kB / 3.774 GB, free: 28.62 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.000129/9.966, allocations: 217.1 kB / 3.774 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/9.966, allocations: 23.97 kB / 3.774 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/9.967, allocations: 308.6 kB / 3.775 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/9.967, allocations: 1.562 kB / 3.775 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/9.967, allocations: 0 / 3.775 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/9.967, allocations: 5.062 kB / 3.775 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/9.967, allocations: 343.1 kB / 3.775 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/9.967, allocations: 1.438 kB / 3.775 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/9.968, allocations: 26.83 kB / 3.775 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/9.968, allocations: 2.125 kB / 3.775 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/9.968, allocations: 5.156 kB / 3.775 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/9.968, allocations: 0 / 3.775 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/9.968, allocations: 1.312 kB / 3.775 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/9.968, allocations: 296.7 kB / 3.775 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/9.968, allocations: 141.3 kB / 3.775 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/9.968, allocations: 4.25 kB / 3.775 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/9.968, allocations: 28.72 kB / 3.775 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/9.968, allocations: 12 kB / 3.775 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/9.968, allocations: 9.094 kB / 3.775 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002936/9.969, allocations: 305 kB / 3.776 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/9.969, allocations: 1.969 kB / 3.776 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007092/9.976, allocations: 1.305 MB / 3.777 GB, free: 27.79 MB / 0.5105 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.01025/9.986, allocations: 1.692 MB / 3.779 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006347/9.987, allocations: 208.3 kB / 3.779 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/9.987, allocations: 3.328 kB / 3.779 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/9.987, allocations: 51 kB / 3.779 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/9.988, allocations: 128.1 kB / 3.779 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/9.989, allocations: 0.6987 MB / 3.78 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/9.989, allocations: 0.7805 MB / 3.78 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000252/9.989, allocations: 125.1 kB / 3.781 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/9.989, allocations: 25.62 kB / 3.781 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/9.989, allocations: 0 / 3.781 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.04821/10.04, allocations: 33.65 MB / 3.813 GB, free: 24.76 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)