Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.00177/0.00177, allocations: 85 kB / 20.68 MB, free: 1.027 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.002139/0.002139, allocations: 164 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 158.6 MB / 185.7 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2654/0.2654, allocations: 36.34 MB / 274.3 MB, free: 0.6133 MB / 254.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.419e-05, allocations: 2.281 kB / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003303/0.003327, allocations: 1.986 MB / 416.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004436, allocations: 0.585 MB / 417.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004536, allocations: 0 / 417.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.004669, allocations: 23.73 kB / 417.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.004887, allocations: 75.41 kB / 417.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.005038, allocations: 43.88 kB / 417.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.005329, allocations: 222.8 kB / 417.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.005457, allocations: 28.56 kB / 417.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.005652, allocations: 115.7 kB / 417.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.005792, allocations: 59.81 kB / 417.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.005824, allocations: 12 kB / 418 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.005885, allocations: 15.98 kB / 418 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.005946, allocations: 39.84 kB / 418 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.006027, allocations: 55.78 kB / 418.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.00629, allocations: 155.4 kB / 418.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.006294, allocations: 3.984 kB / 418.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.006298, allocations: 4 kB / 418.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.006302, allocations: 0 / 418.2 MB, free: 8.188 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.0007555/0.007057, allocations: 433.1 kB / 418.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.007088, allocations: 12.03 kB / 418.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.007182, allocations: 20.84 kB / 418.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.007492, allocations: 178.4 kB / 418.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.007518, allocations: 12.31 kB / 418.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.007551, allocations: 12.38 kB / 418.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.007822, allocations: 135.8 kB / 419 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.007835, allocations: 192 / 419 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.007851, allocations: 4.375 kB / 419 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-06/0.00786, allocations: 7.938 kB / 419 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.008067, allocations: 79.94 kB / 419.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.008805, allocations: 444.2 kB / 419.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.009095, allocations: 98.53 kB / 419.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.009195, allocations: 40.84 kB / 419.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.00921, allocations: 4 kB / 419.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.009246, allocations: 38.5 kB / 419.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.009247, allocations: 7.938 kB / 419.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008501/0.0101, allocations: 372.9 kB / 420.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.01015, allocations: 55.34 kB / 420.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.01037, allocations: 203.1 kB / 420.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.0104, allocations: 29.7 kB / 420.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.0105, allocations: 136.3 kB / 420.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.01054, allocations: 39.64 kB / 420.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.0106, allocations: 37.7 kB / 420.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.01076, allocations: 322.8 kB / 420.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.01085, allocations: 39.92 kB / 420.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.01095, allocations: 66.55 kB / 421 MB, free: 5.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.01115, allocations: 90.5 kB / 421.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01115, allocations: 0 / 421.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002669/0.01141, allocations: 137.5 kB / 421.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01143, allocations: 4 kB / 421.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01143, allocations: 4.062 kB / 421.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01145, allocations: 4 kB / 421.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.01161, allocations: 35.97 kB / 421.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01162, allocations: 7.875 kB / 421.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01173, allocations: 8 kB / 421.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.01174, allocations: 11.94 kB / 421.3 MB, free: 4.883 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.000107/0.01185, allocations: 117.8 kB / 421.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.01189, allocations: 19.86 kB / 421.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.01194, allocations: 29.45 kB / 421.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.01194, allocations: 0 / 421.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01195, allocations: 3.938 kB / 421.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01195, allocations: 0 / 421.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.01251, allocations: 367 kB / 421.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01251, allocations: 0 / 421.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.01268, allocations: 31.98 kB / 421.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01268, allocations: 0 / 421.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01269, allocations: 3.938 kB / 421.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01269, allocations: 0 / 421.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.0127, allocations: 7.984 kB / 421.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.01309, allocations: 263.3 kB / 422.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.01315, allocations: 31.83 kB / 422.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.01318, allocations: 0 / 422.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01331, allocations: 8 kB / 422.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.01334, allocations: 3.984 kB / 422.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01335, allocations: 4 kB / 422.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.01352, allocations: 156.6 kB / 422.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01352, allocations: 0 / 422.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.01379, allocations: 31.94 kB / 422.4 MB, free: 3.766 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.732e-05/0.01389, allocations: 95.25 kB / 422.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.01413, allocations: 83.84 kB / 422.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01413, allocations: 0 / 422.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.01422, allocations: 43.92 kB / 422.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.01459, allocations: 28.34 kB / 422.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.01548, allocations: 446.3 kB / 423 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.01561, allocations: 124.7 kB / 423.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.01566, allocations: 13.48 kB / 423.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.01571, allocations: 16.5 kB / 423.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.01571, allocations: 0 / 423.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Templates: time 0.005015/0.02073, allocations: 1.577 MB / 424.8 MB, free: 1.305 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.400917798280716] Failed to read output from testmodel.py, exit status != 0: 0.02993178740143776 0.043481966000000004 0.034149974 Calling exit ...