Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001774/0.001774, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002194/0.002194, allocations: 210.1 kB / 24.49 MB, free: 4.145 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.1447/0.1447, allocations: 26.82 MB / 341.5 MB, free: 8.199 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [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.002033/0.002033, allocations: 71.89 kB / 478.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3045, allocations: 60.49 MB / 0.5259 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003157/0.3076, allocations: 2.684 MB / 0.5286 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3087, allocations: 0.7541 MB / 0.5293 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.3089, allocations: 8.281 kB / 0.5293 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.309, allocations: 41.41 kB / 0.5293 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.3093, allocations: 126.6 kB / 0.5295 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.3094, allocations: 85.55 kB / 0.5295 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.3098, allocations: 401.9 kB / 0.5299 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3099, allocations: 64.19 kB / 0.53 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.3101, allocations: 163.6 kB / 0.5301 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.3103, allocations: 160.3 kB / 0.5303 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.3104, allocations: 24.62 kB / 0.5303 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.3105, allocations: 32.22 kB / 0.5304 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.3105, allocations: 72.28 kB / 0.5304 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3106, allocations: 171.4 kB / 0.5306 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.311, allocations: 329.9 kB / 0.5309 GB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.311, allocations: 0 / 0.5309 GB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.311, allocations: 0.5625 kB / 0.5309 GB, free: 6.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.311, allocations: 0.6562 kB / 0.5309 GB, free: 6.492 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009711/0.312, allocations: 0.6039 MB / 0.5315 GB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.312, allocations: 9.625 kB / 0.5315 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3121, allocations: 48.84 kB / 0.5315 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.3125, allocations: 262.1 kB / 0.5318 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3126, allocations: 18.41 kB / 0.5318 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.3126, allocations: 33.36 kB / 0.5318 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.313, allocations: 244.7 kB / 0.5321 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3131, allocations: 0.7188 kB / 0.5321 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.3131, allocations: 6.25 kB / 0.5321 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3131, allocations: 5.594 kB / 0.5321 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3134, allocations: 180.9 kB / 0.5323 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.3144, allocations: 0.7969 MB / 0.533 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.3147, allocations: 179.9 kB / 0.5332 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.3149, allocations: 99.56 kB / 0.5333 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3149, allocations: 4.672 kB / 0.5333 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.315, allocations: 35.91 kB / 0.5333 GB, free: 4.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.315, allocations: 0 / 0.5333 GB, free: 4.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001184/0.3161, allocations: 0.6755 MB / 0.534 GB, free: 4.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.3162, allocations: 62.53 kB / 0.5341 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.3164, allocations: 297.1 kB / 0.5343 GB, free: 4.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3164, allocations: 31.08 kB / 0.5344 GB, free: 4.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.3165, allocations: 185.5 kB / 0.5346 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.3166, allocations: 98.97 kB / 0.5347 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.3166, allocations: 54.84 kB / 0.5347 GB, free: 3.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.3167, allocations: 340 kB / 0.535 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3168, allocations: 75.69 kB / 0.5351 GB, free: 3.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.317, allocations: 116 kB / 0.5352 GB, free: 3.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3173, allocations: 194 kB / 0.5354 GB, free: 3.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3173, allocations: 1.094 kB / 0.5354 GB, free: 3.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005683/0.3179, allocations: 321.5 kB / 0.5357 GB, free: 3.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3179, allocations: 9.422 kB / 0.5357 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3179, allocations: 0 / 0.5357 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.3181, allocations: 60.39 kB / 0.5358 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.3185, allocations: 79.42 kB / 0.5358 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.3201, allocations: 2.835 MB / 0.5386 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3203, allocations: 21.34 kB / 0.5386 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3203, allocations: 14.56 kB / 0.5386 GB, free: 480 kB / 382.1 MB 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.3204, allocations: 139.1 kB / 0.5388 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.3205, allocations: 31.95 kB / 0.5388 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.3209, allocations: 261.3 kB / 0.5391 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3209, allocations: 2.875 kB / 0.5391 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3209, allocations: 1.906 kB / 0.5391 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3209, allocations: 1.453 kB / 0.5391 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/0.3218, allocations: 0.6398 MB / 0.5397 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3218, allocations: 1.062 kB / 0.5397 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3221, allocations: 62.23 kB / 0.5398 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.3221, allocations: 5.453 kB / 0.5398 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3222, allocations: 14.14 kB / 0.5398 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3222, allocations: 1.562 kB / 0.5398 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3222, allocations: 4.609 kB / 0.5398 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.3228, allocations: 446 kB / 0.5402 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3229, allocations: 42.28 kB / 0.5402 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3229, allocations: 11.52 kB / 0.5403 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3231, allocations: 12.66 kB / 0.5403 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.3232, allocations: 18.67 kB / 0.5403 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3232, allocations: 10.05 kB / 0.5403 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3234, allocations: 215.2 kB / 0.5405 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3234, allocations: 0 / 0.5405 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.3238, allocations: 70.94 kB / 0.5406 GB, free: 15.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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.0001076/0.3239, allocations: 100.3 kB / 0.5407 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.3247, allocations: 356.4 kB / 0.541 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3247, allocations: 0 / 0.541 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.3249, allocations: 104.1 kB / 0.5411 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.3253, allocations: 54.92 kB / 0.5412 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3269, allocations: 0.9464 MB / 0.5421 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3274, allocations: 0.7835 MB / 0.5428 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.3275, allocations: 30.02 kB / 0.5429 GB, free: 13.63 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3275, allocations: 0 / 0.5429 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Templates: time 0.007547/0.335, allocations: 4.8 MB / 0.5476 GB, free: 11.4 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.167610117001459] Failed to read output from testmodel.py, exit status != 0: 0.34366092295385897 0.35745266 0.043528517 Calling exit ...