Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001832/0.001832, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002239/0.002239, allocations: 213.8 kB / 23.74 MB, free: 4.688 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.1501/0.1501, allocations: 26.83 MB / 340.7 MB, free: 8.23 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [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.002087/0.002087, allocations: 67.89 kB / 477.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2753, allocations: 60.49 MB / 0.5252 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.00278/0.2781, allocations: 2.097 MB / 0.5272 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008567/0.2789, allocations: 0.6074 MB / 0.5278 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.279, allocations: 10.28 kB / 0.5278 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.2792, allocations: 23.77 kB / 0.5279 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.2794, allocations: 66.62 kB / 0.5279 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.2795, allocations: 49.7 kB / 0.528 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.2797, allocations: 212.5 kB / 0.5282 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2798, allocations: 30.06 kB / 0.5282 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.28, allocations: 85.23 kB / 0.5283 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2801, allocations: 86 kB / 0.5284 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.2801, allocations: 13.16 kB / 0.5284 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.2802, allocations: 14.38 kB / 0.5284 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.2802, allocations: 37.38 kB / 0.5284 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.2803, allocations: 89.83 kB / 0.5285 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.2805, allocations: 165.6 kB / 0.5287 GB, free: 7.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2805, allocations: 0 / 0.5287 GB, free: 7.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2805, allocations: 0 / 0.5287 GB, free: 7.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2805, allocations: 1.062 kB / 0.5287 GB, free: 7.465 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006404/0.2811, allocations: 431.1 kB / 0.5291 GB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2812, allocations: 11.03 kB / 0.5291 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.2813, allocations: 31.61 kB / 0.5291 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.2815, allocations: 186.2 kB / 0.5293 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2816, allocations: 8.969 kB / 0.5293 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.2816, allocations: 12.31 kB / 0.5293 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.2818, allocations: 148.2 kB / 0.5295 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2818, allocations: 0 / 0.5295 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2818, allocations: 5.984 kB / 0.5295 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2818, allocations: 3.625 kB / 0.5295 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.282, allocations: 76.66 kB / 0.5295 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.2827, allocations: 0.4933 MB / 0.53 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.2829, allocations: 100.5 kB / 0.5301 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.283, allocations: 38.78 kB / 0.5302 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.283, allocations: 5.766 kB / 0.5302 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2831, allocations: 36.48 kB / 0.5302 GB, free: 6.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.2831, allocations: 0 / 0.5302 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007745/0.2838, allocations: 366.8 kB / 0.5306 GB, free: 6.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.2839, allocations: 57.52 kB / 0.5306 GB, free: 5.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.2841, allocations: 226.9 kB / 0.5308 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2841, allocations: 30.77 kB / 0.5309 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.2842, allocations: 134.7 kB / 0.531 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.2842, allocations: 40.61 kB / 0.531 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.2842, allocations: 33.77 kB / 0.5311 GB, free: 5.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.2843, allocations: 333.3 kB / 0.5314 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.092e-05/0.2844, allocations: 29.67 kB / 0.5314 GB, free: 5.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.2845, allocations: 58.89 kB / 0.5315 GB, free: 5.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.2847, allocations: 99.73 kB / 0.5315 GB, free: 5.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2847, allocations: 1.266 kB / 0.5315 GB, free: 5.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002619/0.2849, allocations: 144.5 kB / 0.5317 GB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2849, allocations: 13.39 kB / 0.5317 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2849, allocations: 1.125 kB / 0.5317 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.285, allocations: 5.281 kB / 0.5317 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2851, allocations: 33.33 kB / 0.5317 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2851, allocations: 1.797 kB / 0.5317 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2852, allocations: 4.969 kB / 0.5317 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2852, allocations: 7.75 kB / 0.5318 GB, free: 5.07 MB / 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 (16): * Single equations (assignments): 16 * 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 6.459e-05/0.2853, allocations: 125.1 kB / 0.5319 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.2853, allocations: 23.14 kB / 0.5319 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.2854, allocations: 22.55 kB / 0.5319 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2854, allocations: 5.438 kB / 0.5319 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2854, allocations: 0 / 0.5319 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2854, allocations: 0.8438 kB / 0.5319 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.2858, allocations: 417.2 kB / 0.5323 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2858, allocations: 0.75 kB / 0.5323 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.286, allocations: 26.53 kB / 0.5323 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.286, allocations: 0.9375 kB / 0.5323 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.286, allocations: 6.625 kB / 0.5324 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.286, allocations: 4 kB / 0.5324 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.286, allocations: 5.062 kB / 0.5324 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.2863, allocations: 266.2 kB / 0.5326 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.2864, allocations: 22.72 kB / 0.5326 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.2864, allocations: 9.953 kB / 0.5326 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2865, allocations: 3.141 kB / 0.5326 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.2866, allocations: 6.406 kB / 0.5327 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2866, allocations: 7.109 kB / 0.5327 GB, free: 4.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.2867, allocations: 168.6 kB / 0.5328 GB, free: 4.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2867, allocations: 0 / 0.5328 GB, free: 4.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.287, allocations: 31.94 kB / 0.5329 GB, free: 4.246 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (12): * Single equations (assignments): 12 * 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 7.061e-05/0.287, allocations: 95.14 kB / 0.5329 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.2872, allocations: 81.83 kB / 0.533 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2872, allocations: 0 / 0.533 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.2873, allocations: 50.59 kB / 0.5331 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2877, allocations: 36.44 kB / 0.5331 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.2885, allocations: 0.5155 MB / 0.5336 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2886, allocations: 0.7336 MB / 0.5343 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.2887, allocations: 17.62 kB / 0.5343 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.2888, allocations: 15.34 kB / 0.5344 GB, free: 3.012 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2888, allocations: 1.219 kB / 0.5344 GB, free: 3.012 MB / 382.1 MB Notification: Performance of Templates: time 0.004896/0.2936, allocations: 1.683 MB / 0.536 GB, free: 2.832 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6674344297498465] Failed to read output from testmodel.py, exit status != 0: 0.3015345260500908 0.314698472 0.031194881 Calling exit ...