Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 186.4 kB / 23.71 MB, free: 4.715 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.409/1.409, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2926/0.2926, allocations: 49.57 MB / 336.3 MB, free: 4.125 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 71.89 kB / 476.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1178, allocations: 62.42 MB / 0.5266 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.004733/0.1225, allocations: 2.305 MB / 0.5288 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1243, allocations: 0.6592 MB / 0.5295 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1244, allocations: 11.94 kB / 0.5295 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.1246, allocations: 31.66 kB / 0.5295 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1249, allocations: 79.34 kB / 0.5296 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1251, allocations: 55.86 kB / 0.5296 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.1257, allocations: 282.7 kB / 0.5299 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.1259, allocations: 52.84 kB / 0.53 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.1261, allocations: 111.6 kB / 0.5301 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.1264, allocations: 115.4 kB / 0.5302 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.1264, allocations: 20 kB / 0.5302 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.1265, allocations: 16 kB / 0.5302 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.1266, allocations: 51.77 kB / 0.5303 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.1268, allocations: 115.3 kB / 0.5304 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.1272, allocations: 226.9 kB / 0.5306 GB, free: 9.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1272, allocations: 0 / 0.5306 GB, free: 9.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1272, allocations: 3.938 kB / 0.5306 GB, free: 9.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1272, allocations: 3.938 kB / 0.5306 GB, free: 9.703 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001261/0.1285, allocations: 0.4891 MB / 0.5311 GB, free: 9.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1285, allocations: 8.031 kB / 0.5311 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.1287, allocations: 40.73 kB / 0.5311 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.1293, allocations: 209.1 kB / 0.5313 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1294, allocations: 8.375 kB / 0.5313 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.1294, allocations: 20.38 kB / 0.5313 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.1299, allocations: 175.4 kB / 0.5315 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1299, allocations: 0 / 0.5315 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.13, allocations: 4 kB / 0.5315 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.13, allocations: 4 kB / 0.5315 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.1304, allocations: 119.9 kB / 0.5316 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1317, allocations: 0.5891 MB / 0.5322 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.1321, allocations: 134.5 kB / 0.5323 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.1323, allocations: 68.83 kB / 0.5324 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1324, allocations: 4 kB / 0.5324 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1324, allocations: 30.56 kB / 0.5324 GB, free: 7.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.1324, allocations: 0 / 0.5324 GB, free: 7.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001676/0.1341, allocations: 493.2 kB / 0.5329 GB, free: 7.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.1341, allocations: 59.34 kB / 0.533 GB, free: 7.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.1345, allocations: 233.1 kB / 0.5332 GB, free: 6.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1345, allocations: 33.64 kB / 0.5332 GB, free: 6.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1347, allocations: 148.5 kB / 0.5334 GB, free: 6.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.1348, allocations: 75.36 kB / 0.5334 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.1349, allocations: 37.72 kB / 0.5335 GB, free: 6.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1351, allocations: 338.8 kB / 0.5338 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.1353, allocations: 51.97 kB / 0.5338 GB, free: 6.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1355, allocations: 73.67 kB / 0.5339 GB, free: 6.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.1359, allocations: 133.9 kB / 0.534 GB, free: 5.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1359, allocations: 4 kB / 0.534 GB, free: 5.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000569/0.1365, allocations: 193.3 kB / 0.5342 GB, free: 5.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1365, allocations: 4 kB / 0.5342 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1365, allocations: 4 kB / 0.5342 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1365, allocations: 0 / 0.5342 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.1371, allocations: 71.89 kB / 0.5343 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.1387, allocations: 1.345 MB / 0.5356 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1389, allocations: 8.031 kB / 0.5356 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.1389, allocations: 8 kB / 0.5356 GB, free: 4.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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.0001972/0.1391, allocations: 133.8 kB / 0.5357 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.1392, allocations: 23.86 kB / 0.5358 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.1398, allocations: 187.6 kB / 0.536 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1398, allocations: 8.062 kB / 0.536 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1398, allocations: 0 / 0.536 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1398, allocations: 0 / 0.536 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.141, allocations: 0.5013 MB / 0.5364 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.141, allocations: 0 / 0.5364 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.1413, allocations: 47.91 kB / 0.5365 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1413, allocations: 0 / 0.5365 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1413, allocations: 4 kB / 0.5365 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1413, allocations: 4 kB / 0.5365 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.1413, allocations: 4 kB / 0.5365 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.1422, allocations: 343 kB / 0.5368 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1423, allocations: 27.89 kB / 0.5369 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.1423, allocations: 8 kB / 0.5369 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.1426, allocations: 11.98 kB / 0.5369 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.1427, allocations: 15.97 kB / 0.5369 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1427, allocations: 7.938 kB / 0.5369 GB, free: 2.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003397/0.143, allocations: 168.5 kB / 0.5371 GB, free: 2.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.143, allocations: 0 / 0.5371 GB, free: 2.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005346/0.1436, allocations: 44 kB / 0.5371 GB, free: 2.586 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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.0001518/0.1437, allocations: 99.19 kB / 0.5372 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008643/0.1446, allocations: 159.8 kB / 0.5374 GB, free: 2.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1446, allocations: 0 / 0.5374 GB, free: 2.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.1448, allocations: 72.38 kB / 0.5374 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.1455, allocations: 60.5 kB / 0.5375 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1477, allocations: 0.6526 MB / 0.5381 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.1482, allocations: 0.756 MB / 0.5389 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.1484, allocations: 25.61 kB / 0.5389 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1485, allocations: 23.44 kB / 0.5389 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1485, allocations: 0 / 0.5389 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of Templates: time 0.2277/0.3762, allocations: 2.522 MB / 0.5414 GB, free: 22.06 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.92089032381773] Failed to read output from testmodel.py, exit status != 0: 0.3845175923779607 0.396167839 0.26625564300000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f72aae497b0>