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.00133/0.00133, allocations: 77.78 kB / 21.27 MB, free: 0.5352 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.001435/0.001435, allocations: 165.9 kB / 24.54 MB, free: 3.836 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.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.281 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.1385/0.1385, 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.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.002048/0.002048, allocations: 80.06 kB / 417.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2485, allocations: 60.44 MB / 478 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003443/0.252, allocations: 2.189 MB / 480.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2531, allocations: 0.6299 MB / 480.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2532, allocations: 3 kB / 480.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.2533, allocations: 38.09 kB / 480.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.2536, allocations: 81.11 kB / 481 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.2537, allocations: 56.89 kB / 481 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.2541, allocations: 270.6 kB / 481.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2542, allocations: 49.94 kB / 481.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.2545, allocations: 170.6 kB / 481.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2547, allocations: 109.7 kB / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.2547, allocations: 17.56 kB / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.2548, allocations: 24.75 kB / 481.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.2548, allocations: 49.28 kB / 481.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.255, allocations: 91.97 kB / 481.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.2553, allocations: 230 kB / 482 MB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2553, allocations: 0 / 482 MB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2553, allocations: 0.5625 kB / 482 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2553, allocations: 0 / 482 MB, free: 12.6 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.0009366/0.2562, allocations: 0.49 MB / 482.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2562, allocations: 10.56 kB / 482.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2564, allocations: 30.84 kB / 482.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.2567, allocations: 212.8 kB / 482.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2567, allocations: 18.62 kB / 482.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.2568, allocations: 16.16 kB / 482.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.2571, allocations: 177.8 kB / 483 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2571, allocations: 0 / 483 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2572, allocations: 6.844 kB / 483 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2572, allocations: 2.781 kB / 483 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.2574, allocations: 115.1 kB / 483.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.2584, allocations: 0.5194 MB / 483.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.2586, allocations: 135.9 kB / 483.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.2588, allocations: 67.27 kB / 483.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2588, allocations: 6.094 kB / 483.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.2588, allocations: 33 kB / 483.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.2588, allocations: 0 / 483.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.00105/0.2599, allocations: 0.4886 MB / 484.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2599, allocations: 53.91 kB / 484.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.2602, allocations: 233.7 kB / 484.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.2602, allocations: 31.2 kB / 484.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2603, allocations: 146.7 kB / 484.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.2604, allocations: 64.09 kB / 484.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.2604, allocations: 43.45 kB / 484.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2606, allocations: 332.5 kB / 485.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2607, allocations: 63.95 kB / 485.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2609, allocations: 69.81 kB / 485.4 MB, free: 9.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.2611, allocations: 126.5 kB / 485.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2611, allocations: 3.938 kB / 485.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003663/0.2615, allocations: 200.5 kB / 485.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2615, allocations: 8 kB / 485.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2615, allocations: 5.094 kB / 485.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2615, allocations: 1.219 kB / 485.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.2619, allocations: 67.45 kB / 485.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.2631, allocations: 1.317 MB / 487.1 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.2633, allocations: 16.55 kB / 487.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2633, allocations: 8.562 kB / 487.1 MB, free: 8.348 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.0001281/0.2634, allocations: 134.9 kB / 487.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.2635, allocations: 21.33 kB / 487.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.2638, allocations: 183.5 kB / 487.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2639, allocations: 2.125 kB / 487.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2639, allocations: 3.938 kB / 487.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2639, allocations: 0 / 487.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006971/0.2646, allocations: 467.1 kB / 487.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2646, allocations: 0 / 487.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.2648, allocations: 45.25 kB / 487.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2648, allocations: 1.062 kB / 487.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2648, allocations: 6.094 kB / 487.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2648, allocations: 1.219 kB / 487.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2648, allocations: 0 / 487.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.2653, allocations: 346.9 kB / 488.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.2654, allocations: 31.58 kB / 488.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.2654, allocations: 14.03 kB / 488.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2656, allocations: 7.25 kB / 488.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.2656, allocations: 17.31 kB / 488.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.2656, allocations: 3.25 kB / 488.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.2658, allocations: 168.1 kB / 488.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2658, allocations: 0 / 488.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.2661, allocations: 47.56 kB / 488.6 MB, free: 7.281 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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.0001031/0.2662, allocations: 98.62 kB / 488.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.2667, allocations: 160.8 kB / 488.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2667, allocations: 0 / 488.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2668, allocations: 67.91 kB / 488.9 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2672, allocations: 48.14 kB / 488.9 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2684, allocations: 0.6709 MB / 489.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2686, allocations: 143 kB / 489.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.231e-05/0.2687, allocations: 25.62 kB / 489.8 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.2687, allocations: 20.5 kB / 489.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2687, allocations: 0 / 489.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of Templates: time 0.006186/0.2749, allocations: 2.435 MB / 492.2 MB, free: 3.695 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.423030641977675] Failed to read output from testmodel.py, exit status != 0: 0.28339236497413367 0.29820303200000003 0.039687744000000004 Calling exit ...