Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001797/0.001797, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002545/0.002545, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.549/1.549, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1855/0.1855, allocations: 38.49 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.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.002853/0.002853, allocations: 71.89 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1339, allocations: 62.42 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005808/0.1397, allocations: 3.509 MB / 0.5401 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.1422, allocations: 1.543 MB / 0.5416 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.1424, allocations: 7.938 kB / 0.5416 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009559/0.1434, allocations: 266.9 kB / 0.5419 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.144, allocations: 279 kB / 0.5421 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.1444, allocations: 123.6 kB / 0.5422 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.1449, allocations: 339 kB / 0.5426 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1452, allocations: 128.9 kB / 0.5427 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.1455, allocations: 163.3 kB / 0.5428 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.1457, allocations: 159.4 kB / 0.543 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1458, allocations: 16 kB / 0.543 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000608/0.1464, allocations: 351.1 kB / 0.5433 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1465, allocations: 95.7 kB / 0.5434 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1466, allocations: 111.4 kB / 0.5435 GB, free: 496 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.1472, allocations: 358.8 kB / 0.5439 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1472, allocations: 0 / 0.5439 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1472, allocations: 0 / 0.5439 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1472, allocations: 0 / 0.5439 GB, free: 136 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.000793/0.148, allocations: 0.5254 MB / 0.5444 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.148, allocations: 8.031 kB / 0.5444 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.1481, allocations: 54.73 kB / 0.5445 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/0.149, allocations: 92.69 kB / 0.5445 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.1494, allocations: 275.8 kB / 0.5448 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1494, allocations: 16.38 kB / 0.5448 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1494, allocations: 16.36 kB / 0.5448 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.1499, allocations: 329.7 kB / 0.5452 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.15, allocations: 4 kB / 0.5452 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.15, allocations: 4 kB / 0.5452 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.106e-05/0.15, allocations: 23.98 kB / 0.5452 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.1505, allocations: 291.6 kB / 0.5455 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.1524, allocations: 1.268 MB / 0.5467 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.1529, allocations: 221 kB / 0.5469 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1531, allocations: 93.73 kB / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1531, allocations: 7.922 kB / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.1531, allocations: 34.56 kB / 0.547 GB, free: 12.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.1531, allocations: 4 kB / 0.547 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009814/0.1541, allocations: 451 kB / 0.5475 GB, free: 12.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.1542, allocations: 77.11 kB / 0.5475 GB, free: 12.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1544, allocations: 198.7 kB / 0.5477 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1544, allocations: 29.7 kB / 0.5478 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1546, allocations: 164.1 kB / 0.5479 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.1546, allocations: 59.48 kB / 0.548 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.1547, allocations: 49.83 kB / 0.548 GB, free: 11.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1549, allocations: 330.8 kB / 0.5483 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.155, allocations: 83.95 kB / 0.5484 GB, free: 11.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1552, allocations: 160.5 kB / 0.5486 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.1556, allocations: 268.4 kB / 0.5488 GB, free: 10.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1556, allocations: 0 / 0.5488 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004766/0.1561, allocations: 296 kB / 0.5491 GB, free: 10.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1561, allocations: 8 kB / 0.5491 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1561, allocations: 7.922 kB / 0.5491 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1561, allocations: 4.281 kB / 0.5491 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.1564, allocations: 55.91 kB / 0.5492 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1564, allocations: 7.938 kB / 0.5492 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1566, allocations: 15.98 kB / 0.5492 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1566, allocations: 12 kB / 0.5492 GB, free: 10.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0001702/0.1568, allocations: 158.3 kB / 0.5494 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.1568, allocations: 15.91 kB / 0.5494 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.1572, allocations: 227.3 kB / 0.5496 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1572, allocations: 4 kB / 0.5496 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1572, allocations: 4 kB / 0.5496 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1572, allocations: 3.984 kB / 0.5496 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.1587, allocations: 0.9516 MB / 0.5505 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.1587, allocations: 8.438 kB / 0.5505 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1589, allocations: 31.92 kB / 0.5506 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1589, allocations: 12 kB / 0.5506 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.1589, allocations: 15.92 kB / 0.5506 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1589, allocations: 7.984 kB / 0.5506 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.1589, allocations: 7.938 kB / 0.5506 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.1595, allocations: 416.9 kB / 0.551 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.1595, allocations: 105 kB / 0.5511 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.1596, allocations: 7.938 kB / 0.5511 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1598, allocations: 19.92 kB / 0.5511 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1598, allocations: 23.86 kB / 0.5512 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1598, allocations: 12 kB / 0.5512 GB, free: 8.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.16, allocations: 154.7 kB / 0.5513 GB, free: 7.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.5513 GB, free: 7.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.1604, allocations: 48 kB / 0.5514 GB, free: 7.883 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0008054/0.1612, allocations: 0.9473 MB / 0.5523 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.1615, allocations: 207.5 kB / 0.5525 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1615, allocations: 0 / 0.5525 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1617, allocations: 101.2 kB / 0.5526 GB, free: 6.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.1622, allocations: 54.66 kB / 0.5526 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.1655, allocations: 2.697 MB / 0.5553 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.166, allocations: 0.7554 MB / 0.556 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1661, allocations: 57.5 kB / 0.5561 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1663, allocations: 63.41 kB / 0.5561 GB, free: 2.684 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1663, allocations: 0 / 0.5561 GB, free: 2.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.1957, allocations: 4.178 MB / 0.5602 GB, free: 14.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.508, allocations: 7.875 kB / 0.5602 GB, free: 14.58 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest_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_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.46997106699564] Failed to read output from testmodel.py, exit status != 0: 8.57873832299083 8.592474951 8.442137442 Calling exit ...