Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001454/0.001454, 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.001557/0.001557, 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 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.346/1.346, allocations: 158.6 MB / 185.7 MB, free: 6.434 MB / 174.1 MB " [Timeout remaining time 178] 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.2795/0.2795, allocations: 36.35 MB / 274.3 MB, free: 0.7383 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 414.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.382e-05, allocations: 2.281 kB / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004239/0.004262, allocations: 2.89 MB / 417.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.005836, allocations: 0.8107 MB / 418.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.006003, allocations: 11.94 kB / 418.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.006168, allocations: 55.33 kB / 418.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.006559, allocations: 162.6 kB / 418.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.006835, allocations: 123.8 kB / 418.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006056/0.00744, allocations: 0.5448 MB / 419.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.007669, allocations: 106 kB / 419.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.008044, allocations: 291.3 kB / 419.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.008312, allocations: 167.4 kB / 420 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.00838, allocations: 36 kB / 420 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.008484, allocations: 39.94 kB / 420.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.008578, allocations: 95.53 kB / 420.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.008757, allocations: 159.5 kB / 420.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.009271, allocations: 430.4 kB / 420.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.009274, allocations: 4 kB / 420.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.009275, allocations: 0 / 420.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.009281, allocations: 0 / 420.7 MB, free: 5.711 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001416/0.0107, allocations: 0.7265 MB / 421.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.01073, allocations: 12.03 kB / 421.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.01087, allocations: 56.56 kB / 421.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.01141, allocations: 315.8 kB / 421.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.01143, allocations: 29.03 kB / 421.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/0.0115, allocations: 36.38 kB / 421.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.01206, allocations: 314.5 kB / 422.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.01207, allocations: 192 / 422.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.01211, allocations: 12.38 kB / 422.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.01212, allocations: 11.94 kB / 422.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.01256, allocations: 214.4 kB / 422.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.01435, allocations: 0.9683 MB / 423.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.01487, allocations: 247.6 kB / 423.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.0151, allocations: 125.3 kB / 423.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.01513, allocations: 4.281 kB / 423.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.01516, allocations: 38.84 kB / 423.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.01516, allocations: 0 / 423.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002189/0.01735, allocations: 0.873 MB / 424.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.01739, allocations: 55.41 kB / 424.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.01781, allocations: 365.6 kB / 425.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.01785, allocations: 33.7 kB / 425.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.01802, allocations: 228.8 kB / 425.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.01813, allocations: 130.8 kB / 425.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.01825, allocations: 74.19 kB / 425.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.01841, allocations: 346.8 kB / 425.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.01861, allocations: 92.95 kB / 426 MB, free: 240 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.01884, allocations: 149.2 kB / 426.1 MB, free: 76 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.01931, allocations: 263.8 kB / 426.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01932, allocations: 0 / 426.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000594/0.01991, allocations: 345.2 kB / 426.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01992, allocations: 8.125 kB / 426.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01993, allocations: 4 kB / 426.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01995, allocations: 0 / 426.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.02072, allocations: 151.8 kB / 426.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.0219, allocations: 1.315 MB / 428.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.02215, allocations: 15.97 kB / 428.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.02218, allocations: 16 kB / 428.2 MB, free: 13.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001764/0.02236, allocations: 149.8 kB / 428.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.02243, allocations: 39.77 kB / 428.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.02302, allocations: 321.7 kB / 428.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02302, allocations: 4 kB / 428.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02303, allocations: 8.062 kB / 428.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.02303, allocations: 0 / 428.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.02411, allocations: 0.6666 MB / 429.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02411, allocations: 0 / 429.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.02457, allocations: 87.83 kB / 429.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.02457, allocations: 4 kB / 429.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.0246, allocations: 7.938 kB / 429.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.0246, allocations: 4 kB / 429.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.0246, allocations: 0 / 429.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.02539, allocations: 0.5088 MB / 430 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.02553, allocations: 67.61 kB / 430.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.02558, allocations: 7.938 kB / 430.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.02584, allocations: 12 kB / 430.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.0259, allocations: 19.95 kB / 430.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.02593, allocations: 15.98 kB / 430.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.02621, allocations: 255.2 kB / 430.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02621, allocations: 0 / 430.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.0268, allocations: 84 kB / 430.5 MB, free: 11.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.0001264/0.02693, allocations: 107.3 kB / 430.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006908/0.02762, allocations: 279 kB / 430.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02762, allocations: 0 / 430.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.02787, allocations: 131.5 kB / 431 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.02842, allocations: 85.64 kB / 431.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.03025, allocations: 0.9734 MB / 432 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.03047, allocations: 227.9 kB / 432.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.03063, allocations: 47.25 kB / 432.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.03076, allocations: 44.42 kB / 432.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.03076, allocations: 0 / 432.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of Templates: time 0.00975/0.04051, allocations: 4.369 MB / 436.7 MB, free: 5.238 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.565879933536053] Failed to read output from testmodel.py, exit status != 0: 0.04888273775577545 0.063662778 0.051265045 Calling exit ...