Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.00125/0.00125, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002317/0.002317, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1871/0.1871, allocations: 38.5 MB / 348.7 MB, free: 2.605 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.002577/0.002577, allocations: 75.83 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1368, allocations: 62.41 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005594/0.1424, allocations: 3.481 MB / 0.5401 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1448, allocations: 1.5 MB / 0.5415 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1449, allocations: 11.94 kB / 0.5415 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.1458, allocations: 263 kB / 0.5418 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007312/0.1465, allocations: 274.9 kB / 0.542 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1468, allocations: 111.7 kB / 0.5422 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.1473, allocations: 335.1 kB / 0.5425 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.1476, allocations: 113.7 kB / 0.5426 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.1479, allocations: 167.3 kB / 0.5427 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1482, allocations: 167.4 kB / 0.5429 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1482, allocations: 16 kB / 0.5429 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.1488, allocations: 323.2 kB / 0.5432 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1489, allocations: 103.7 kB / 0.5433 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.1491, allocations: 111.4 kB / 0.5434 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005085/0.1496, allocations: 334.8 kB / 0.5437 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1496, allocations: 4 kB / 0.5438 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1496, allocations: 0 / 0.5438 GB, free: 284 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1496, allocations: 0 / 0.5438 GB, free: 284 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00083/0.1504, allocations: 0.5215 MB / 0.5443 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1504, allocations: 12.03 kB / 0.5443 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.1505, allocations: 54.73 kB / 0.5443 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.1514, allocations: 92.69 kB / 0.5444 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.1518, allocations: 267.6 kB / 0.5447 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1518, allocations: 8.375 kB / 0.5447 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1518, allocations: 23.89 kB / 0.5447 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.1524, allocations: 326.2 kB / 0.545 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1524, allocations: 0 / 0.545 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.1524, allocations: 8 kB / 0.545 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.1524, allocations: 15.98 kB / 0.545 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.1529, allocations: 291.7 kB / 0.5453 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1547, allocations: 1.289 MB / 0.5466 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.1551, allocations: 226.3 kB / 0.5468 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.1552, allocations: 49.7 kB / 0.5468 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1553, allocations: 4 kB / 0.5468 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1553, allocations: 38.56 kB / 0.5469 GB, free: 12.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1553, allocations: 0 / 0.5469 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006431/0.1559, allocations: 300.4 kB / 0.5472 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.156, allocations: 81.05 kB / 0.5472 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1562, allocations: 198.6 kB / 0.5474 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.1562, allocations: 29.7 kB / 0.5475 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1564, allocations: 172.1 kB / 0.5476 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.1564, allocations: 47.7 kB / 0.5477 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.1565, allocations: 45.67 kB / 0.5477 GB, free: 11.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1566, allocations: 330.8 kB / 0.548 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.1567, allocations: 47.97 kB / 0.5481 GB, free: 11.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1569, allocations: 144.8 kB / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.1572, allocations: 212.7 kB / 0.5484 GB, free: 11.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1572, allocations: 0 / 0.5484 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004451/0.1577, allocations: 229.1 kB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1577, allocations: 12.38 kB / 0.5486 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1577, allocations: 11.94 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1577, allocations: 7.984 kB / 0.5487 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1579, allocations: 43.97 kB / 0.5487 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1579, allocations: 4 kB / 0.5487 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.158, allocations: 11.98 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.158, allocations: 8 kB / 0.5487 GB, free: 10.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001604/0.1582, allocations: 169.6 kB / 0.5489 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1582, allocations: 15.91 kB / 0.5489 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1585, allocations: 151.2 kB / 0.549 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1585, allocations: 4 kB / 0.549 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1585, allocations: 0 / 0.549 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1585, allocations: 3.938 kB / 0.5491 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1595, allocations: 0.669 MB / 0.5497 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1595, allocations: 4.062 kB / 0.5497 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1596, allocations: 40.3 kB / 0.5497 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1596, allocations: 4 kB / 0.5498 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1596, allocations: 12 kB / 0.5498 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.1596, allocations: 4 kB / 0.5498 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1596, allocations: 4 kB / 0.5498 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.16, allocations: 335.3 kB / 0.5501 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1601, allocations: 101 kB / 0.5502 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1601, allocations: 11.92 kB / 0.5502 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1602, allocations: 8 kB / 0.5502 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1603, allocations: 15.92 kB / 0.5502 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1603, allocations: 12 kB / 0.5502 GB, free: 9.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1604, allocations: 152.2 kB / 0.5504 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.5504 GB, free: 8.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.1608, allocations: 40 kB / 0.5504 GB, free: 8.836 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007662/0.1615, allocations: 0.8646 MB / 0.5513 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1618, allocations: 143.2 kB / 0.5514 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1618, allocations: 4.312 kB / 0.5514 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1619, allocations: 67.78 kB / 0.5515 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.1624, allocations: 39.47 kB / 0.5515 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.1655, allocations: 2.421 MB / 0.5539 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.1661, allocations: 0.7671 MB / 0.5546 GB, free: 4.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1662, allocations: 41.45 kB / 0.5547 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1663, allocations: 59.41 kB / 0.5547 GB, free: 4.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1663, allocations: 0 / 0.5547 GB, free: 4.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.1947, allocations: 3.525 MB / 0.5582 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.361, allocations: 6.891 kB / 0.5582 GB, free: 0.6328 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.35025648699957] Failed to read output from testmodel.py, exit status != 0: 8.42914449700038 8.443447007 8.2908222 Calling exit ...