Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001383/0.001383, allocations: 217.9 kB / 23.73 MB, free: 4.164 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.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.1492/0.1492, allocations: 26.84 MB / 340.7 MB, free: 7.961 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [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.002132/0.002132, allocations: 79.81 kB / 477.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2733, allocations: 60.47 MB / 0.5251 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002958/0.2762, allocations: 2.482 MB / 0.5276 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2773, allocations: 0.7193 MB / 0.5283 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.2774, allocations: 8.344 kB / 0.5283 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.2775, allocations: 46.52 kB / 0.5283 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.2778, allocations: 124.9 kB / 0.5284 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.278, allocations: 81.34 kB / 0.5285 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.2783, allocations: 401.7 kB / 0.5289 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2784, allocations: 60.16 kB / 0.529 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.2787, allocations: 164.9 kB / 0.5291 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.2788, allocations: 144.7 kB / 0.5292 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.2789, allocations: 28.34 kB / 0.5293 GB, free: 7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.279, allocations: 27.62 kB / 0.5293 GB, free: 7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.279, allocations: 72.64 kB / 0.5294 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2792, allocations: 140.1 kB / 0.5295 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.2795, allocations: 329.4 kB / 0.5298 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2795, allocations: 0.5312 kB / 0.5298 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2795, allocations: 0.5625 kB / 0.5298 GB, free: 6.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2796, allocations: 0 / 0.5298 GB, free: 6.73 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001008/0.2806, allocations: 0.6016 MB / 0.5304 GB, free: 6.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2806, allocations: 9.375 kB / 0.5304 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2807, allocations: 45.86 kB / 0.5305 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.2811, allocations: 261.4 kB / 0.5307 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.2811, allocations: 22.56 kB / 0.5307 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.2812, allocations: 29.44 kB / 0.5308 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.2816, allocations: 241.8 kB / 0.531 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2816, allocations: 5.281 kB / 0.531 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.2816, allocations: 6.656 kB / 0.531 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2816, allocations: 5.359 kB / 0.531 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.282, allocations: 177.7 kB / 0.5312 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.2829, allocations: 0.7027 MB / 0.5319 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.2832, allocations: 183.8 kB / 0.532 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2834, allocations: 105 kB / 0.5321 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2834, allocations: 2.062 kB / 0.5321 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2834, allocations: 37.75 kB / 0.5322 GB, free: 5.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.2834, allocations: 4 kB / 0.5322 GB, free: 5.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001223/0.2847, allocations: 0.6619 MB / 0.5328 GB, free: 4.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.2847, allocations: 66.58 kB / 0.5329 GB, free: 4.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.285, allocations: 301.6 kB / 0.5332 GB, free: 4.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.285, allocations: 38.55 kB / 0.5332 GB, free: 4.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.2851, allocations: 182.4 kB / 0.5334 GB, free: 4.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.2851, allocations: 98.47 kB / 0.5335 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.2852, allocations: 54.73 kB / 0.5335 GB, free: 4.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.2852, allocations: 339.6 kB / 0.5339 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.2854, allocations: 77.86 kB / 0.5339 GB, free: 3.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.2856, allocations: 111.5 kB / 0.534 GB, free: 3.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.2859, allocations: 199.1 kB / 0.5342 GB, free: 3.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2859, allocations: 1.25 kB / 0.5342 GB, free: 3.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005946/0.2865, allocations: 313 kB / 0.5345 GB, free: 3.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2865, allocations: 5.312 kB / 0.5345 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2865, allocations: 5.562 kB / 0.5345 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.2868, allocations: 60.38 kB / 0.5346 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.2872, allocations: 70.64 kB / 0.5347 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.2888, allocations: 2.784 MB / 0.5374 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.289, allocations: 14.02 kB / 0.5374 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.289, allocations: 10.03 kB / 0.5374 GB, free: 0.8516 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 (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.0001028/0.2891, allocations: 148.4 kB / 0.5375 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.2892, allocations: 34.62 kB / 0.5376 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.2896, allocations: 255.2 kB / 0.5378 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2896, allocations: 6.297 kB / 0.5378 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2896, allocations: 0.7031 kB / 0.5378 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2896, allocations: 2.438 kB / 0.5378 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/0.2904, allocations: 0.5619 MB / 0.5384 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2904, allocations: 1.188 kB / 0.5384 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.2907, allocations: 69.36 kB / 0.5384 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2907, allocations: 1.312 kB / 0.5384 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2907, allocations: 7.172 kB / 0.5385 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2907, allocations: 2.234 kB / 0.5385 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2907, allocations: 0 / 0.5385 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.2914, allocations: 453.4 kB / 0.5389 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2915, allocations: 41.84 kB / 0.5389 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.2916, allocations: 8.688 kB / 0.5389 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.2918, allocations: 11.73 kB / 0.5389 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.2918, allocations: 22.16 kB / 0.539 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2918, allocations: 4.219 kB / 0.539 GB, free: 15.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.2921, allocations: 215.1 kB / 0.5392 GB, free: 15.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2921, allocations: 0 / 0.5392 GB, free: 15.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000339/0.2924, allocations: 78.88 kB / 0.5393 GB, free: 15.77 MB / 398.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 0.0001163/0.2925, allocations: 100 kB / 0.5393 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008153/0.2933, allocations: 366 kB / 0.5397 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2933, allocations: 1.219 kB / 0.5397 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.2935, allocations: 104.8 kB / 0.5398 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.294, allocations: 61.55 kB / 0.5399 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2955, allocations: 0.9322 MB / 0.5408 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.2957, allocations: 187.4 kB / 0.5409 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.2958, allocations: 33.66 kB / 0.541 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.2959, allocations: 25.78 kB / 0.541 GB, free: 14.69 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2959, allocations: 0 / 0.541 GB, free: 14.69 MB / 398.1 MB Notification: Performance of Templates: time 0.008224/0.3041, allocations: 4.006 MB / 0.5449 GB, free: 12.99 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.620882065966725] Failed to read output from testmodel.py, exit status != 0: 0.3120549377053976 0.32620986299999993 0.043607752 Calling exit ...