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.001308/0.001308, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001415/0.001415, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.29/1.29, allocations: 158.6 MB / 186.3 MB, free: 6.164 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.2663/0.2663, allocations: 36.35 MB / 274.8 MB, free: 14.66 MB / 270.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 75.89 kB / 415.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2845, allocations: 62.39 MB / 477.6 MB, free: 43.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002726/0.2872, allocations: 2.467 MB / 480.1 MB, free: 42.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000983/0.2882, allocations: 0.7222 MB / 480.8 MB, free: 42.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.2883, allocations: 10.28 kB / 480.8 MB, free: 42.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2884, allocations: 45.23 kB / 480.9 MB, free: 42.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.2887, allocations: 122.4 kB / 481 MB, free: 42.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.2889, allocations: 87.48 kB / 481.1 MB, free: 41.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.2892, allocations: 397.8 kB / 481.5 MB, free: 41.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2893, allocations: 58.41 kB / 481.5 MB, free: 41.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2894, allocations: 167.8 kB / 481.7 MB, free: 41.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.2896, allocations: 143.4 kB / 481.8 MB, free: 41.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.2897, allocations: 28.91 kB / 481.9 MB, free: 41.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.2897, allocations: 28.25 kB / 481.9 MB, free: 41.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.2898, allocations: 72.55 kB / 482 MB, free: 41.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2899, allocations: 135.4 kB / 482.1 MB, free: 41.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.2902, allocations: 328.5 kB / 482.4 MB, free: 41.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2902, allocations: 0 / 482.4 MB, free: 41.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2902, allocations: 2.781 kB / 482.4 MB, free: 41.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.2902, allocations: 0 / 482.4 MB, free: 41.34 MB / 446.1 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.0008796/0.291, allocations: 0.5954 MB / 483 MB, free: 40.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.2911, allocations: 9.656 kB / 483 MB, free: 40.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2912, allocations: 49.77 kB / 483.1 MB, free: 40.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2915, allocations: 262.1 kB / 483.3 MB, free: 40.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2915, allocations: 21.67 kB / 483.3 MB, free: 40.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.2916, allocations: 28.52 kB / 483.4 MB, free: 40.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.2919, allocations: 240.7 kB / 483.6 MB, free: 40.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2919, allocations: 0 / 483.6 MB, free: 40.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2919, allocations: 14.91 kB / 483.6 MB, free: 40.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2919, allocations: 6.562 kB / 483.6 MB, free: 40.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.2923, allocations: 177.2 kB / 483.8 MB, free: 40.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.2931, allocations: 0.7009 MB / 484.5 MB, free: 39.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.2934, allocations: 175.1 kB / 484.7 MB, free: 39.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2936, allocations: 102.5 kB / 484.8 MB, free: 39.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2936, allocations: 3.188 kB / 484.8 MB, free: 39.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2936, allocations: 34.56 kB / 484.8 MB, free: 39.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.2936, allocations: 2.844 kB / 484.8 MB, free: 39.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001151/0.2948, allocations: 0.6638 MB / 485.5 MB, free: 39.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2948, allocations: 58.62 kB / 485.5 MB, free: 39.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.295, allocations: 302.5 kB / 485.8 MB, free: 39.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.295, allocations: 37.83 kB / 485.9 MB, free: 39.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.2951, allocations: 179.4 kB / 486 MB, free: 38.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.2951, allocations: 106.6 kB / 486.1 MB, free: 38.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.2952, allocations: 51.8 kB / 486.2 MB, free: 38.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.2953, allocations: 347.5 kB / 486.5 MB, free: 38.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.2954, allocations: 74.89 kB / 486.6 MB, free: 38.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.2956, allocations: 108.8 kB / 486.7 MB, free: 38.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.2959, allocations: 202.7 kB / 486.9 MB, free: 38.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2959, allocations: 0 / 486.9 MB, free: 38.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005461/0.2964, allocations: 310 kB / 487.2 MB, free: 38.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2964, allocations: 10.44 kB / 487.2 MB, free: 38.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2964, allocations: 7.875 kB / 487.2 MB, free: 38.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.2967, allocations: 54.67 kB / 487.3 MB, free: 38.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.297, allocations: 78.19 kB / 487.4 MB, free: 38.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.2986, allocations: 2.784 MB / 490.1 MB, free: 35.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2988, allocations: 13.94 kB / 490.2 MB, free: 35.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.2988, allocations: 10.69 kB / 490.2 MB, free: 35.5 MB / 446.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 (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.0001021/0.2989, allocations: 146.1 kB / 490.3 MB, free: 35.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.2989, allocations: 31.59 kB / 490.3 MB, free: 35.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.2993, allocations: 261 kB / 490.6 MB, free: 35.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2993, allocations: 3.438 kB / 490.6 MB, free: 35.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.2993, allocations: 0 / 490.6 MB, free: 35.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2993, allocations: 6.594 kB / 490.6 MB, free: 35.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.3, allocations: 0.5621 MB / 491.2 MB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3, allocations: 0 / 491.2 MB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.3003, allocations: 67.73 kB / 491.2 MB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3003, allocations: 0 / 491.2 MB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3004, allocations: 7.406 kB / 491.2 MB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3004, allocations: 0 / 491.2 MB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3004, allocations: 0 / 491.2 MB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.3009, allocations: 456.6 kB / 491.7 MB, free: 34.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.301, allocations: 50.72 kB / 491.7 MB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.301, allocations: 4 kB / 491.7 MB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3012, allocations: 9.781 kB / 491.8 MB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3013, allocations: 17.31 kB / 491.8 MB, free: 34.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3013, allocations: 10.31 kB / 491.8 MB, free: 34.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.3014, allocations: 211 kB / 492 MB, free: 34.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3014, allocations: 0 / 492 MB, free: 34.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.3017, allocations: 88.5 kB / 492.1 MB, free: 34.42 MB / 446.1 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 6.259e-05/0.3018, allocations: 92.72 kB / 492.2 MB, free: 34.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007115/0.3025, allocations: 365.2 kB / 492.5 MB, free: 34.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3025, allocations: 0 / 492.5 MB, free: 34.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.3027, allocations: 106.1 kB / 492.6 MB, free: 34.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3031, allocations: 63.86 kB / 492.7 MB, free: 34.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3043, allocations: 0.9242 MB / 493.6 MB, free: 33.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3044, allocations: 189.5 kB / 493.8 MB, free: 33.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.3045, allocations: 36.78 kB / 493.8 MB, free: 33.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.3046, allocations: 29.98 kB / 493.9 MB, free: 33.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3046, allocations: 0 / 493.9 MB, free: 33.38 MB / 446.1 MB Notification: Performance of Templates: time 0.006843/0.3115, allocations: 3.599 MB / 497.5 MB, free: 32.88 MB / 446.1 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 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.663677536998875] Failed to read output from testmodel.py, exit status != 0: 0.31934082694351673 0.328785451 0.036266839 Calling exit ...