Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001352/0.001352, allocations: 78.02 kB / 21.28 MB, free: 0.5312 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.001505/0.001505, allocations: 160.5 kB / 24.55 MB, free: 3.828 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.548/1.548, 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.1404/0.1404, allocations: 19.71 MB / 281 MB, free: 13.07 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [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.002092/0.002092, allocations: 71.91 kB / 417.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2635, allocations: 60.45 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003533/0.2671, allocations: 2.178 MB / 480.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2682, allocations: 0.6341 MB / 480.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2683, allocations: 2.875 kB / 480.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.2685, allocations: 37.44 kB / 480.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.2687, allocations: 76.16 kB / 481 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.2689, allocations: 62.06 kB / 481 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.2692, allocations: 270.5 kB / 481.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.2693, allocations: 46.58 kB / 481.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.2696, allocations: 178.6 kB / 481.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2698, allocations: 101.2 kB / 481.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.2698, allocations: 17.78 kB / 481.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.2699, allocations: 24.25 kB / 481.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.2699, allocations: 49.19 kB / 481.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.27, allocations: 91.91 kB / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.2703, allocations: 235.1 kB / 482 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2703, allocations: 3.938 kB / 482 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2703, allocations: 0 / 482 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2703, allocations: 3.938 kB / 482 MB, free: 12.61 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009225/0.2712, allocations: 493.5 kB / 482.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2713, allocations: 9.625 kB / 482.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.2714, allocations: 34.28 kB / 482.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2717, allocations: 210.3 kB / 482.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2718, allocations: 10.38 kB / 482.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.2718, allocations: 19.94 kB / 482.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.2721, allocations: 177.9 kB / 483 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.2722, allocations: 3.984 kB / 483 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.2722, allocations: 5.875 kB / 483 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2722, allocations: 3.844 kB / 483 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.2725, allocations: 123.3 kB / 483.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.2734, allocations: 0.5183 MB / 483.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.2736, allocations: 127.6 kB / 483.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2738, allocations: 68.64 kB / 483.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2738, allocations: 6.406 kB / 483.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2739, allocations: 35.94 kB / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.2739, allocations: 0 / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001044/0.2749, allocations: 497.8 kB / 484.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2749, allocations: 53.84 kB / 484.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.2752, allocations: 232.2 kB / 484.6 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2752, allocations: 30.92 kB / 484.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2753, allocations: 147.8 kB / 484.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.2754, allocations: 63.38 kB / 484.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2755, allocations: 43.67 kB / 484.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2756, allocations: 332.7 kB / 485.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2758, allocations: 56.58 kB / 485.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.2759, allocations: 78.22 kB / 485.4 MB, free: 9.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.2762, allocations: 125.9 kB / 485.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2762, allocations: 0 / 485.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003601/0.2765, allocations: 199.8 kB / 485.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2766, allocations: 5.938 kB / 485.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2766, allocations: 0 / 485.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2766, allocations: 6.5 kB / 485.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.277, allocations: 71.31 kB / 485.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.2782, allocations: 1.316 MB / 487.1 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.2783, allocations: 16.12 kB / 487.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2783, allocations: 9.562 kB / 487.1 MB, free: 8.363 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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.0001312/0.2784, allocations: 134.4 kB / 487.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.2785, allocations: 26.56 kB / 487.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.2789, allocations: 181.1 kB / 487.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2789, allocations: 1.188 kB / 487.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2789, allocations: 0 / 487.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.2789, allocations: 50.97 kB / 487.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.279, allocations: 6.25 kB / 487.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2791, allocations: 8.281 kB / 487.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.2792, allocations: 15.91 kB / 487.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006239/0.2798, allocations: 274.6 kB / 487.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000574/0.2804, allocations: 432.5 kB / 488.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000133/0.2805, allocations: 62.25 kB / 488.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.2807, allocations: 168.5 kB / 488.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.2807, allocations: 0 / 488.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.2814, allocations: 185.6 kB / 488.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of SimCode: time 0.001381/0.2828, allocations: 1.103 MB / 489.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of Templates: time 0.006781/0.2895, allocations: 2.838 MB / 492.6 MB, free: 3.441 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.671366596943699] Failed to read output from testmodel.py, exit status != 0: 0.29792214196641 0.312956899 0.039462051000000005 Calling exit ...