Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.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.002024/0.002024, allocations: 74.89 kB / 21.28 MB, free: 0.5156 MB / 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.00245/0.00245, allocations: 164.8 kB / 24.55 MB, free: 3.805 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.419/1.419, allocations: 177.2 MB / 204.9 MB, free: 9.277 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.1394/0.1394, allocations: 19.72 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.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") translateModel(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") [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.002072/0.002072, allocations: 67.89 kB / 417.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2731, allocations: 60.45 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator): time 0.5087/0.7818, allocations: 202.1 MB / 0.6642 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.7919, allocations: 7.974 MB / 0.672 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.7932, allocations: 29.59 kB / 0.672 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.7952, allocations: 0.8745 MB / 0.6729 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.7984, allocations: 1.72 MB / 0.6746 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008007/0.8064, allocations: 3.978 MB / 0.6785 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005297/0.8117, allocations: 5.202 MB / 0.6835 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/0.8142, allocations: 1.704 MB / 0.6852 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004659/0.8188, allocations: 2.816 MB / 0.6879 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/0.8214, allocations: 1.69 MB / 0.6896 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006261/0.822, allocations: 311.1 kB / 0.6899 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/0.8274, allocations: 2.686 MB / 0.6925 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.8289, allocations: 1.665 MB / 0.6941 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.831, allocations: 1.687 MB / 0.6958 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007821/0.8388, allocations: 6.923 MB / 0.7026 GB, free: 72 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8388, allocations: 0 / 0.7026 GB, free: 72 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8388, allocations: 0 / 0.7026 GB, free: 72 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001031/0.8389, allocations: 0.5625 kB / 0.7026 GB, free: 72 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: 561 * Number of variables: 561 Notification: Performance of Generate backend data structure: time 0.007575/0.8465, allocations: 3.955 MB / 0.7064 GB, free: 14.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8465, allocations: 9.906 kB / 0.7064 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.8492, allocations: 0.6307 MB / 0.707 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.8527, allocations: 2.044 MB / 0.709 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.8528, allocations: 167.4 kB / 0.7092 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/0.8532, allocations: 222.9 kB / 0.7094 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006541/0.8597, allocations: 5.36 MB / 0.7146 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/0.8598, allocations: 3.469 kB / 0.7146 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/0.8601, allocations: 113.6 kB / 0.7148 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/0.8602, allocations: 81.94 kB / 0.7148 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/0.8642, allocations: 2.506 MB / 0.7173 GB, free: 8.441 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.01821/0.8824, allocations: 8.384 MB / 0.7255 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.884, allocations: 0.9582 MB / 0.7264 GB, free: 2.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.8854, allocations: 0.8539 MB / 0.7272 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/0.8862, allocations: 160 kB / 0.7274 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.731e-05/0.8863, allocations: 73.03 kB / 0.7275 GB, free: 1.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=106): time 4.308e-06/0.8863, allocations: 0 / 0.7275 GB, free: 1.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=119): time 0.01534/0.9016, allocations: 5.683 MB / 0.733 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.9018, allocations: 171.2 kB / 0.7332 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/0.9067, allocations: 3.221 MB / 0.7363 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000356/0.9071, allocations: 61.7 kB / 0.7364 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.9084, allocations: 1.44 MB / 0.7378 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/0.9089, allocations: 450.7 kB / 0.7382 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005579/0.9094, allocations: 287.5 kB / 0.7385 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9096, allocations: 301.1 kB / 0.7388 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.911, allocations: 0.8256 MB / 0.7396 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.9128, allocations: 1.242 MB / 0.7408 GB, free: 4.809 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.01907/0.9318, allocations: 5.616 MB / 0.7463 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.9318, allocations: 11.94 kB / 0.7463 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005014/0.9368, allocations: 2.643 MB / 0.7489 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.9369, allocations: 8 kB / 0.7489 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.9369, allocations: 11.94 kB / 0.7489 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005495/0.9424, allocations: 1.192 MB / 0.7501 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.944, allocations: 311.5 kB / 0.7503 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.9482, allocations: 3.715 MB / 0.754 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.95, allocations: 67.91 kB / 0.754 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.9502, allocations: 83.98 kB / 0.7541 GB, free: 7.09 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.00291/0.9531, allocations: 1.636 MB / 0.7557 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001745/0.9549, allocations: 1.235 MB / 0.7569 GB, free: 4.066 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.01708/0.972, allocations: 5.48 MB / 0.7623 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.238e-05/0.972, allocations: 4 kB / 0.7623 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.005403/0.9774, allocations: 2.616 MB / 0.7648 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9774, allocations: 8 kB / 0.7648 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.9774, allocations: 8 kB / 0.7649 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00357/0.981, allocations: 0.9688 MB / 0.7658 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.9827, allocations: 331.6 kB / 0.7661 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.9873, allocations: 4.785 MB / 0.7708 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.989, allocations: 63.95 kB / 0.7708 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.9892, allocations: 91.97 kB / 0.7709 GB, free: 5.598 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: 37 * 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 (145): * Single equations (assignments): 141 * 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 {(12,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006332/0.9899, allocations: 272.2 kB / 0.7712 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000796/0.9907, allocations: 254.5 kB / 0.7714 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.9951, allocations: 2.106 MB / 0.7735 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.9952, allocations: 8.078 kB / 0.7735 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9952, allocations: 3.938 kB / 0.7735 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/0.9967, allocations: 0.5567 MB / 0.774 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004437/0.9972, allocations: 39.98 kB / 0.7741 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.9989, allocations: 99.91 kB / 0.7742 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.9991, allocations: 84.83 kB / 0.7743 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005192/1.004, allocations: 2.151 MB / 0.7764 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004513/1.009, allocations: 2.705 MB / 0.779 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00118/1.01, allocations: 0.7427 MB / 0.7797 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003383/1.013, allocations: 2.257 MB / 0.7819 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of Backend: time 3.21e-07/1.013, allocations: 4 kB / 0.7819 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.012/1.025, allocations: 4.332 MB / 0.7862 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01074/1.036, allocations: 6.593 MB / 0.7926 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.1105/1.147, allocations: 68.94 MB / 0.8599 GB, free: 11.1 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 243.74172075500246] Failed to read output from testmodel.py, exit status != 0: 1.156246887985617 1.171730795 0.32952964700000004 Calling exit ...