Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001377/0.001377, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.0015/0.0015, allocations: 164.6 kB / 23.95 MB, free: 4.168 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.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.1426/0.1426, allocations: 19.74 MB / 280.4 MB, free: 12.92 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 417 MB, free: 0.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.788e-05, allocations: 2.281 kB / 417 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004134/0.004152, allocations: 2.91 MB / 420 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005638, allocations: 0.8022 MB / 420.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.005801, allocations: 11.94 kB / 420.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.005984, allocations: 55.33 kB / 420.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.006363, allocations: 158.7 kB / 421 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.006634, allocations: 127.7 kB / 421.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.007226, allocations: 0.5486 MB / 421.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.007434, allocations: 94.03 kB / 421.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.007865, allocations: 307.1 kB / 422 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.008139, allocations: 175.4 kB / 422.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.008206, allocations: 36 kB / 422.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.008302, allocations: 36 kB / 422.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.008394, allocations: 95.53 kB / 422.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.00858, allocations: 155.5 kB / 422.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.009097, allocations: 426.5 kB / 422.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.0091, allocations: 0 / 422.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.009101, allocations: 0 / 422.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.009107, allocations: 0 / 422.9 MB, free: 10.61 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001382/0.01049, allocations: 0.7303 MB / 423.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.01052, allocations: 12.03 kB / 423.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.01066, allocations: 60.61 kB / 423.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.01115, allocations: 307.8 kB / 424 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.01118, allocations: 25.03 kB / 424.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.01125, allocations: 36.38 kB / 424.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.0118, allocations: 318.4 kB / 424.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.01182, allocations: 4.141 kB / 424.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.01185, allocations: 16.38 kB / 424.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.01186, allocations: 7.938 kB / 424.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.01229, allocations: 214.5 kB / 424.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.01403, allocations: 0.976 MB / 425.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.01455, allocations: 252.9 kB / 425.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.01477, allocations: 121.4 kB / 426 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.0148, allocations: 4.281 kB / 426 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.01483, allocations: 38.84 kB / 426 MB, free: 7.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.01483, allocations: 0 / 426 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00212/0.01695, allocations: 0.8663 MB / 426.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.017, allocations: 55.41 kB / 427 MB, free: 6.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.01741, allocations: 373.6 kB / 427.3 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.01744, allocations: 33.7 kB / 427.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.01761, allocations: 224.9 kB / 427.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.01772, allocations: 131.2 kB / 427.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.01784, allocations: 78.14 kB / 427.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.018, allocations: 346.8 kB / 428.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.0182, allocations: 92.95 kB / 428.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.01843, allocations: 157.1 kB / 428.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.01887, allocations: 252.1 kB / 428.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01887, allocations: 0 / 428.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005837/0.01946, allocations: 341.2 kB / 428.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01947, allocations: 7.938 kB / 428.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.01948, allocations: 4 kB / 429 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01949, allocations: 0 / 429 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.02024, allocations: 156 kB / 429.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.02139, allocations: 1.311 MB / 430.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.02163, allocations: 11.98 kB / 430.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.02166, allocations: 16.19 kB / 430.4 MB, free: 2.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001706/0.02183, allocations: 156.8 kB / 430.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.0219, allocations: 43.66 kB / 430.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.02247, allocations: 317.7 kB / 430.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02248, allocations: 4 kB / 431 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.02248, allocations: 7.938 kB / 431 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02248, allocations: 0 / 431 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.02353, allocations: 0.6552 MB / 431.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02354, allocations: 4 kB / 431.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.02397, allocations: 83.89 kB / 431.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.02397, allocations: 0 / 431.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.024, allocations: 15.92 kB / 431.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.024, allocations: 0 / 431.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.024, allocations: 0 / 431.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.0248, allocations: 0.5166 MB / 432.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.02493, allocations: 55.67 kB / 432.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.02498, allocations: 15.94 kB / 432.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.02522, allocations: 12.19 kB / 432.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.02527, allocations: 19.95 kB / 432.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.02529, allocations: 16.02 kB / 432.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.02558, allocations: 263.1 kB / 432.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02558, allocations: 0 / 432.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.02594, allocations: 84 kB / 432.7 MB, free: 432 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.0001107/0.02605, allocations: 99.25 kB / 432.8 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006593/0.02671, allocations: 276.1 kB / 433.1 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.02671, allocations: 0 / 433.1 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.02695, allocations: 123.8 kB / 433.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.02749, allocations: 86.61 kB / 433.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.02928, allocations: 0.9809 MB / 434.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.02949, allocations: 227.8 kB / 434.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.02965, allocations: 47.25 kB / 434.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.02977, allocations: 32.48 kB / 434.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02977, allocations: 0 / 434.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Templates: time 0.009466/0.03924, allocations: 4.374 MB / 438.9 MB, free: 10.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.638945311307907] Failed to read output from testmodel.py, exit status != 0: 0.047445058822631836 0.211389702 0.19964969200000002 Calling exit ...