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.001353/0.001353, allocations: 84.62 kB / 20.68 MB, free: 1.023 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.001437/0.001437, allocations: 162.4 kB / 23.95 MB, free: 4.156 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.417/1.417, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.14/0.14, allocations: 19.74 MB / 280.4 MB, free: 12.93 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: Performance of FrontEnd - loaded program: time 4.108e-06/4.108e-06, allocations: 4 kB / 417 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.955e-05, allocations: 10.16 kB / 417 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003792/0.003822, allocations: 2.488 MB / 419.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.005146, allocations: 0.7088 MB / 420.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.005287, allocations: 7.938 kB / 420.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.005439, allocations: 47.45 kB / 420.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.005751, allocations: 126.9 kB / 420.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.005951, allocations: 79.86 kB / 420.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.006511, allocations: 425.8 kB / 420.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.006671, allocations: 61.45 kB / 421 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.007023, allocations: 231.3 kB / 421.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.007241, allocations: 119.5 kB / 421.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.007295, allocations: 28 kB / 421.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.007379, allocations: 31.98 kB / 421.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.007451, allocations: 63.69 kB / 421.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.007591, allocations: 119.6 kB / 421.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.007996, allocations: 310.9 kB / 421.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.007999, allocations: 4 kB / 421.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.008, allocations: 0 / 421.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.008008, allocations: 7.922 kB / 421.9 MB, free: 11.7 MB / 350.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.001143/0.009151, allocations: 0.5905 MB / 422.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.009182, allocations: 8.031 kB / 422.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.009301, allocations: 40.7 kB / 422.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.009725, allocations: 257.6 kB / 422.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.009749, allocations: 20.88 kB / 422.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.009804, allocations: 32.3 kB / 422.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.01026, allocations: 236.2 kB / 423 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.01028, allocations: 8.141 kB / 423 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.0103, allocations: 12.38 kB / 423.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.01032, allocations: 11.94 kB / 423.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.01074, allocations: 173.8 kB / 423.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.01188, allocations: 0.7019 MB / 423.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.01224, allocations: 186.1 kB / 424.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.01245, allocations: 100.8 kB / 424.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.01248, allocations: 4 kB / 424.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.01251, allocations: 38.48 kB / 424.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.01251, allocations: 3.938 kB / 424.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001465/0.01397, allocations: 0.6638 MB / 424.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.01403, allocations: 59.39 kB / 425 MB, free: 8.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.01437, allocations: 300.5 kB / 425.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.0144, allocations: 29.7 kB / 425.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.01454, allocations: 180.8 kB / 425.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.066e-05/0.01463, allocations: 103.1 kB / 425.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/0.01472, allocations: 49.7 kB / 425.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.01489, allocations: 346.8 kB / 426 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.01508, allocations: 75.95 kB / 426.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.0153, allocations: 120.1 kB / 426.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.0157, allocations: 192.2 kB / 426.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01571, allocations: 0 / 426.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007035/0.01641, allocations: 323.9 kB / 426.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01642, allocations: 4 kB / 426.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01643, allocations: 4 kB / 426.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.01672, allocations: 52.81 kB / 426.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.01711, allocations: 79.95 kB / 426.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.01978, allocations: 2.775 MB / 429.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.01999, allocations: 15.97 kB / 429.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.02001, allocations: 12 kB / 429.6 MB, free: 3.496 MB / 350.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.0001509/0.02016, allocations: 141.9 kB / 429.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.02023, allocations: 39.73 kB / 429.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.02077, allocations: 269.7 kB / 430.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.02077, allocations: 0 / 430.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.02078, allocations: 7.938 kB / 430.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.02078, allocations: 0 / 430.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.02173, allocations: 0.5531 MB / 430.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02174, allocations: 0 / 430.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.02208, allocations: 71.89 kB / 430.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.02208, allocations: 8 kB / 430.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.0221, allocations: 7.938 kB / 430.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02211, allocations: 0 / 430.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02211, allocations: 0 / 430.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.02284, allocations: 440.5 kB / 431.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.02295, allocations: 47.84 kB / 431.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.02299, allocations: 7.984 kB / 431.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.02319, allocations: 12 kB / 431.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.02325, allocations: 23.95 kB / 431.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.02326, allocations: 4 kB / 431.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.0235, allocations: 215.1 kB / 431.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0235, allocations: 0 / 431.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.02385, allocations: 75.94 kB / 431.5 MB, free: 1.535 MB / 350.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.0001167/0.02396, allocations: 103.2 kB / 431.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008938/0.02486, allocations: 366.9 kB / 432 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02486, allocations: 0 / 432 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.02509, allocations: 99.89 kB / 432.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.02554, allocations: 71.09 kB / 432.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.02701, allocations: 0.7801 MB / 432.9 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.02722, allocations: 186.8 kB / 433.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.02733, allocations: 34.97 kB / 433.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.02743, allocations: 28.5 kB / 433.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02743, allocations: 4 kB / 433.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Templates: time 0.008608/0.03604, allocations: 3.577 MB / 436.7 MB, free: 12.27 MB / 366.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.520774465054274] Failed to read output from testmodel.py, exit status != 0: 0.04448246583342552 0.207187429 0.048022303 Calling exit ...