Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001728/0.001728, allocations: 74.81 kB / 21.28 MB, free: 384 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.001482/0.001482, allocations: 163.3 kB / 24.53 MB, free: 3.586 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.374/1.374, allocations: 177.2 MB / 204.9 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 179] 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.1374/0.1374, allocations: 19.7 MB / 281 MB, free: 13.04 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002275/0.002275, allocations: 72.17 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2719, allocations: 60.46 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003548/0.2755, allocations: 2.006 MB / 480 MB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2767, allocations: 0.568 MB / 480.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.2769, allocations: 2.188 kB / 480.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.277, allocations: 29.03 kB / 480.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.2773, allocations: 71.34 kB / 480.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.2774, allocations: 34.95 kB / 480.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.2778, allocations: 218.3 kB / 481 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2779, allocations: 27.77 kB / 481 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.2782, allocations: 135.4 kB / 481.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2783, allocations: 73.5 kB / 481.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.2783, allocations: 12.31 kB / 481.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.2784, allocations: 14.25 kB / 481.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.2784, allocations: 33.11 kB / 481.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.2785, allocations: 70.09 kB / 481.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.2788, allocations: 169.3 kB / 481.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2788, allocations: 1.312 kB / 481.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.2788, allocations: 7.984 kB / 481.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.2788, allocations: 0 / 481.5 MB, free: 12.97 MB / 382.1 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.0007654/0.2796, allocations: 420.8 kB / 481.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2796, allocations: 10.31 kB / 481.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.192e-05/0.2797, allocations: 23.05 kB / 481.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.28, allocations: 193.6 kB / 482.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.28, allocations: 10.09 kB / 482.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.2801, allocations: 11.69 kB / 482.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.2803, allocations: 143.3 kB / 482.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2803, allocations: 0 / 482.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2804, allocations: 1 kB / 482.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2804, allocations: 3.344 kB / 482.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2805, allocations: 83.41 kB / 482.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.2813, allocations: 436.8 kB / 482.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.2815, allocations: 108.3 kB / 482.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.2816, allocations: 41.03 kB / 482.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2817, allocations: 1.781 kB / 483 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2817, allocations: 32.16 kB / 483 MB, free: 11.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2817, allocations: 0 / 483 MB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008023/0.2825, allocations: 378 kB / 483.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2825, allocations: 57.88 kB / 483.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.2828, allocations: 208.7 kB / 483.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2828, allocations: 30.8 kB / 483.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2829, allocations: 129.3 kB / 483.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.2829, allocations: 44.22 kB / 483.8 MB, free: 11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.283, allocations: 32.3 kB / 483.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2831, allocations: 327 kB / 484.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.2832, allocations: 29.23 kB / 484.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2833, allocations: 68.06 kB / 484.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.2835, allocations: 92.09 kB / 484.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2835, allocations: 1.344 kB / 484.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002546/0.2837, allocations: 139.2 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2838, allocations: 4.75 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2838, allocations: 9.109 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2838, allocations: 2.312 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2839, allocations: 34.73 kB / 484.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2839, allocations: 6.094 kB / 484.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.284, allocations: 11.47 kB / 484.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2841, allocations: 7.594 kB / 484.6 MB, free: 10.42 MB / 382.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 (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 0.0001167/0.2842, allocations: 124.7 kB / 484.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.2842, allocations: 15.19 kB / 484.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.2843, allocations: 29.92 kB / 484.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2843, allocations: 1.375 kB / 484.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2843, allocations: 1.469 kB / 484.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2843, allocations: 0 / 484.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.2848, allocations: 372.2 kB / 485.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2848, allocations: 0 / 485.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.285, allocations: 30.98 kB / 485.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.285, allocations: 1.094 kB / 485.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.285, allocations: 5.094 kB / 485.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.285, allocations: 1.094 kB / 485.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.285, allocations: 3.984 kB / 485.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.2854, allocations: 266.4 kB / 485.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.2854, allocations: 22.75 kB / 485.4 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2855, allocations: 5.281 kB / 485.4 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2856, allocations: 5.469 kB / 485.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2856, allocations: 7.078 kB / 485.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2856, allocations: 2.406 kB / 485.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.2858, allocations: 158.5 kB / 485.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2858, allocations: 1.188 kB / 485.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.286, allocations: 26.75 kB / 485.6 MB, free: 9.57 MB / 382.1 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 9.867e-05/0.2861, allocations: 98.66 kB / 485.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2863, allocations: 84.62 kB / 485.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2863, allocations: 0 / 485.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.2864, allocations: 45.66 kB / 485.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.2868, allocations: 30.02 kB / 485.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.2878, allocations: 0.5357 MB / 486.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2879, allocations: 121.6 kB / 486.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.288, allocations: 17.59 kB / 486.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.288, allocations: 0 / 486.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of Templates: time 0.004006/0.292, allocations: 2.053 MB / 488.6 MB, free: 7.395 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.94576398585923] Failed to read output from testmodel.py, exit status != 0: 0.30102065298706293 0.31501441700000005 0.033229013 Calling exit ...