Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001367/0.001367, 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.001457/0.001457, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.331/1.331, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] 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.2868/0.2868, allocations: 49.6 MB / 336.4 MB, free: 3.887 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [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.00228/0.00228, allocations: 71.91 kB / 476.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1105, allocations: 62.43 MB / 0.5266 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004391/0.1148, allocations: 2.894 MB / 0.5295 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1164, allocations: 0.8149 MB / 0.5303 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1165, allocations: 7.938 kB / 0.5303 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1167, allocations: 55.33 kB / 0.5303 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.1171, allocations: 154.8 kB / 0.5305 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1174, allocations: 123.8 kB / 0.5306 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.118, allocations: 0.5216 MB / 0.5311 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1182, allocations: 102 kB / 0.5312 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.1185, allocations: 219.1 kB / 0.5314 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.1188, allocations: 194.9 kB / 0.5316 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.1189, allocations: 39.98 kB / 0.5316 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.119, allocations: 40 kB / 0.5317 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1191, allocations: 95.55 kB / 0.5317 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.1193, allocations: 187 kB / 0.5319 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.1198, allocations: 441.9 kB / 0.5323 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1198, allocations: 0 / 0.5323 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1198, allocations: 0 / 0.5323 GB, free: 7.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1198, allocations: 0 / 0.5323 GB, free: 7.758 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001429/0.1212, allocations: 0.742 MB / 0.5331 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1213, allocations: 8.031 kB / 0.5331 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1214, allocations: 60.55 kB / 0.5331 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.122, allocations: 312.5 kB / 0.5334 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.122, allocations: 25.03 kB / 0.5335 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.122, allocations: 40.33 kB / 0.5335 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.1226, allocations: 322.2 kB / 0.5338 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1226, allocations: 3.984 kB / 0.5338 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.1227, allocations: 16 kB / 0.5338 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1227, allocations: 4 kB / 0.5338 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.1231, allocations: 210.5 kB / 0.534 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.1249, allocations: 0.9721 MB / 0.535 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.1254, allocations: 243.6 kB / 0.5352 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.1256, allocations: 121.3 kB / 0.5353 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1257, allocations: 4.281 kB / 0.5353 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.1257, allocations: 38.84 kB / 0.5354 GB, free: 4.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.1257, allocations: 0 / 0.5354 GB, free: 4.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002114/0.1278, allocations: 0.8649 MB / 0.5362 GB, free: 3.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1279, allocations: 55.41 kB / 0.5363 GB, free: 3.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.1283, allocations: 377.5 kB / 0.5366 GB, free: 3.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1283, allocations: 33.7 kB / 0.5367 GB, free: 3.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1285, allocations: 221.2 kB / 0.5369 GB, free: 2.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1286, allocations: 134.8 kB / 0.537 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1287, allocations: 78.08 kB / 0.5371 GB, free: 2.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1289, allocations: 350.7 kB / 0.5374 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1291, allocations: 96.83 kB / 0.5375 GB, free: 2.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.1293, allocations: 148.5 kB / 0.5376 GB, free: 2.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.1298, allocations: 256 kB / 0.5379 GB, free: 1.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1298, allocations: 0 / 0.5379 GB, free: 1.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005944/0.1304, allocations: 349.2 kB / 0.5382 GB, free: 1.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1304, allocations: 4 kB / 0.5382 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1304, allocations: 4 kB / 0.5382 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1304, allocations: 0 / 0.5382 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.1311, allocations: 139.8 kB / 0.5384 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1939/0.325, allocations: 1.321 MB / 0.5396 GB, free: 22.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.3254, allocations: 9.812 kB / 0.5397 GB, free: 22.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.3254, allocations: 18.91 kB / 0.5397 GB, free: 22.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001581/0.3256, allocations: 149.5 kB / 0.5398 GB, free: 22.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.3256, allocations: 43.59 kB / 0.5399 GB, free: 22.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.3261, allocations: 319.5 kB / 0.5402 GB, free: 22.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3261, allocations: 4.312 kB / 0.5402 GB, free: 22.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3261, allocations: 0 / 0.5402 GB, free: 22.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3261, allocations: 3.719 kB / 0.5402 GB, free: 22.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009268/0.3271, allocations: 0.6679 MB / 0.5408 GB, free: 21.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3271, allocations: 0 / 0.5408 GB, free: 21.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.3275, allocations: 80.5 kB / 0.5409 GB, free: 21.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3275, allocations: 0 / 0.5409 GB, free: 21.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3275, allocations: 11.02 kB / 0.5409 GB, free: 21.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.3275, allocations: 3.766 kB / 0.5409 GB, free: 21.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3275, allocations: 1.031 kB / 0.5409 GB, free: 21.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.3281, allocations: 0.5178 MB / 0.5414 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3282, allocations: 64.45 kB / 0.5415 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.3283, allocations: 7.469 kB / 0.5415 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.3285, allocations: 17.27 kB / 0.5415 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3286, allocations: 19.77 kB / 0.5415 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3286, allocations: 11.77 kB / 0.5415 GB, free: 21.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.3288, allocations: 262.1 kB / 0.5418 GB, free: 21.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3288, allocations: 0 / 0.5418 GB, free: 21.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.3292, allocations: 88.84 kB / 0.5419 GB, free: 21.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.402e-05/0.3292, allocations: 110.4 kB / 0.542 GB, free: 21.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006111/0.3299, allocations: 267 kB / 0.5422 GB, free: 21.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3299, allocations: 1.438 kB / 0.5422 GB, free: 21.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.33, allocations: 120.4 kB / 0.5423 GB, free: 21.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.3306, allocations: 86.69 kB / 0.5424 GB, free: 21.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3322, allocations: 1.122 MB / 0.5435 GB, free: 20.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.3324, allocations: 226.9 kB / 0.5437 GB, free: 20.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.3325, allocations: 49 kB / 0.5438 GB, free: 20.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3326, allocations: 37.42 kB / 0.5438 GB, free: 20.72 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3326, allocations: 0 / 0.5438 GB, free: 20.72 MB / 414.1 MB Notification: Performance of Templates: time 0.009596/0.3422, allocations: 4.901 MB / 0.5486 GB, free: 20.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.775240624323487] Failed to read output from testmodel.py, exit status != 0: 0.35049597546458244 0.361768709 0.23946794600000001 Calling exit ...