Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001341/0.001341, allocations: 79.2 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.001438/0.001438, allocations: 163.8 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.464/1.464, allocations: 177.2 MB / 204.9 MB, free: 9.273 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.1404/0.1404, 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.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [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.002113/0.002113, allocations: 67.91 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2683, allocations: 60.46 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003498/0.2718, allocations: 2.105 MB / 480.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.273, allocations: 0.5982 MB / 480.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.2731, allocations: 6.781 kB / 480.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.2733, allocations: 26.31 kB / 480.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.2736, allocations: 79.41 kB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.2737, allocations: 47.66 kB / 480.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.2741, allocations: 247.7 kB / 481.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2742, allocations: 34.69 kB / 481.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2745, allocations: 157.5 kB / 481.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2747, allocations: 89.39 kB / 481.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.2747, allocations: 15.84 kB / 481.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.2748, allocations: 21.56 kB / 481.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.2749, allocations: 44.42 kB / 481.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.275, allocations: 87.19 kB / 481.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.2754, allocations: 202.7 kB / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2754, allocations: 1.25 kB / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2754, allocations: 0 / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2754, allocations: 0 / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009687/0.2763, allocations: 473.4 kB / 482.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2764, allocations: 8.312 kB / 482.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.2765, allocations: 29.2 kB / 482.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.2768, allocations: 200.6 kB / 482.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2769, allocations: 10.38 kB / 482.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.2769, allocations: 17.52 kB / 482.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.2772, allocations: 157.4 kB / 482.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2772, allocations: 5.594 kB / 482.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.2773, allocations: 5.438 kB / 482.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2773, allocations: 2.562 kB / 482.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.2775, allocations: 102.9 kB / 482.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.2784, allocations: 494.9 kB / 483.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.2787, allocations: 114.1 kB / 483.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.2788, allocations: 69.2 kB / 483.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.2788, allocations: 3.156 kB / 483.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2789, allocations: 35.44 kB / 483.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.2789, allocations: 0 / 483.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001116/0.28, allocations: 495.9 kB / 484 MB, free: 11.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.28, allocations: 57.81 kB / 484 MB, free: 11.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.2803, allocations: 229.1 kB / 484.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2803, allocations: 27.02 kB / 484.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2804, allocations: 142.8 kB / 484.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.2805, allocations: 67.2 kB / 484.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.2806, allocations: 38.55 kB / 484.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2807, allocations: 332.3 kB / 484.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2809, allocations: 52.12 kB / 484.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.281, allocations: 74.92 kB / 485 MB, free: 10.19 MB / 382.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.2822, allocations: 346.7 kB / 485.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2822, allocations: 0 / 485.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003753/0.2825, allocations: 197.2 kB / 485.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2826, allocations: 5.406 kB / 485.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2826, allocations: 4.906 kB / 485.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2826, allocations: 0.9688 kB / 485.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.2829, allocations: 61.27 kB / 485.6 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2829, allocations: 5.219 kB / 485.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.283, allocations: 13.56 kB / 485.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.283, allocations: 8.562 kB / 485.6 MB, free: 9.871 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.2832, allocations: 138.7 kB / 485.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.2832, allocations: 22.27 kB / 485.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.2833, allocations: 31.12 kB / 485.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2833, allocations: 3.984 kB / 485.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2833, allocations: 0 / 485.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.2834, allocations: 31.06 kB / 485.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2834, allocations: 10.47 kB / 485.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.2835, allocations: 11.77 kB / 485.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.2836, allocations: 7.828 kB / 485.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006517/0.2842, allocations: 280.5 kB / 486.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005757/0.2848, allocations: 423.1 kB / 486.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001365/0.285, allocations: 56.34 kB / 486.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.2851, allocations: 166.3 kB / 486.8 MB, free: 8.996 MB / 382.1 MB Notification: Performance of Backend: time 4e-07/0.2851, allocations: 0 / 486.8 MB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.2857, allocations: 163.6 kB / 486.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of SimCode: time 0.001224/0.2869, allocations: 1.017 MB / 487.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of Templates: time 0.006434/0.2933, allocations: 2.448 MB / 490.4 MB, free: 5.715 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.583017823053524] Failed to read output from testmodel.py, exit status != 0: 0.30191429797559977 0.31716771600000004 0.03857142 Calling exit ...