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.001734/0.001734, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002076/0.002076, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.427/1.427, allocations: 207.7 MB / 234.6 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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.2874/0.2874, allocations: 49.6 MB / 336.4 MB, free: 3.883 MB / 270.1 MB " [Timeout remaining time 179] 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.002288/0.002288, allocations: 72.38 kB / 476.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1054, allocations: 62.43 MB / 0.5266 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003954/0.1093, allocations: 2.464 MB / 0.529 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1108, allocations: 0.7255 MB / 0.5297 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1109, allocations: 7.938 kB / 0.5297 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.1111, allocations: 43.52 kB / 0.5298 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1114, allocations: 131 kB / 0.5299 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1117, allocations: 75.89 kB / 0.53 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1122, allocations: 414.1 kB / 0.5304 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1123, allocations: 57.59 kB / 0.5304 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.1126, allocations: 159.3 kB / 0.5306 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.1128, allocations: 151.2 kB / 0.5307 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.1129, allocations: 24 kB / 0.5308 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.113, allocations: 28 kB / 0.5308 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.113, allocations: 71.62 kB / 0.5309 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1132, allocations: 139.3 kB / 0.531 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.1136, allocations: 326.5 kB / 0.5313 GB, free: 8.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1136, allocations: 0 / 0.5313 GB, free: 8.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1136, allocations: 3.938 kB / 0.5313 GB, free: 8.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1136, allocations: 0 / 0.5313 GB, free: 8.828 MB / 414.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.001126/0.1147, allocations: 0.5943 MB / 0.5319 GB, free: 8.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1148, allocations: 8.031 kB / 0.5319 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1149, allocations: 44.69 kB / 0.5319 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.1153, allocations: 258.4 kB / 0.5322 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1153, allocations: 24.75 kB / 0.5322 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.1154, allocations: 32.31 kB / 0.5322 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.1159, allocations: 243 kB / 0.5325 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1159, allocations: 0 / 0.5325 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.1159, allocations: 8 kB / 0.5325 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1159, allocations: 8 kB / 0.5325 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.1163, allocations: 177.6 kB / 0.5326 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.1175, allocations: 0.7054 MB / 0.5333 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.1178, allocations: 174.5 kB / 0.5335 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.118, allocations: 100.8 kB / 0.5336 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1181, allocations: 7.938 kB / 0.5336 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1181, allocations: 38.56 kB / 0.5336 GB, free: 6.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.1181, allocations: 0 / 0.5336 GB, free: 6.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001432/0.1195, allocations: 0.6647 MB / 0.5343 GB, free: 5.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1196, allocations: 59.34 kB / 0.5343 GB, free: 5.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.1199, allocations: 300.5 kB / 0.5346 GB, free: 5.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.12, allocations: 41.69 kB / 0.5347 GB, free: 5.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.1201, allocations: 180.8 kB / 0.5348 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.1202, allocations: 95.12 kB / 0.5349 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.1203, allocations: 57.64 kB / 0.535 GB, free: 4.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1204, allocations: 342.8 kB / 0.5353 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1206, allocations: 67.97 kB / 0.5354 GB, free: 4.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.1208, allocations: 114.7 kB / 0.5355 GB, free: 4.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.1212, allocations: 196.2 kB / 0.5357 GB, free: 4.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1212, allocations: 0 / 0.5357 GB, free: 4.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006688/0.1219, allocations: 315.1 kB / 0.536 GB, free: 3.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1219, allocations: 8 kB / 0.536 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1219, allocations: 4.062 kB / 0.536 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.1222, allocations: 56.81 kB / 0.536 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.1226, allocations: 75.88 kB / 0.5361 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.1252, allocations: 2.775 MB / 0.5388 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1254, allocations: 16.02 kB / 0.5388 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1254, allocations: 8.219 kB / 0.5389 GB, free: 0.6445 MB / 414.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.0001678/0.1256, allocations: 158.8 kB / 0.539 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.1256, allocations: 27.81 kB / 0.539 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.1261, allocations: 261.4 kB / 0.5393 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1261, allocations: 4 kB / 0.5393 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.1261, allocations: 192 / 0.5393 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1262, allocations: 0 / 0.5393 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.187/0.3131, allocations: 0.563 MB / 0.5398 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3131, allocations: 1.688 kB / 0.5398 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.3135, allocations: 66.94 kB / 0.5399 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3135, allocations: 8.438 kB / 0.5399 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3135, allocations: 7.062 kB / 0.5399 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.3135, allocations: 4.875 kB / 0.5399 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3135, allocations: 0 / 0.5399 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.3141, allocations: 445.4 kB / 0.5403 GB, free: 22.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3142, allocations: 44.7 kB / 0.5404 GB, free: 22.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.3143, allocations: 8.703 kB / 0.5404 GB, free: 22.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3145, allocations: 12.27 kB / 0.5404 GB, free: 22.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.3146, allocations: 18.34 kB / 0.5404 GB, free: 22.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3146, allocations: 9.188 kB / 0.5404 GB, free: 22.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.3148, allocations: 219.2 kB / 0.5406 GB, free: 22.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3148, allocations: 0 / 0.5406 GB, free: 22.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.3151, allocations: 69.41 kB / 0.5407 GB, free: 22.49 MB / 414.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 8.319e-05/0.3152, allocations: 101.5 kB / 0.5408 GB, free: 22.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000795/0.316, allocations: 358.8 kB / 0.5411 GB, free: 22.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.316, allocations: 0 / 0.5411 GB, free: 22.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.3162, allocations: 104.8 kB / 0.5412 GB, free: 22.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.3166, allocations: 63.98 kB / 0.5413 GB, free: 22.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.318, allocations: 0.9328 MB / 0.5422 GB, free: 21.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.3181, allocations: 186.4 kB / 0.5424 GB, free: 21.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.3183, allocations: 37.69 kB / 0.5424 GB, free: 21.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.3183, allocations: 25.56 kB / 0.5425 GB, free: 21.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3183, allocations: 1.281 kB / 0.5425 GB, free: 21.69 MB / 414.1 MB Notification: Performance of Templates: time 0.008199/0.3265, allocations: 4.003 MB / 0.5464 GB, free: 21.21 MB / 414.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.793582659214735] Failed to read output from testmodel.py, exit status != 0: 0.33435771986842155 0.34547408599999996 0.22935092999999995 Calling exit ...