Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002294/0.002295, allocations: 180.6 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001201/0.001201, allocations: 80.86 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6628/0.6628, allocations: 48.78 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.83e-05, allocations: 0 / 425.3 MB, free: 8.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 60.26 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.432/2.617, allocations: 0.7177 GB / 1.192 GB, free: 106.6 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/2.617, allocations: 79.95 kB / 1.192 GB, free: 106.5 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.7785/3.396, allocations: 199.4 MB / 1.387 GB, free: 113.7 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.532e-06/3.396, allocations: 0 / 1.387 GB, free: 113.7 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 5.365e-05/3.396, allocations: 19.94 kB / 1.387 GB, free: 113.7 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001903/3.398, allocations: 0.9 MB / 1.388 GB, free: 113 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/3.398, allocations: 11.03 kB / 1.388 GB, free: 113 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/3.399, allocations: 131.6 kB / 1.388 GB, free: 112.9 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/3.4, allocations: 0.5484 MB / 1.388 GB, free: 112.5 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/3.4, allocations: 20 kB / 1.388 GB, free: 112.5 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/3.4, allocations: 31.56 kB / 1.388 GB, free: 112.5 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006884/3.401, allocations: 416.5 kB / 1.389 GB, free: 112.3 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/3.401, allocations: 0.5039 MB / 1.389 GB, free: 112 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/3.401, allocations: 7.984 kB / 1.389 GB, free: 112 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/3.401, allocations: 0 / 1.389 GB, free: 112 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/3.401, allocations: 15.44 kB / 1.389 GB, free: 112 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.003518/3.405, allocations: 2.15 MB / 1.391 GB, free: 110.3 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/3.405, allocations: 119 kB / 1.391 GB, free: 110.2 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/3.405, allocations: 48.08 kB / 1.391 GB, free: 110.2 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/3.406, allocations: 134.4 kB / 1.392 GB, free: 110.1 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/3.406, allocations: 42.34 kB / 1.392 GB, free: 110 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=15): time 1.684e-06/3.406, allocations: 0 / 1.392 GB, free: 110 MB / 0.5108 GB Notification: Performance of matching and sorting (n=15): time 0.0004076/3.406, allocations: 169.3 kB / 1.392 GB, free: 109.9 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/3.406, allocations: 51.41 kB / 1.392 GB, free: 109.9 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/3.407, allocations: 0.6345 MB / 1.392 GB, free: 109.5 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/3.407, allocations: 28.33 kB / 1.392 GB, free: 109.5 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/3.407, allocations: 404.2 kB / 1.393 GB, free: 109.1 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/3.407, allocations: 64.5 kB / 1.393 GB, free: 109.1 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/3.407, allocations: 0 / 1.393 GB, free: 109.1 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001127/3.407, allocations: 361.4 kB / 1.393 GB, free: 108.7 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/3.408, allocations: 115.8 kB / 1.393 GB, free: 108.7 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/3.408, allocations: 239.5 kB / 1.394 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/3.408, allocations: 144.8 kB / 1.394 GB, free: 108.3 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/3.408, allocations: 4 kB / 1.394 GB, free: 108.3 MB / 0.5108 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005812/3.409, allocations: 395.1 kB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/3.409, allocations: 12.03 kB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/3.409, allocations: 7.938 kB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/3.409, allocations: 8 kB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/3.409, allocations: 111.9 kB / 1.394 GB, free: 107.8 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003249/3.41, allocations: 0.6016 MB / 1.395 GB, free: 107.1 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/3.41, allocations: 55.52 kB / 1.395 GB, free: 107.1 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/3.41, allocations: 23.98 kB / 1.395 GB, free: 107.1 MB / 0.5108 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001958/3.41, allocations: 122.7 kB / 1.395 GB, free: 106.9 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/3.41, allocations: 51.34 kB / 1.395 GB, free: 106.9 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/3.411, allocations: 199.3 kB / 1.395 GB, free: 106.7 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/3.411, allocations: 4 kB / 1.395 GB, free: 106.7 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/3.411, allocations: 0 / 1.395 GB, free: 106.7 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/3.411, allocations: 4 kB / 1.395 GB, free: 106.7 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/3.412, allocations: 0.7599 MB / 1.396 GB, free: 105.9 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/3.412, allocations: 0 / 1.396 GB, free: 105.9 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/3.412, allocations: 43.97 kB / 1.396 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/3.412, allocations: 4 kB / 1.396 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/3.412, allocations: 7.984 kB / 1.396 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003241/3.413, allocations: 0.6055 MB / 1.397 GB, free: 105.2 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/3.413, allocations: 0 / 1.397 GB, free: 105.2 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/3.413, allocations: 384.3 kB / 1.397 GB, free: 104.8 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/3.413, allocations: 156.4 kB / 1.397 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.019e-05/3.413, allocations: 4 kB / 1.397 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/3.414, allocations: 15.98 kB / 1.397 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/3.414, allocations: 19.98 kB / 1.397 GB, free: 104.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/3.414, allocations: 23.97 kB / 1.397 GB, free: 104.5 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0004596/3.414, allocations: 486.9 kB / 1.398 GB, free: 104 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.2e-07/3.414, allocations: 3.938 kB / 1.398 GB, free: 104 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001143/3.415, allocations: 275.3 kB / 1.398 GB, free: 103.8 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001856/3.417, allocations: 1.089 MB / 1.399 GB, free: 102.8 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0004/3.418, allocations: 207.8 kB / 1.399 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/3.418, allocations: 4 kB / 1.399 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/3.418, allocations: 57.23 kB / 1.399 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007354/3.418, allocations: 134.4 kB / 1.399 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/3.42, allocations: 0.8042 MB / 1.4 GB, free: 101.6 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/3.42, allocations: 0.9361 MB / 1.401 GB, free: 100.6 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0003663/3.421, allocations: 100.4 kB / 1.401 GB, free: 100.5 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/3.421, allocations: 51.42 kB / 1.401 GB, free: 100.5 MB / 0.5108 GB Notification: Performance of SimCode: time 2.1e-07/3.421, allocations: 0 / 1.401 GB, free: 100.5 MB / 0.5108 GB Notification: Performance of Templates: time 0.01643/3.437, allocations: 11.98 MB / 1.413 GB, free: 88.52 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)