Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.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.001723/0.001723, allocations: 79.44 kB / 21.28 MB, free: 380 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.001574/0.001574, allocations: 163.7 kB / 24.54 MB, free: 3.586 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.394/1.394, allocations: 177.2 MB / 204.9 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] 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.1389/0.1389, allocations: 19.71 MB / 281 MB, free: 13.05 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.Examples.BraytonCycle.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator") translateModel(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator") [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.002096/0.002096, allocations: 74.86 kB / 417.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2745, allocations: 60.45 MB / 478 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator): time 0.5006/0.7751, allocations: 202.3 MB / 0.6644 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.7853, allocations: 8.055 MB / 0.6723 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.7868, allocations: 32.69 kB / 0.6723 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.7887, allocations: 0.8824 MB / 0.6732 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.7921, allocations: 1.738 MB / 0.6749 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007919/0.8, allocations: 4.017 MB / 0.6788 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005005/0.805, allocations: 5.31 MB / 0.684 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.8074, allocations: 1.75 MB / 0.6857 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.812, allocations: 2.873 MB / 0.6885 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.8144, allocations: 1.729 MB / 0.6902 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005103/0.8149, allocations: 328.5 kB / 0.6905 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/0.8198, allocations: 2.69 MB / 0.6931 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.8213, allocations: 1.687 MB / 0.6948 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.8234, allocations: 1.728 MB / 0.6965 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007788/0.8312, allocations: 7.007 MB / 0.7033 GB, free: 44 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8312, allocations: 0 / 0.7033 GB, free: 44 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8312, allocations: 1.094 kB / 0.7033 GB, free: 44 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001078/0.8313, allocations: 0 / 0.7033 GB, free: 44 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.007949/0.8393, allocations: 4.074 MB / 0.7073 GB, free: 14.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8393, allocations: 13.97 kB / 0.7073 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.8421, allocations: 0.634 MB / 0.7079 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.8457, allocations: 2.076 MB / 0.7099 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.8458, allocations: 198.7 kB / 0.7101 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.8462, allocations: 238.2 kB / 0.7104 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00658/0.8528, allocations: 5.432 MB / 0.7157 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.741e-05/0.8528, allocations: 7.047 kB / 0.7157 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/0.8531, allocations: 111.9 kB / 0.7158 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/0.8532, allocations: 89.48 kB / 0.7159 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.8573, allocations: 2.584 MB / 0.7184 GB, free: 7.809 MB / 0.545 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.01747/0.8748, allocations: 8.639 MB / 0.7268 GB, free: 2.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.8766, allocations: 1.047 MB / 0.7278 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.8781, allocations: 0.8853 MB / 0.7287 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/0.8788, allocations: 164.8 kB / 0.7289 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.8788, allocations: 65.25 kB / 0.7289 GB, free: 1.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=114): time 3.497e-06/0.8788, allocations: 0 / 0.7289 GB, free: 1.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=127): time 0.01552/0.8944, allocations: 5.918 MB / 0.7347 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.8945, allocations: 167.5 kB / 0.7349 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.899, allocations: 3.284 MB / 0.7381 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.8993, allocations: 66.47 kB / 0.7381 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.9006, allocations: 1.464 MB / 0.7396 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.901, allocations: 482.7 kB / 0.74 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005932/0.9016, allocations: 307.5 kB / 0.7403 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9018, allocations: 305.9 kB / 0.7406 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.9033, allocations: 0.8529 MB / 0.7414 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.9051, allocations: 1.304 MB / 0.7427 GB, free: 3.012 MB / 0.5606 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: plant.grid.f = plant.grid.fnom (0.15915494309189535 * plant.generator.omega_e_nom = plant.grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/0.9245, allocations: 5.867 MB / 0.7484 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.9245, allocations: 7.094 kB / 0.7485 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005368/0.9298, allocations: 2.842 MB / 0.7512 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.9299, allocations: 10.19 kB / 0.7512 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.9299, allocations: 12.06 kB / 0.7512 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006607/0.9365, allocations: 1.514 MB / 0.7527 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.9378, allocations: 294.6 kB / 0.753 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.9429, allocations: 4.062 MB / 0.757 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.9447, allocations: 75.88 kB / 0.757 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.9449, allocations: 87.98 kB / 0.7571 GB, free: 4.172 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: plant.grid.f = plant.grid.fnom. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003053/0.9479, allocations: 1.671 MB / 0.7588 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001819/0.9497, allocations: 1.311 MB / 0.76 GB, free: 1.023 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: plant.grid.f = plant.grid.fnom (0.15915494309189535 * plant.generator.omega_e_nom = plant.grid.fnom) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01769/0.9674, allocations: 5.701 MB / 0.7656 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.167e-06/0.9674, allocations: 0 / 0.7656 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.005624/0.9731, allocations: 2.753 MB / 0.7683 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.9731, allocations: 8 kB / 0.7683 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.9731, allocations: 15.94 kB / 0.7683 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/0.9767, allocations: 0.9655 MB / 0.7693 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.9785, allocations: 370.6 kB / 0.7696 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/0.9834, allocations: 4.777 MB / 0.7743 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.9852, allocations: 72.12 kB / 0.7744 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.9854, allocations: 87.98 kB / 0.7744 GB, free: 2.156 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: plant.grid.f = plant.grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 (pID.TS_int) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,45)} Notification: Performance of prepare postOptimizeDAE: time 0.0006606/0.9861, allocations: 291.9 kB / 0.7747 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006289/0.9867, allocations: 266.4 kB / 0.775 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.9914, allocations: 2.195 MB / 0.7771 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.9914, allocations: 7.969 kB / 0.7771 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9914, allocations: 0 / 0.7771 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.9929, allocations: 0.5723 MB / 0.7777 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.9932, allocations: 36 kB / 0.7777 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.9949, allocations: 107.9 kB / 0.7778 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.9951, allocations: 93.12 kB / 0.7779 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005619/1.001, allocations: 2.241 MB / 0.7801 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004926/1.006, allocations: 2.857 MB / 0.7829 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001436/1.007, allocations: 0.7794 MB / 0.7836 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003541/1.011, allocations: 2.294 MB / 0.7859 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of Backend: time 3.41e-07/1.011, allocations: 4 kB / 0.7859 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01309/1.024, allocations: 4.531 MB / 0.7903 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01148/1.035, allocations: 6.732 MB / 0.7969 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of Templates: time 0.1128/1.148, allocations: 70.56 MB / 0.8658 GB, free: 5.277 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 253.5913748309249] Failed to read output from testmodel.py, exit status != 0: 1.1578372180229053 1.1739803229999999 0.33923271299999996 Calling exit ...