Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001325/0.001325, allocations: 78.8 kB / 21.27 MB, free: 388 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.001371/0.001371, allocations: 163.4 kB / 24.53 MB, free: 3.59 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.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 9.285 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.1387/0.1387, 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [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.002089/0.002089, allocations: 71.89 kB / 417.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2476, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004297/0.2519, allocations: 2.92 MB / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2534, allocations: 0.7863 MB / 481.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.2536, allocations: 10.38 kB / 481.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.2538, allocations: 62.5 kB / 481.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.2542, allocations: 151.3 kB / 482 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.2544, allocations: 126.4 kB / 482.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.255, allocations: 0.5191 MB / 482.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.2552, allocations: 99.98 kB / 482.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.2556, allocations: 324.7 kB / 483 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.2559, allocations: 200.5 kB / 483.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.256, allocations: 35.38 kB / 483.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.2561, allocations: 46.31 kB / 483.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2562, allocations: 96.62 kB / 483.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2564, allocations: 185.7 kB / 483.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.2569, allocations: 445.3 kB / 484 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2569, allocations: 1.031 kB / 484 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2569, allocations: 0 / 484 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2569, allocations: 4 kB / 484 MB, free: 11.13 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001461/0.2584, allocations: 0.7355 MB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2584, allocations: 8.781 kB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.2585, allocations: 55.95 kB / 484.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.2591, allocations: 308 kB / 485.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2591, allocations: 30.91 kB / 485.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.2592, allocations: 39.45 kB / 485.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.2597, allocations: 322.8 kB / 485.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2597, allocations: 1.031 kB / 485.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.2597, allocations: 15.3 kB / 485.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2598, allocations: 7.625 kB / 485.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.2602, allocations: 211.9 kB / 485.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.2619, allocations: 0.97 MB / 486.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.2624, allocations: 256.8 kB / 487 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.2627, allocations: 116.8 kB / 487.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.2627, allocations: 3.375 kB / 487.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2627, allocations: 33.09 kB / 487.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.2627, allocations: 1.094 kB / 487.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002143/0.2649, allocations: 0.8785 MB / 488 MB, free: 8.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2649, allocations: 55.41 kB / 488 MB, free: 8.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.2653, allocations: 373.6 kB / 488.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.2654, allocations: 33.7 kB / 488.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.2655, allocations: 220.9 kB / 488.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.2657, allocations: 134.8 kB / 488.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2658, allocations: 74.14 kB / 488.9 MB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.266, allocations: 354.7 kB / 489.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2662, allocations: 92.95 kB / 489.3 MB, free: 6.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2664, allocations: 145.2 kB / 489.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.2668, allocations: 260 kB / 489.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2668, allocations: 0 / 489.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005927/0.2674, allocations: 341.1 kB / 490 MB, free: 6.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2675, allocations: 11.98 kB / 490 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2675, allocations: 128 / 490 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2675, allocations: 8 kB / 490 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.2682, allocations: 143.8 kB / 490.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.2695, allocations: 1.319 MB / 491.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.2697, allocations: 16.22 kB / 491.5 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.2697, allocations: 19.92 kB / 491.5 MB, free: 4.414 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * 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.0001811/0.2699, allocations: 149.8 kB / 491.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.27, allocations: 47.66 kB / 491.7 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005851/0.2706, allocations: 325.5 kB / 492.1 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2706, allocations: 4 kB / 492.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.2706, allocations: 0 / 492.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2706, allocations: 3.984 kB / 492.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2717, allocations: 0.6591 MB / 492.7 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2717, allocations: 7.984 kB / 492.7 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.2721, allocations: 79.91 kB / 492.8 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2721, allocations: 0 / 492.8 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.2722, allocations: 11.98 kB / 492.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2722, allocations: 0 / 492.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2722, allocations: 3.938 kB / 492.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.273, allocations: 0.5128 MB / 493.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2731, allocations: 63.67 kB / 493.4 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.2731, allocations: 12 kB / 493.4 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.2734, allocations: 4 kB / 493.4 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.2734, allocations: 23.95 kB / 493.4 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2735, allocations: 8 kB / 493.4 MB, free: 2.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002997/0.2738, allocations: 263.2 kB / 493.7 MB, free: 2.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2738, allocations: 0 / 493.7 MB, free: 2.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.2741, allocations: 84 kB / 493.8 MB, free: 2.098 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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 Backend phase and start with SimCode phase: time 0.0001152/0.2742, allocations: 102.4 kB / 493.9 MB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006846/0.2749, allocations: 275.9 kB / 494.2 MB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2749, allocations: 0 / 494.2 MB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.2751, allocations: 123.8 kB / 494.3 MB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.2757, allocations: 92.77 kB / 494.4 MB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.2777, allocations: 1.122 MB / 495.5 MB, free: 372 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2779, allocations: 227.8 kB / 495.7 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.2781, allocations: 47.25 kB / 495.8 MB, free: 72 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2782, allocations: 32.5 kB / 495.8 MB, free: 40 kB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2782, allocations: 0 / 495.8 MB, free: 40 kB / 382.1 MB Notification: Performance of Templates: time 0.00961/0.2878, allocations: 4.412 MB / 0.4885 GB, free: 11.68 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5169905360089615] Failed to read output from testmodel.py, exit status != 0: 0.29636933095753193 0.31096751799999994 0.050998965 Calling exit ...