Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 79.5 kB / 21.27 MB, free: 388 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 163.4 kB / 24.53 MB, free: 3.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 177.2 MB / 204.9 MB, free: 9.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1856/0.1856, allocations: 19.71 MB / 281 MB, free: 13.08 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003161/0.003161, allocations: 67.91 kB / 417.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3918, allocations: 60.46 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3856/0.7774, allocations: 146.8 MB / 0.6102 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.7968, allocations: 3.307 MB / 0.6134 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/0.7974, allocations: 15.88 kB / 0.6135 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.7985, allocations: 258.4 kB / 0.6137 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.8, allocations: 493.5 kB / 0.6142 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.8148, allocations: 1.454 MB / 0.6156 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.817, allocations: 1.216 MB / 0.6168 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.8176, allocations: 314 kB / 0.6171 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.8187, allocations: 0.6466 MB / 0.6177 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.8195, allocations: 414.4 kB / 0.6181 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.8196, allocations: 56 kB / 0.6182 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.8325, allocations: 1.185 MB / 0.6193 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.8331, allocations: 323.1 kB / 0.6196 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006187/0.8337, allocations: 342.5 kB / 0.62 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.837, allocations: 1.581 MB / 0.6215 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.837, allocations: 0 / 0.6215 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.837, allocations: 0 / 0.6215 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.837, allocations: 0 / 0.6215 GB, free: 3.363 MB / 0.5137 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.002474/0.8395, allocations: 1.08 MB / 0.6226 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.8395, allocations: 8.031 kB / 0.6226 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.8405, allocations: 143.4 kB / 0.6227 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.8416, allocations: 470.8 kB / 0.6231 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.8416, allocations: 45.19 kB / 0.6232 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.8418, allocations: 51.95 kB / 0.6232 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.8434, allocations: 1.043 MB / 0.6243 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.8435, allocations: 4 kB / 0.6243 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.8435, allocations: 20 kB / 0.6243 GB, free: 340 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.8436, allocations: 12 kB / 0.6243 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.8446, allocations: 480.9 kB / 0.6247 GB, free: 15.85 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005013/0.8496, allocations: 1.575 MB / 0.6263 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.85, allocations: 126.6 kB / 0.6264 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.8501, allocations: 52.83 kB / 0.6265 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.8504, allocations: 47.95 kB / 0.6265 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.8504, allocations: 42.5 kB / 0.6265 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.8504, allocations: 0 / 0.6265 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006282/0.8511, allocations: 227.9 kB / 0.6268 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.8511, allocations: 55.41 kB / 0.6268 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.8524, allocations: 0.7643 MB / 0.6276 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.8524, allocations: 33.69 kB / 0.6276 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.8528, allocations: 407.6 kB / 0.628 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.8529, allocations: 59.48 kB / 0.628 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.8531, allocations: 90.08 kB / 0.6281 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002409/0.8534, allocations: 362.8 kB / 0.6285 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.8537, allocations: 134.8 kB / 0.6286 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.8541, allocations: 247 kB / 0.6288 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.8548, allocations: 348.7 kB / 0.6292 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.8548, allocations: 0 / 0.6292 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001041/0.8558, allocations: 448.7 kB / 0.6296 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.8558, allocations: 11.94 kB / 0.6296 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.8559, allocations: 8 kB / 0.6296 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.8559, allocations: 8 kB / 0.6296 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.8566, allocations: 112.4 kB / 0.6297 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005376/0.8571, allocations: 0.6056 MB / 0.6303 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.8577, allocations: 55.59 kB / 0.6304 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.8577, allocations: 23.98 kB / 0.6304 GB, free: 9.789 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004828/0.8582, allocations: 257.6 kB / 0.6306 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.8584, allocations: 59.61 kB / 0.6307 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.8589, allocations: 200.1 kB / 0.6309 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.8589, allocations: 4.094 kB / 0.6309 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8589, allocations: 4 kB / 0.6309 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.8589, allocations: 3.984 kB / 0.6309 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.8603, allocations: 0.6643 MB / 0.6315 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.8604, allocations: 4 kB / 0.6316 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.8607, allocations: 47.89 kB / 0.6316 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.8607, allocations: 4 kB / 0.6316 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.8607, allocations: 4 kB / 0.6316 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000484/0.8612, allocations: 0.6056 MB / 0.6322 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.8612, allocations: 7.969 kB / 0.6322 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.8618, allocations: 353.7 kB / 0.6325 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.862, allocations: 71.52 kB / 0.6326 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.8621, allocations: 15.92 kB / 0.6326 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.8626, allocations: 15.98 kB / 0.6326 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.8626, allocations: 11.98 kB / 0.6327 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.8627, allocations: 23.91 kB / 0.6327 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008727/0.8635, allocations: 0.5222 MB / 0.6332 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8635, allocations: 128 / 0.6332 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00101/0.8646, allocations: 239.4 kB / 0.6334 GB, free: 6.59 MB / 0.5294 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.8669, allocations: 0.5625 MB / 0.634 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007621/0.8676, allocations: 223.7 kB / 0.6342 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.8676, allocations: 1.125 kB / 0.6342 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.8678, allocations: 67.84 kB / 0.6342 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.869, allocations: 159.5 kB / 0.6344 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.8714, allocations: 1.167 MB / 0.6355 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.8719, allocations: 324.9 kB / 0.6358 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004189/0.8723, allocations: 104.2 kB / 0.6359 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.8724, allocations: 44.48 kB / 0.636 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.8725, allocations: 0 / 0.636 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of Templates: time 0.4554/1.328, allocations: 10.37 MB / 0.6461 GB, free: 167.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.036941998987459] Failed to read output from testmodel.py, exit status != 0: 1.3540142229758203 1.3642020750000001 0.524357265 Calling exit ...