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.001365/0.001365, 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.00141/0.00141, allocations: 165.7 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.434/1.434, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.1392/0.1392, allocations: 19.74 MB / 280.4 MB, free: 12.91 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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 417 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.73e-05, allocations: 6.219 kB / 417 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003035/0.003053, allocations: 1.998 MB / 419 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.004084, allocations: 0.5649 MB / 419.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.004178, allocations: 4 kB / 419.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.004293, allocations: 23.72 kB / 419.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.004496, allocations: 71.36 kB / 419.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.004627, allocations: 43.88 kB / 419.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.004901, allocations: 214.9 kB / 420 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.005009, allocations: 32.56 kB / 420 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.005241, allocations: 119.6 kB / 420.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.005374, allocations: 63.81 kB / 420.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.005405, allocations: 12 kB / 420.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.005466, allocations: 19.98 kB / 420.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.005502, allocations: 31.84 kB / 420.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.005591, allocations: 59.83 kB / 420.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.005827, allocations: 163.3 kB / 420.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005829, allocations: 3.938 kB / 420.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00583, allocations: 0 / 420.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.005834, allocations: 0 / 420.4 MB, free: 13.09 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007432/0.006577, allocations: 425.3 kB / 420.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.006605, allocations: 8.031 kB / 420.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.006695, allocations: 24.8 kB / 420.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.006996, allocations: 190.4 kB / 421.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.007011, allocations: 8.375 kB / 421.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.007049, allocations: 16.33 kB / 421.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.007305, allocations: 131.9 kB / 421.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007317, allocations: 4.188 kB / 421.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.007332, allocations: 4.375 kB / 421.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.00734, allocations: 7.938 kB / 421.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.007542, allocations: 83.81 kB / 421.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.00825, allocations: 436.3 kB / 421.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.008527, allocations: 94.61 kB / 421.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.008629, allocations: 52.77 kB / 421.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.008643, allocations: 0 / 421.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.008668, allocations: 42.5 kB / 421.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.008669, allocations: 0 / 421.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008067/0.009476, allocations: 368.9 kB / 422.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.009521, allocations: 59.34 kB / 422.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.009748, allocations: 207 kB / 422.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.009768, allocations: 25.7 kB / 422.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.009865, allocations: 140.3 kB / 422.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.009908, allocations: 43.58 kB / 422.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.009962, allocations: 29.7 kB / 422.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01012, allocations: 330.8 kB / 423.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/0.01021, allocations: 35.97 kB / 423.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.01031, allocations: 50.56 kB / 423.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.0105, allocations: 97.38 kB / 423.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.0105, allocations: 4 kB / 423.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002744/0.01077, allocations: 141.5 kB / 423.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01079, allocations: 4 kB / 423.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.01079, allocations: 0 / 423.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.0108, allocations: 0 / 423.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.01096, allocations: 39.98 kB / 423.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.01097, allocations: 11.88 kB / 423.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01107, allocations: 4 kB / 423.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.01108, allocations: 8.062 kB / 423.5 MB, free: 9.801 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 (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 0.0001077/0.01119, allocations: 125.8 kB / 423.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.01123, allocations: 15.91 kB / 423.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.01128, allocations: 17.47 kB / 423.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01128, allocations: 4 kB / 423.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.01129, allocations: 3.938 kB / 423.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.01129, allocations: 3.984 kB / 423.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.01182, allocations: 362.9 kB / 424 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01182, allocations: 4 kB / 424 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.01199, allocations: 27.98 kB / 424.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.01199, allocations: 4 kB / 424.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.01201, allocations: 7.938 kB / 424.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01201, allocations: 3.984 kB / 424.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01201, allocations: 0 / 424.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.01239, allocations: 266.8 kB / 424.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.01245, allocations: 23.88 kB / 424.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.01248, allocations: 4 kB / 424.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.01261, allocations: 7.984 kB / 424.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.01264, allocations: 8.078 kB / 424.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01265, allocations: 11.94 kB / 424.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.01279, allocations: 152.4 kB / 424.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01279, allocations: 0 / 424.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.01306, allocations: 28 kB / 424.6 MB, free: 8.684 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 (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 9.797e-05/0.01316, allocations: 99.23 kB / 424.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.01338, allocations: 79.89 kB / 424.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01338, allocations: 0 / 424.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.01347, allocations: 51.98 kB / 424.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.01383, allocations: 31.97 kB / 424.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.01468, allocations: 434.1 kB / 425.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.01479, allocations: 120.8 kB / 425.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.01485, allocations: 17.47 kB / 425.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.01489, allocations: 16.5 kB / 425.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01489, allocations: 0 / 425.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of Templates: time 0.004768/0.01966, allocations: 1.579 MB / 427 MB, free: 6.234 MB / 350.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: 4.286257933825254] Failed to read output from testmodel.py, exit status != 0: 0.02752857655286789 0.042112248000000005 0.033240918 Calling exit ...