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.001684/0.001684, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001611/0.001611, allocations: 214.5 kB / 23.74 MB, free: 4.656 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8 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.1492/0.1492, allocations: 26.82 MB / 340.7 MB, free: 8.172 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.003313/0.003313, allocations: 67.91 kB / 477.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.293, allocations: 60.49 MB / 0.5252 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003582/0.2966, allocations: 2.689 MB / 0.5278 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2979, allocations: 0.7529 MB / 0.5286 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.2982, allocations: 8.531 kB / 0.5286 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2984, allocations: 45.72 kB / 0.5286 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.2987, allocations: 127.1 kB / 0.5287 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.2989, allocations: 84.66 kB / 0.5288 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.2993, allocations: 394.5 kB / 0.5292 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2995, allocations: 63.53 kB / 0.5292 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.2998, allocations: 172 kB / 0.5294 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.3001, allocations: 168.4 kB / 0.5296 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.3002, allocations: 24.22 kB / 0.5296 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.3002, allocations: 28.14 kB / 0.5296 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.3003, allocations: 67.8 kB / 0.5297 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3005, allocations: 172.2 kB / 0.5298 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.3009, allocations: 326.3 kB / 0.5302 GB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3009, allocations: 0 / 0.5302 GB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3009, allocations: 0 / 0.5302 GB, free: 6.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3009, allocations: 1.734 kB / 0.5302 GB, free: 6.48 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.001094/0.302, allocations: 0.6073 MB / 0.5308 GB, free: 6.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3021, allocations: 9.594 kB / 0.5308 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.3022, allocations: 45.56 kB / 0.5308 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.3026, allocations: 258.2 kB / 0.5311 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3026, allocations: 21.91 kB / 0.5311 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.3027, allocations: 32.73 kB / 0.5311 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.3032, allocations: 244.9 kB / 0.5313 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3032, allocations: 1.547 kB / 0.5313 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3032, allocations: 10.22 kB / 0.5313 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3032, allocations: 5.594 kB / 0.5314 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.3036, allocations: 180.1 kB / 0.5315 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3047, allocations: 0.7969 MB / 0.5323 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.3051, allocations: 176.6 kB / 0.5325 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3053, allocations: 96.38 kB / 0.5326 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3054, allocations: 12.38 kB / 0.5326 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.3054, allocations: 35.62 kB / 0.5326 GB, free: 4.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.342e-06/0.3054, allocations: 0 / 0.5326 GB, free: 4.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001466/0.3068, allocations: 0.6756 MB / 0.5333 GB, free: 4.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.3069, allocations: 59.83 kB / 0.5333 GB, free: 4.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3071, allocations: 296.4 kB / 0.5336 GB, free: 4.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3072, allocations: 31.08 kB / 0.5336 GB, free: 4.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.3072, allocations: 181.9 kB / 0.5338 GB, free: 4.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3073, allocations: 98.41 kB / 0.5339 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.3074, allocations: 54.05 kB / 0.534 GB, free: 3.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.3074, allocations: 344 kB / 0.5343 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3076, allocations: 76.89 kB / 0.5344 GB, free: 3.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3078, allocations: 111.1 kB / 0.5345 GB, free: 3.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.3081, allocations: 199.4 kB / 0.5347 GB, free: 3.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3081, allocations: 5.219 kB / 0.5347 GB, free: 3.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005773/0.3087, allocations: 320.9 kB / 0.535 GB, free: 3.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3087, allocations: 5.438 kB / 0.535 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3087, allocations: 6.234 kB / 0.535 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.3089, allocations: 51.25 kB / 0.535 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.3093, allocations: 86.83 kB / 0.5351 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.3109, allocations: 2.831 MB / 0.5379 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3111, allocations: 18.72 kB / 0.5379 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3112, allocations: 14.64 kB / 0.5379 GB, free: 468 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.0001064/0.3113, allocations: 139.4 kB / 0.538 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.3113, allocations: 30.59 kB / 0.5381 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.3118, allocations: 261.4 kB / 0.5383 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3118, allocations: 4.078 kB / 0.5383 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3118, allocations: 0 / 0.5383 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3118, allocations: 6.609 kB / 0.5383 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.3127, allocations: 0.6293 MB / 0.5389 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3127, allocations: 0 / 0.5389 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.313, allocations: 65.41 kB / 0.539 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.313, allocations: 9.969 kB / 0.539 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3131, allocations: 9.906 kB / 0.539 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3131, allocations: 2.312 kB / 0.539 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3131, allocations: 0 / 0.539 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.3137, allocations: 446.7 kB / 0.5395 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3139, allocations: 46.48 kB / 0.5395 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3139, allocations: 9.984 kB / 0.5395 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3141, allocations: 11.95 kB / 0.5395 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.3142, allocations: 19.55 kB / 0.5395 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3142, allocations: 7.328 kB / 0.5395 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.3144, allocations: 215 kB / 0.5397 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3144, allocations: 0 / 0.5397 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.3147, allocations: 69.81 kB / 0.5398 GB, free: 15.34 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.0001194/0.3149, allocations: 104 kB / 0.5399 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000836/0.3157, allocations: 361.4 kB / 0.5403 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3157, allocations: 4 kB / 0.5403 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3159, allocations: 101.5 kB / 0.5404 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.0004479/0.3163, allocations: 58.84 kB / 0.5404 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.318, allocations: 0.9231 MB / 0.5413 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.3184, allocations: 0.797 MB / 0.5421 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3186, allocations: 32.86 kB / 0.5421 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.3186, allocations: 29.69 kB / 0.5422 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3186, allocations: 0 / 0.5422 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Templates: time 0.008652/0.3273, allocations: 3.736 MB / 0.5458 GB, free: 12.07 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: 4.614164035767317] Failed to read output from testmodel.py, exit status != 0: 0.33769630268216133 0.350826465 0.046753523000000005 Calling exit ...