Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001318/0.001318, allocations: 77.86 kB / 21.29 MB, free: 0.5273 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.001411/0.001411, allocations: 157.8 kB / 24.54 MB, free: 3.832 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.417/1.417, allocations: 177.2 MB / 204.9 MB, free: 9.289 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.1376/0.1376, allocations: 19.71 MB / 281 MB, free: 13.06 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [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.002137/0.002137, allocations: 71.84 kB / 417.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2634, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003515/0.2669, allocations: 2.189 MB / 480.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2681, allocations: 0.621 MB / 480.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2682, allocations: 2.688 kB / 480.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2684, allocations: 42.03 kB / 480.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.2686, allocations: 88.59 kB / 481 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.2688, allocations: 57.89 kB / 481.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.2692, allocations: 283 kB / 481.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2693, allocations: 51.16 kB / 481.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.2696, allocations: 180.7 kB / 481.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.2698, allocations: 113.9 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.2698, allocations: 18.09 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.2699, allocations: 21.25 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.2699, allocations: 46.72 kB / 481.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.27, allocations: 99.25 kB / 481.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.2704, allocations: 235.6 kB / 482.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2704, allocations: 1.469 kB / 482.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2704, allocations: 0 / 482.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2704, allocations: 3.938 kB / 482.1 MB, free: 12.57 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009647/0.2713, allocations: 0.5012 MB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2714, allocations: 8.844 kB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.2715, allocations: 35.42 kB / 482.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.2719, allocations: 202.3 kB / 482.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.2719, allocations: 73.14 kB / 482.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.272, allocations: 19.91 kB / 482.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.2723, allocations: 180.2 kB / 483.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2724, allocations: 3.953 kB / 483.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2724, allocations: 6.938 kB / 483.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2724, allocations: 3.438 kB / 483.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.2727, allocations: 129.3 kB / 483.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.2736, allocations: 0.5293 MB / 483.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.274, allocations: 143 kB / 483.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.2742, allocations: 75.55 kB / 484 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2742, allocations: 2.438 kB / 484 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2742, allocations: 31.94 kB / 484 MB, free: 11.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2742, allocations: 0 / 484 MB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001153/0.2754, allocations: 0.5112 MB / 484.5 MB, free: 10.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2754, allocations: 61.78 kB / 484.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.2757, allocations: 236.4 kB / 484.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2757, allocations: 30.92 kB / 484.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.2758, allocations: 158.7 kB / 485 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.2759, allocations: 67.23 kB / 485.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.276, allocations: 45.11 kB / 485.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2761, allocations: 336.5 kB / 485.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2763, allocations: 54.94 kB / 485.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.2764, allocations: 87.8 kB / 485.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.2767, allocations: 142.2 kB / 485.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2767, allocations: 0 / 485.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004125/0.2771, allocations: 207.6 kB / 485.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2772, allocations: 9.359 kB / 485.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2772, allocations: 1.219 kB / 485.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2772, allocations: 1.031 kB / 485.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.2776, allocations: 81.55 kB / 486 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2776, allocations: 5.062 kB / 486 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2778, allocations: 5.594 kB / 486 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2778, allocations: 16.53 kB / 486 MB, free: 9.535 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001415/0.2779, allocations: 134.4 kB / 486.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.278, allocations: 26.27 kB / 486.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.278, allocations: 28.66 kB / 486.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.278, allocations: 7.969 kB / 486.2 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.278, allocations: 0 / 486.2 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.2781, allocations: 31.61 kB / 486.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.2782, allocations: 5.438 kB / 486.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2783, allocations: 13.08 kB / 486.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.2784, allocations: 20.22 kB / 486.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007898/0.2792, allocations: 296.4 kB / 486.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006468/0.2798, allocations: 444.6 kB / 487 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001532/0.28, allocations: 64.41 kB / 487.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.2801, allocations: 169.3 kB / 487.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of Backend: time 6.11e-07/0.2801, allocations: 0 / 487.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.2807, allocations: 167.4 kB / 487.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of SimCode: time 0.001457/0.2822, allocations: 1.094 MB / 488.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of Templates: time 0.006843/0.289, allocations: 2.646 MB / 491.2 MB, free: 4.934 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5601093580480665] Failed to read output from testmodel.py, exit status != 0: 0.2976016990141943 0.31297336000000003 0.039291892 Calling exit ...