Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0008277/0.0008277, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00355/0.00355, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.842/0.842, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 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.1755/0.1755, allocations: 36.34 MB / 275.1 MB, free: 10.9 MB / 266.7 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 415.6 MB, free: 5.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.694e-05, allocations: 6.281 kB / 415.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.0026/0.002627, allocations: 2.468 MB / 418.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003763, allocations: 0.7251 MB / 418.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.003917, allocations: 7.938 kB / 418.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.004055, allocations: 43.52 kB / 418.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.004333, allocations: 138.8 kB / 419 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.004528, allocations: 87.86 kB / 419 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.004866, allocations: 409.9 kB / 419.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.005022, allocations: 61.69 kB / 419.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.005264, allocations: 227.4 kB / 419.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.00541, allocations: 115.6 kB / 419.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.005442, allocations: 24 kB / 419.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.005503, allocations: 31.98 kB / 419.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.005546, allocations: 71.61 kB / 420 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.005625, allocations: 111.7 kB / 420.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.005955, allocations: 318.8 kB / 420.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005959, allocations: 0 / 420.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.00596, allocations: 0 / 420.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.005967, allocations: 7.938 kB / 420.4 MB, free: 0.7539 MB / 346.7 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.0007495/0.006716, allocations: 0.5866 MB / 421 MB, free: 136 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.006754, allocations: 12.03 kB / 421 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.766e-05/0.006852, allocations: 40.7 kB / 421 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.007205, allocations: 265.6 kB / 421.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.007222, allocations: 16.88 kB / 421.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.007261, allocations: 24.38 kB / 421.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.007578, allocations: 244.1 kB / 421.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.007594, allocations: 4.172 kB / 421.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.007615, allocations: 12.38 kB / 421.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.007624, allocations: 7.938 kB / 421.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.007867, allocations: 181.8 kB / 421.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.0087, allocations: 0.698 MB / 422.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.008927, allocations: 170.6 kB / 422.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.009047, allocations: 108.8 kB / 422.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.009068, allocations: 7.938 kB / 422.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.00909, allocations: 38.56 kB / 422.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.244e-06/0.009092, allocations: 0 / 422.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009645/0.01006, allocations: 0.6609 MB / 423.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.01009, allocations: 59.39 kB / 423.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.01032, allocations: 300.6 kB / 423.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.01034, allocations: 29.7 kB / 423.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.01043, allocations: 184.7 kB / 424 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.01049, allocations: 103.1 kB / 424.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.01055, allocations: 53.69 kB / 424.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.01065, allocations: 346.8 kB / 424.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.01076, allocations: 71.95 kB / 424.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.01088, allocations: 114.5 kB / 424.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.01111, allocations: 200.1 kB / 424.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01112, allocations: 0 / 424.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004347/0.01155, allocations: 315.1 kB / 425.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01157, allocations: 8.062 kB / 425.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-06/0.01158, allocations: 4 kB / 425.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.01179, allocations: 56.75 kB / 425.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.01203, allocations: 79.89 kB / 425.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.01376, allocations: 2.767 MB / 428.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01388, allocations: 16.03 kB / 428.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.0139, allocations: 16.22 kB / 428.1 MB, free: 8.562 MB / 362.7 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.000125/0.01402, allocations: 141.8 kB / 428.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.01406, allocations: 39.7 kB / 428.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.01436, allocations: 254.4 kB / 428.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01437, allocations: 4 kB / 428.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01437, allocations: 0 / 428.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01437, allocations: 3.984 kB / 428.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/0.01495, allocations: 0.565 MB / 429.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.01496, allocations: 4 kB / 429.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.01513, allocations: 67.91 kB / 429.2 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.01514, allocations: 3.984 kB / 429.2 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.01515, allocations: 8 kB / 429.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01516, allocations: 0 / 429.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01516, allocations: 0 / 429.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.01556, allocations: 448.1 kB / 429.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.01563, allocations: 47.8 kB / 429.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.01565, allocations: 4 kB / 429.7 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.01575, allocations: 11.98 kB / 429.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.01579, allocations: 19.91 kB / 429.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.0158, allocations: 15.98 kB / 429.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.01595, allocations: 207.1 kB / 430 MB, free: 6.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01595, allocations: 0 / 430 MB, free: 6.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000243/0.01619, allocations: 80 kB / 430 MB, free: 6.594 MB / 362.7 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.0001045/0.0163, allocations: 99.17 kB / 430.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.01684, allocations: 342.4 kB / 430.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01684, allocations: 0 / 430.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.01696, allocations: 104.5 kB / 430.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.0173, allocations: 65.03 kB / 430.6 MB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.01841, allocations: 0.8135 MB / 431.4 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.01854, allocations: 181.4 kB / 431.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.0186, allocations: 28.5 kB / 431.6 MB, free: 4.902 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0186, allocations: 0 / 431.6 MB, free: 4.902 MB / 362.7 MB Notification: Performance of Templates: time 0.00556/0.02416, allocations: 4.963 MB / 436.6 MB, free: 15.93 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.521402251906693] Failed to read output from testmodel.py, exit status != 0: 0.03030717931687832 0.038815622 0.031055102 Calling exit ...