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.0007296/0.0007296, 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.002912/0.002912, allocations: 163.3 kB / 24.7 MB, free: 8.906 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.7908/0.7908, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.1712/0.1712, allocations: 36.34 MB / 275.1 MB, free: 10.91 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.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.362e-06/1.362e-06, allocations: 0 / 415.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.026e-05, allocations: 2.281 kB / 415.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002068/0.002088, allocations: 1.99 MB / 417.6 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.002926, allocations: 0.5849 MB / 418.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.003021, allocations: 4 kB / 418.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.003133, allocations: 19.73 kB / 418.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.003334, allocations: 71.42 kB / 418.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.003473, allocations: 47.88 kB / 418.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.003683, allocations: 222.8 kB / 418.5 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.003815, allocations: 24.58 kB / 418.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.003956, allocations: 119.7 kB / 418.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.004066, allocations: 59.8 kB / 418.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.004089, allocations: 12 kB / 418.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.004137, allocations: 16 kB / 418.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.004166, allocations: 43.77 kB / 418.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.004211, allocations: 55.84 kB / 418.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.004401, allocations: 155.4 kB / 419 MB, free: 2.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004403, allocations: 0 / 419 MB, free: 2.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.004404, allocations: 0 / 419 MB, free: 2.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004408, allocations: 0 / 419 MB, free: 2.18 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004896/0.004897, allocations: 433.1 kB / 419.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.004929, allocations: 16.03 kB / 419.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.004994, allocations: 16.84 kB / 419.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.005204, allocations: 182.4 kB / 419.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005215, allocations: 8.375 kB / 419.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.005241, allocations: 12.38 kB / 419.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.005408, allocations: 139.7 kB / 419.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.00542, allocations: 192 / 419.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005432, allocations: 4.375 kB / 419.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005438, allocations: 7.938 kB / 419.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.005551, allocations: 79.95 kB / 419.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.006036, allocations: 448.2 kB / 420.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.006225, allocations: 98.59 kB / 420.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.006281, allocations: 40.84 kB / 420.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.006292, allocations: 3.938 kB / 420.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.006308, allocations: 34.56 kB / 420.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.006309, allocations: 4 kB / 420.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005393/0.006849, allocations: 369.6 kB / 420.8 MB, free: 168 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.00688, allocations: 59.28 kB / 420.9 MB, free: 96 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.00703, allocations: 207.1 kB / 421.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.007042, allocations: 25.7 kB / 421.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.007108, allocations: 136.3 kB / 421.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.007135, allocations: 43.64 kB / 421.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.007172, allocations: 29.72 kB / 421.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.00726, allocations: 326.8 kB / 421.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.007309, allocations: 39.92 kB / 421.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/0.007364, allocations: 58.55 kB / 421.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.00747, allocations: 94.5 kB / 421.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007471, allocations: 0 / 421.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001509/0.007622, allocations: 137.5 kB / 422 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.007634, allocations: 7.938 kB / 422 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.00764, allocations: 8.062 kB / 422 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.007653, allocations: 0 / 422 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.007735, allocations: 31.98 kB / 422 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.007741, allocations: 7.922 kB / 422 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.007792, allocations: 4 kB / 422 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.007799, allocations: 8 kB / 422 MB, free: 14.89 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 (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 7.481e-05/0.007874, allocations: 129.8 kB / 422.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.007897, allocations: 23.86 kB / 422.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.007928, allocations: 25.45 kB / 422.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00793, allocations: 0 / 422.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.007935, allocations: 3.938 kB / 422.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007938, allocations: 0 / 422.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.008284, allocations: 366.2 kB / 422.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.008286, allocations: 3.938 kB / 422.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.008377, allocations: 31.98 kB / 422.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00838, allocations: 3.938 kB / 422.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.008389, allocations: 3.938 kB / 422.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.008392, allocations: 4 kB / 422.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008393, allocations: 4 kB / 422.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.008609, allocations: 247.4 kB / 422.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.008644, allocations: 31.83 kB / 422.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.00866, allocations: 0 / 422.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.008716, allocations: 11.94 kB / 422.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.008744, allocations: 7.984 kB / 422.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.008748, allocations: 0 / 422.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.008833, allocations: 156.5 kB / 423.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008833, allocations: 0 / 423.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.009002, allocations: 32 kB / 423.1 MB, free: 13.76 MB / 362.7 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 7.896e-05/0.009081, allocations: 95.23 kB / 423.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.009227, allocations: 87.84 kB / 423.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009229, allocations: 0 / 423.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.009274, allocations: 39.92 kB / 423.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.009518, allocations: 40.33 kB / 423.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.01012, allocations: 468 kB / 423.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.0102, allocations: 132.7 kB / 423.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.01023, allocations: 16.5 kB / 424 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01024, allocations: 0 / 424 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.002407/0.01264, allocations: 2.039 MB / 426 MB, free: 10.8 MB / 362.7 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.373607802204788] Failed to read output from testmodel.py, exit status != 0: 0.017261754721403122 0.024952961000000003 0.018969833000000002 Calling exit ...