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.001372/0.001372, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001483/0.001483, allocations: 209.2 kB / 24.48 MB, free: 3.863 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.422/1.422, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.1513/0.1513, allocations: 26.83 MB / 341.5 MB, free: 7.984 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.002238/0.002238, allocations: 67.89 kB / 478 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2946, allocations: 60.48 MB / 0.5259 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.00306/0.2977, allocations: 2.002 MB / 0.5278 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000978/0.2987, allocations: 0.5628 MB / 0.5284 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2988, allocations: 6.594 kB / 0.5284 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2989, allocations: 22.95 kB / 0.5284 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2991, allocations: 74.77 kB / 0.5285 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.2992, allocations: 40.33 kB / 0.5285 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.2995, allocations: 212.1 kB / 0.5287 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2996, allocations: 26.83 kB / 0.5287 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.2998, allocations: 99.22 kB / 0.5288 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2999, allocations: 75.58 kB / 0.5289 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.2999, allocations: 12.56 kB / 0.5289 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.3, allocations: 13.69 kB / 0.5289 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.3, allocations: 38.05 kB / 0.529 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3001, allocations: 69.8 kB / 0.529 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3003, allocations: 170.5 kB / 0.5292 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3003, allocations: 0.5625 kB / 0.5292 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3003, allocations: 1.062 kB / 0.5292 GB, free: 7.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3003, allocations: 0 / 0.5292 GB, free: 7.512 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.0006168/0.3009, allocations: 422.9 kB / 0.5296 GB, free: 7.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.301, allocations: 13.41 kB / 0.5296 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.3011, allocations: 22.7 kB / 0.5296 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3013, allocations: 191.6 kB / 0.5298 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3014, allocations: 5.562 kB / 0.5298 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3014, allocations: 16.5 kB / 0.5298 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3016, allocations: 140.8 kB / 0.53 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3016, allocations: 0 / 0.53 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3016, allocations: 5.312 kB / 0.53 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3017, allocations: 7.141 kB / 0.53 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.3018, allocations: 82 kB / 0.5301 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.3024, allocations: 437.3 kB / 0.5305 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.3027, allocations: 100.8 kB / 0.5306 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.3028, allocations: 46.42 kB / 0.5306 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.3028, allocations: 1.312 kB / 0.5306 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.3028, allocations: 37.14 kB / 0.5307 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3028, allocations: 4.75 kB / 0.5307 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007702/0.3036, allocations: 374.3 kB / 0.531 GB, free: 6.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.3036, allocations: 53.09 kB / 0.5311 GB, free: 6.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.3038, allocations: 201.6 kB / 0.5313 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.3038, allocations: 30.42 kB / 0.5313 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.3039, allocations: 131.3 kB / 0.5314 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3039, allocations: 44.38 kB / 0.5315 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.304, allocations: 30.11 kB / 0.5315 GB, free: 5.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.304, allocations: 333 kB / 0.5318 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.3041, allocations: 34.3 kB / 0.5318 GB, free: 5.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.3042, allocations: 50.81 kB / 0.5319 GB, free: 5.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3043, allocations: 95.72 kB / 0.532 GB, free: 5.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3044, allocations: 0.5312 kB / 0.532 GB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002248/0.3046, allocations: 149 kB / 0.5321 GB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3046, allocations: 8.812 kB / 0.5321 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3046, allocations: 9.125 kB / 0.5321 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3046, allocations: 3.031 kB / 0.5321 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3048, allocations: 35.3 kB / 0.5322 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3048, allocations: 2.438 kB / 0.5322 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.3049, allocations: 3.641 kB / 0.5322 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3049, allocations: 4.234 kB / 0.5322 GB, free: 5.172 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.834e-05/0.305, allocations: 134.3 kB / 0.5323 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.305, allocations: 16.06 kB / 0.5323 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.305, allocations: 27.53 kB / 0.5324 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.305, allocations: 2.312 kB / 0.5324 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.305, allocations: 0 / 0.5324 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3051, allocations: 0.75 kB / 0.5324 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.3055, allocations: 363.5 kB / 0.5327 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3055, allocations: 0.7969 kB / 0.5327 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.3056, allocations: 35.31 kB / 0.5327 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3056, allocations: 0 / 0.5327 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3056, allocations: 5.906 kB / 0.5327 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3056, allocations: 1.312 kB / 0.5327 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3056, allocations: 4 kB / 0.5327 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.3059, allocations: 258.3 kB / 0.533 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.306, allocations: 22.59 kB / 0.533 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.306, allocations: 1.156 kB / 0.533 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3061, allocations: 7.531 kB / 0.533 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3062, allocations: 7.422 kB / 0.533 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3062, allocations: 6.828 kB / 0.533 GB, free: 4.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3063, allocations: 159.7 kB / 0.5332 GB, free: 4.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3063, allocations: 0 / 0.5332 GB, free: 4.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3066, allocations: 36.03 kB / 0.5332 GB, free: 4.395 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.75e-05/0.3067, allocations: 95.12 kB / 0.5333 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3069, allocations: 81.28 kB / 0.5334 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3069, allocations: 1.344 kB / 0.5334 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.307, allocations: 45.81 kB / 0.5334 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3073, allocations: 42.05 kB / 0.5335 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.3081, allocations: 0.5443 MB / 0.534 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.919e-05/0.3082, allocations: 122.9 kB / 0.5341 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.3083, allocations: 16.3 kB / 0.5341 GB, free: 3.754 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3083, allocations: 0 / 0.5341 GB, free: 3.754 MB / 382.1 MB Notification: Performance of Templates: time 0.004019/0.3123, allocations: 2.022 MB / 0.5361 GB, free: 3.562 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: 7.126480213017203] Failed to read output from testmodel.py, exit status != 0: 0.32076360704377294 0.33364817 0.030268361 Calling exit ...