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.001548/0.001548, allocations: 79.03 kB / 21.27 MB, free: 388 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.001382/0.001382, allocations: 163.4 kB / 24.53 MB, free: 3.59 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.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 9.281 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.1386/0.1386, allocations: 19.71 MB / 281 MB, free: 13.05 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.002109/0.002109, allocations: 71.91 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2561, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003224/0.2593, allocations: 2.004 MB / 480.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2603, allocations: 0.5642 MB / 480.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.2604, allocations: 1.156 kB / 480.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.2605, allocations: 29.28 kB / 480.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.2607, allocations: 67.77 kB / 480.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.2609, allocations: 38.02 kB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2611, allocations: 218.2 kB / 481 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2613, allocations: 23.84 kB / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.2615, allocations: 135.7 kB / 481.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.2616, allocations: 77.66 kB / 481.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.2616, allocations: 11.88 kB / 481.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.2617, allocations: 14.66 kB / 481.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.2617, allocations: 36.06 kB / 481.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.659e-05/0.2618, allocations: 68 kB / 481.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.2621, allocations: 168.8 kB / 481.5 MB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2621, allocations: 0 / 481.5 MB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2621, allocations: 5.094 kB / 481.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2621, allocations: 4 kB / 481.5 MB, free: 12.99 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.0007698/0.2628, allocations: 424.6 kB / 481.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.2629, allocations: 9.062 kB / 481.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.263, allocations: 23.52 kB / 481.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2633, allocations: 190.5 kB / 482.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2633, allocations: 13.03 kB / 482.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.2633, allocations: 13.34 kB / 482.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.2636, allocations: 141.8 kB / 482.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2636, allocations: 7.938 kB / 482.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2636, allocations: 1.25 kB / 482.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2636, allocations: 2.75 kB / 482.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2638, allocations: 83.09 kB / 482.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.2646, allocations: 434.1 kB / 482.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.2648, allocations: 99.48 kB / 482.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.2649, allocations: 41.78 kB / 483 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2649, allocations: 1.25 kB / 483 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.265, allocations: 39.77 kB / 483 MB, free: 11.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.265, allocations: 0 / 483 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007864/0.2658, allocations: 374.9 kB / 483.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2658, allocations: 56.47 kB / 483.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.266, allocations: 209 kB / 483.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2661, allocations: 30.73 kB / 483.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.2662, allocations: 126 kB / 483.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.2662, allocations: 44.77 kB / 483.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.2663, allocations: 31.23 kB / 483.8 MB, free: 11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2664, allocations: 327.1 kB / 484.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.2665, allocations: 29.77 kB / 484.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.2666, allocations: 56.3 kB / 484.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2668, allocations: 104.6 kB / 484.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2668, allocations: 0 / 484.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002615/0.2671, allocations: 143.4 kB / 484.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2671, allocations: 5.375 kB / 484.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2671, allocations: 4.969 kB / 484.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2671, allocations: 1.25 kB / 484.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.2672, allocations: 36.45 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2672, allocations: 1.344 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2674, allocations: 11.84 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2674, allocations: 6.5 kB / 484.6 MB, free: 10.44 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.0001161/0.2675, allocations: 125.9 kB / 484.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.2675, allocations: 15.47 kB / 484.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.2676, allocations: 26 kB / 484.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2676, allocations: 1.156 kB / 484.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2676, allocations: 0 / 484.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2676, allocations: 5.078 kB / 484.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.2681, allocations: 380.3 kB / 485.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2681, allocations: 1.188 kB / 485.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2683, allocations: 26.73 kB / 485.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2683, allocations: 1.094 kB / 485.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2683, allocations: 5.125 kB / 485.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2683, allocations: 0 / 485.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2683, allocations: 5.047 kB / 485.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.2687, allocations: 265.8 kB / 485.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.2687, allocations: 22.56 kB / 485.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.2688, allocations: 1.156 kB / 485.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2689, allocations: 14.14 kB / 485.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.2689, allocations: 11.34 kB / 485.4 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2689, allocations: 2.156 kB / 485.4 MB, free: 9.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.2691, allocations: 159 kB / 485.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2691, allocations: 0 / 485.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.2693, allocations: 27.31 kB / 485.6 MB, free: 9.582 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.483e-05/0.2694, allocations: 93.72 kB / 485.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2697, allocations: 80.73 kB / 485.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2697, allocations: 5.281 kB / 485.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.2697, allocations: 45.3 kB / 485.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2701, allocations: 33.27 kB / 485.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000947/0.2711, allocations: 0.5067 MB / 486.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2712, allocations: 118.5 kB / 486.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.2712, allocations: 13.52 kB / 486.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.2713, allocations: 20.31 kB / 486.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2713, allocations: 0 / 486.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of Templates: time 0.004859/0.2761, allocations: 1.588 MB / 488.1 MB, free: 7.891 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.420947597944178] Failed to read output from testmodel.py, exit status != 0: 0.2848590280627832 0.299378166 0.034161641 Calling exit ...