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.001684/0.001684, allocations: 77.86 kB / 21.27 MB, free: 0.5352 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.002214/0.002214, allocations: 161.7 kB / 24.54 MB, free: 3.836 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 2.008/2.008, allocations: 177.2 MB / 204.9 MB, free: 9.285 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.2359/0.2359, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 179] 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.002395/0.002395, allocations: 71.84 kB / 417.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4002, allocations: 60.45 MB / 478 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003938/0.4042, allocations: 2.014 MB / 480.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4054, allocations: 0.5599 MB / 480.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.4056, allocations: 6.531 kB / 480.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.4057, allocations: 21.14 kB / 480.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.406, allocations: 74.47 kB / 480.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.4061, allocations: 43.56 kB / 480.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.4064, allocations: 213.8 kB / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4066, allocations: 27.3 kB / 481 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.4068, allocations: 128.2 kB / 481.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.407, allocations: 77.34 kB / 481.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.407, allocations: 12.25 kB / 481.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.4071, allocations: 18.97 kB / 481.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.4071, allocations: 36.47 kB / 481.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.4072, allocations: 73.86 kB / 481.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.4075, allocations: 161.6 kB / 481.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4075, allocations: 1.531 kB / 481.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4075, allocations: 0 / 481.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.4075, allocations: 0 / 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.0008823/0.4084, allocations: 432.8 kB / 481.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.4084, allocations: 14.08 kB / 481.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.4085, allocations: 22.83 kB / 482 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.4089, allocations: 189.5 kB / 482.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4089, allocations: 9.562 kB / 482.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.409, allocations: 16.34 kB / 482.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.4093, allocations: 142.4 kB / 482.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4093, allocations: 3.984 kB / 482.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.4093, allocations: 5.25 kB / 482.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4093, allocations: 6.594 kB / 482.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.4095, allocations: 74.95 kB / 482.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.4104, allocations: 433.9 kB / 482.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.4107, allocations: 104.9 kB / 482.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4108, allocations: 41.03 kB / 483 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.4108, allocations: 1.594 kB / 483 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4109, allocations: 35.88 kB / 483 MB, free: 11.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.4109, allocations: 0 / 483 MB, free: 11.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009368/0.4118, allocations: 370 kB / 483.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4118, allocations: 57.62 kB / 483.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.4121, allocations: 208.8 kB / 483.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.4121, allocations: 26.77 kB / 483.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4123, allocations: 136.4 kB / 483.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.4123, allocations: 45.05 kB / 483.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.4124, allocations: 32.69 kB / 483.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4126, allocations: 330.1 kB / 484.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.963e-05/0.4127, allocations: 29.83 kB / 484.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4128, allocations: 57.45 kB / 484.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.413, allocations: 103.2 kB / 484.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.413, allocations: 0 / 484.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003137/0.4133, allocations: 144 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4133, allocations: 5.781 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4133, allocations: 4.875 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4134, allocations: 2 kB / 484.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.4135, allocations: 31.73 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4135, allocations: 5.203 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.4137, allocations: 6.281 kB / 484.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4137, allocations: 8.562 kB / 484.6 MB, free: 10.43 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.0001287/0.4138, allocations: 124.4 kB / 484.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.4139, allocations: 19.78 kB / 484.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.4139, allocations: 25.61 kB / 484.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4139, allocations: 2.156 kB / 484.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4139, allocations: 0 / 484.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4139, allocations: 0 / 484.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.4145, allocations: 377.8 kB / 485.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4145, allocations: 3.938 kB / 485.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.4148, allocations: 31.42 kB / 485.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4148, allocations: 0 / 485.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4148, allocations: 1.344 kB / 485.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4148, allocations: 5.188 kB / 485.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4148, allocations: 0 / 485.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.4152, allocations: 263 kB / 485.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.4153, allocations: 21.94 kB / 485.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.4153, allocations: 5.219 kB / 485.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.4155, allocations: 6.188 kB / 485.4 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.4155, allocations: 11.52 kB / 485.4 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4155, allocations: 6.062 kB / 485.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.4157, allocations: 150.6 kB / 485.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4157, allocations: 4 kB / 485.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.416, allocations: 31.47 kB / 485.6 MB, free: 9.574 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 0.0001087/0.4162, allocations: 99.03 kB / 485.7 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.4164, allocations: 79.78 kB / 485.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4164, allocations: 1.062 kB / 485.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4165, allocations: 40.33 kB / 485.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.417, allocations: 38.81 kB / 485.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4181, allocations: 0.5078 MB / 486.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4182, allocations: 117.8 kB / 486.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.602e-05/0.4183, allocations: 16.78 kB / 486.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.4183, allocations: 17.41 kB / 486.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4183, allocations: 0 / 486.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of Templates: time 0.005694/0.424, allocations: 1.585 MB / 488.1 MB, free: 7.883 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 cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.82520082895644] Failed to read output from testmodel.py, exit status != 0: 0.45396645995788276 0.475271327 0.064052314 Calling exit ...