Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001411/0.001411, allocations: 84.62 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.001542/0.001542, allocations: 163.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.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.164 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.1406/0.1406, allocations: 19.74 MB / 280.4 MB, free: 12.89 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 417 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.976e-05, allocations: 2.281 kB / 417 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004099/0.004119, allocations: 2.745 MB / 419.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.005585, allocations: 0.7712 MB / 420.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.005743, allocations: 11.94 kB / 420.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.005916, allocations: 55.39 kB / 420.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.006273, allocations: 146.7 kB / 420.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.00653, allocations: 115.8 kB / 420.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.00711, allocations: 0.5057 MB / 421.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.007317, allocations: 92.47 kB / 421.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.007739, allocations: 291.2 kB / 421.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.007998, allocations: 155.5 kB / 421.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.497e-05/0.008063, allocations: 35.94 kB / 422 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.008162, allocations: 36 kB / 422 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.008251, allocations: 83.59 kB / 422.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.008418, allocations: 143.6 kB / 422.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.008917, allocations: 406.5 kB / 422.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.008919, allocations: 3.938 kB / 422.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00892, allocations: 0 / 422.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.008926, allocations: 0 / 422.6 MB, free: 10.91 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001335/0.01026, allocations: 0.6877 MB / 423.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.01029, allocations: 8.625 kB / 423.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.01044, allocations: 56.61 kB / 423.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.01091, allocations: 295.8 kB / 423.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.01093, allocations: 21.03 kB / 423.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.011, allocations: 40.33 kB / 423.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.01154, allocations: 298.5 kB / 424 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01155, allocations: 4.172 kB / 424 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.01158, allocations: 15.94 kB / 424 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.01159, allocations: 8 kB / 424 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.01203, allocations: 206.4 kB / 424.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.0137, allocations: 0.9211 MB / 425.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.01414, allocations: 235.5 kB / 425.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.01436, allocations: 112.8 kB / 425.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01438, allocations: 0 / 425.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.01442, allocations: 42.5 kB / 425.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.01442, allocations: 7.875 kB / 425.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001848/0.01627, allocations: 0.7905 MB / 426.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.01632, allocations: 55.41 kB / 426.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.01673, allocations: 341.7 kB / 426.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.01677, allocations: 37.7 kB / 426.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.01695, allocations: 216.5 kB / 427 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.01706, allocations: 122.9 kB / 427.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01717, allocations: 70.03 kB / 427.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.01735, allocations: 346.8 kB / 427.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.01754, allocations: 88.64 kB / 427.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.01777, allocations: 145.5 kB / 427.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.0182, allocations: 228.2 kB / 427.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.0182, allocations: 0 / 427.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001036/0.01924, allocations: 429.2 kB / 428.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01925, allocations: 4 kB / 428.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01926, allocations: 4 kB / 428.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.0199, allocations: 120.9 kB / 428.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.02035, allocations: 91.88 kB / 428.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.02401, allocations: 3.077 MB / 431.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.02425, allocations: 11.98 kB / 431.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.02428, allocations: 12 kB / 431.7 MB, free: 1.359 MB / 350.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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.02446, allocations: 145.8 kB / 431.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.02454, allocations: 47.66 kB / 431.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.02512, allocations: 301.6 kB / 432.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.02513, allocations: 8.062 kB / 432.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.02513, allocations: 0 / 432.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.02513, allocations: 3.984 kB / 432.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.02619, allocations: 0.6351 MB / 432.8 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.0262, allocations: 0 / 432.8 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.02662, allocations: 75.95 kB / 432.9 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02663, allocations: 7.938 kB / 432.9 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.02665, allocations: 8 kB / 432.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.02665, allocations: 4 kB / 432.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.02666, allocations: 4 kB / 432.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.02745, allocations: 0.4932 MB / 433.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.02758, allocations: 47.73 kB / 433.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.02763, allocations: 11.98 kB / 433.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.02786, allocations: 8 kB / 433.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.02793, allocations: 23.95 kB / 433.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.02795, allocations: 11.94 kB / 433.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.02824, allocations: 243.2 kB / 433.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02824, allocations: 0 / 433.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.02865, allocations: 92 kB / 433.8 MB, free: 15.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * 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 (34): * Single equations (assignments): 34 * 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.0001186/0.02877, allocations: 103.2 kB / 433.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009883/0.02976, allocations: 422.8 kB / 434.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02976, allocations: 4 kB / 434.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.02999, allocations: 115.8 kB / 434.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.03051, allocations: 79.36 kB / 434.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.03227, allocations: 0.9254 MB / 435.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.0325, allocations: 219.8 kB / 435.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.03265, allocations: 34.94 kB / 435.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.03276, allocations: 32.5 kB / 435.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.03276, allocations: 4 kB / 435.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01037/0.04313, allocations: 4.524 MB / 440.3 MB, free: 8.688 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.708682242780924] Failed to read output from testmodel.py, exit status != 0: 0.05157654359936714 0.227920157 0.216533459 Calling exit ...