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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 193 kB / 8.139 MB, free: 2.195 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.265/1.265, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.0009338/0.0009338, allocations: 88.81 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3611/0.3611, allocations: 48.76 MB / 358.4 MB, free: 53.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.556e-06, allocations: 4.219 kB / 424.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 60.25 MB / 485 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.045/5.17, allocations: 2.908 GB / 3.381 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/5.171, allocations: 81.36 kB / 3.381 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.7767/5.947, allocations: 307.7 MB / 3.682 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.869e-05/5.947, allocations: 19.94 kB / 3.682 GB, free: 56.99 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.004609/5.952, allocations: 1.414 MB / 3.683 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/5.952, allocations: 8.031 kB / 3.683 GB, free: 55.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/5.952, allocations: 51.59 kB / 3.683 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/5.953, allocations: 275.3 kB / 3.684 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/5.953, allocations: 8 kB / 3.684 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/5.953, allocations: 16 kB / 3.684 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002227/5.953, allocations: 125 kB / 3.684 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/5.953, allocations: 301.7 kB / 3.684 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/5.953, allocations: 0 / 3.684 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/5.953, allocations: 5.406 kB / 3.684 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/5.953, allocations: 8 kB / 3.684 GB, free: 54.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2371/6.19, allocations: 65.63 MB / 3.748 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/6.19, allocations: 54.78 kB / 3.748 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/6.19, allocations: 21.7 kB / 3.748 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/6.19, allocations: 0 / 3.748 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/6.19, allocations: 30.56 kB / 3.748 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/6.191, allocations: 0 / 3.748 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.000458/6.191, allocations: 134.3 kB / 3.748 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.501e-05/6.191, allocations: 51.41 kB / 3.748 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/6.191, allocations: 209.5 kB / 3.749 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/6.191, allocations: 33.41 kB / 3.749 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/6.191, allocations: 182.2 kB / 3.749 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/6.191, allocations: 21.14 kB / 3.749 GB, free: 120 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-06/6.191, allocations: 0 / 3.749 GB, free: 120 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.504e-05/6.191, allocations: 328.5 kB / 3.749 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/6.191, allocations: 33.08 kB / 3.749 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/6.191, allocations: 116.8 kB / 3.749 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/6.192, allocations: 59.16 kB / 3.749 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/6.192, allocations: 0 / 3.749 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006641/6.192, allocations: 280 kB / 3.75 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/6.193, allocations: 1.126 MB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/6.193, allocations: 3.969 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/6.193, allocations: 10.17 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/6.193, allocations: 51.03 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/6.193, allocations: 6.781 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/6.193, allocations: 36.2 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/6.193, allocations: 7.594 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/6.193, allocations: 3.938 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002505/6.193, allocations: 124.7 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/6.193, allocations: 3.938 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/6.193, allocations: 3.688 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/6.193, allocations: 50.17 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/6.194, allocations: 6.875 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/6.194, allocations: 29.58 kB / 3.751 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/6.194, allocations: 10.81 kB / 3.751 GB, free: 118.4 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 () * 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 5.329e-05/6.194, allocations: 112.9 kB / 3.751 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/6.194, allocations: 71.8 kB / 3.751 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/6.194, allocations: 84.23 kB / 3.751 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/6.194, allocations: 0 / 3.751 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/6.194, allocations: 0 / 3.751 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/6.194, allocations: 3.609 kB / 3.751 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/6.194, allocations: 233.4 kB / 3.752 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/6.194, allocations: 0 / 3.752 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/6.194, allocations: 19.39 kB / 3.752 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/6.194, allocations: 0 / 3.752 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/6.194, allocations: 3.625 kB / 3.752 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/6.194, allocations: 3.938 kB / 3.752 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/6.195, allocations: 0 / 3.752 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002928/6.195, allocations: 244.5 kB / 3.752 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/6.195, allocations: 99.31 kB / 3.752 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/6.195, allocations: 7.703 kB / 3.752 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/6.195, allocations: 11.47 kB / 3.752 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/6.195, allocations: 10.55 kB / 3.752 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/6.195, allocations: 0 / 3.752 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.569e-05/6.195, allocations: 161.9 kB / 3.752 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005458/6.201, allocations: 1.322 MB / 3.753 GB, free: 117.8 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 () * 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.008775/6.209, allocations: 1.897 MB / 3.755 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002861/6.21, allocations: 143.3 kB / 3.755 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/6.21, allocations: 0 / 3.755 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/6.21, allocations: 19 kB / 3.755 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/6.21, allocations: 55.38 kB / 3.755 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/6.211, allocations: 304.3 kB / 3.756 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/6.211, allocations: 0.778 MB / 3.756 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/6.211, allocations: 3.719 kB / 3.756 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.03932/6.25, allocations: 34.5 MB / 3.79 GB, free: 116.4 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)