Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001367/0.001367, allocations: 84.55 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.001378/0.001378, allocations: 163.9 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.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.181/0.181, 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 417 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.017e-05, allocations: 6.219 kB / 417 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003238/0.003258, allocations: 2.095 MB / 419.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.004442, allocations: 0.5998 MB / 419.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004563, allocations: 0 / 419.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.004686, allocations: 27.67 kB / 419.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.004934, allocations: 87.27 kB / 419.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.005105, allocations: 55.86 kB / 419.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.005436, allocations: 250.8 kB / 420.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.005571, allocations: 40.42 kB / 420.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.005834, allocations: 143.6 kB / 420.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.005986, allocations: 79.72 kB / 420.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.006025, allocations: 16 kB / 420.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/0.006086, allocations: 16 kB / 420.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.006131, allocations: 47.77 kB / 420.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.006229, allocations: 75.77 kB / 420.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.006507, allocations: 191.3 kB / 420.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006508, allocations: 4 kB / 420.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006509, allocations: 0 / 420.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006514, allocations: 0 / 420.7 MB, free: 12.83 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008799/0.007393, allocations: 469 kB / 421.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.007426, allocations: 8.031 kB / 421.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.571e-05/0.007521, allocations: 32.75 kB / 421.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.00784, allocations: 200.8 kB / 421.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.007854, allocations: 12.38 kB / 421.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.007893, allocations: 12.38 kB / 421.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.008207, allocations: 152.4 kB / 421.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.00822, allocations: 4.188 kB / 421.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.00824, allocations: 4.375 kB / 421.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.008249, allocations: 11.94 kB / 421.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.008515, allocations: 99.86 kB / 421.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.009348, allocations: 488.2 kB / 422.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.009612, allocations: 126.4 kB / 422.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.009759, allocations: 64.88 kB / 422.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.009772, allocations: 8 kB / 422.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.009798, allocations: 34.55 kB / 422.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.009799, allocations: 0 / 422.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001091/0.01089, allocations: 490.8 kB / 422.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.01093, allocations: 63.28 kB / 423 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.01118, allocations: 237.7 kB / 423.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.0112, allocations: 25.7 kB / 423.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01131, allocations: 144.4 kB / 423.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.01136, allocations: 63.44 kB / 423.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.01143, allocations: 41.72 kB / 423.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.01158, allocations: 330.8 kB / 423.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.01172, allocations: 51.97 kB / 423.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.01187, allocations: 77.38 kB / 423.9 MB, free: 9.445 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.01306, allocations: 351.4 kB / 424.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01306, allocations: 4 kB / 424.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003713/0.01343, allocations: 192.5 kB / 424.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01344, allocations: 4 kB / 424.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01345, allocations: 8 kB / 424.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01347, allocations: 0 / 424.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.01373, allocations: 55.91 kB / 424.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.01374, allocations: 7.938 kB / 424.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.01388, allocations: 16.02 kB / 424.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01389, allocations: 4 kB / 424.6 MB, free: 8.809 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 0.0001261/0.01402, allocations: 129.8 kB / 424.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.01407, allocations: 23.86 kB / 424.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.01413, allocations: 30.11 kB / 424.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01414, allocations: 4 kB / 424.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01414, allocations: 3.938 kB / 424.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01414, allocations: 0 / 424.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.01485, allocations: 446 kB / 425.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01485, allocations: 0 / 425.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.01513, allocations: 51.91 kB / 425.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01514, allocations: 3.938 kB / 425.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.01515, allocations: 7.938 kB / 425.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01516, allocations: 4 kB / 425.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01516, allocations: 0 / 425.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.0157, allocations: 333.7 kB / 425.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.01578, allocations: 35.83 kB / 425.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.01582, allocations: 8 kB / 425.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.01598, allocations: 7.922 kB / 425.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.01603, allocations: 15.98 kB / 425.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01604, allocations: 0 / 425.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.01621, allocations: 169.2 kB / 425.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01621, allocations: 0 / 425.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.0165, allocations: 47.94 kB / 425.8 MB, free: 7.457 MB / 350.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 (18): * Single equations (assignments): 18 * 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.0001016/0.0166, allocations: 87.25 kB / 425.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.01695, allocations: 131.9 kB / 426.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01695, allocations: 4 kB / 426.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.0171, allocations: 67.81 kB / 426.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.01747, allocations: 40.41 kB / 426.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.0184, allocations: 494.8 kB / 426.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.01853, allocations: 133.9 kB / 426.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.454e-05/0.01861, allocations: 13.64 kB / 426.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.01867, allocations: 20.5 kB / 426.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01867, allocations: 0 / 426.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Templates: time 0.005624/0.0243, allocations: 2.059 MB / 428.9 MB, free: 4.391 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.293715234845877] Failed to read output from testmodel.py, exit status != 0: 0.032366566359996796 0.046856807 0.037278251000000005 Calling exit ...