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.001355/0.001355, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001561/0.001561, allocations: 212 kB / 23.73 MB, free: 4.387 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1955/0.1955, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.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.00228/0.00228, allocations: 67.89 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.376, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005612/0.3816, allocations: 3.45 MB / 0.5453 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.384, allocations: 1.423 MB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.3841, allocations: 9.281 kB / 0.5467 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009475/0.3851, allocations: 252 kB / 0.5469 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006874/0.3858, allocations: 282.8 kB / 0.5472 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3861, allocations: 122.9 kB / 0.5473 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.3866, allocations: 346.8 kB / 0.5477 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.3868, allocations: 122.9 kB / 0.5478 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.3871, allocations: 159.9 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.3874, allocations: 166.1 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3874, allocations: 14.91 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.3879, allocations: 272.2 kB / 0.5484 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.388, allocations: 101.4 kB / 0.5485 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3881, allocations: 89.8 kB / 0.5485 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.3886, allocations: 365.3 kB / 0.5489 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3886, allocations: 1.25 kB / 0.5489 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3886, allocations: 0 / 0.5489 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3886, allocations: 0 / 0.5489 GB, free: 11.05 MB / 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.0007005/0.3893, allocations: 456.7 kB / 0.5493 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3893, allocations: 13.61 kB / 0.5493 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.3894, allocations: 57.38 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.3903, allocations: 97.73 kB / 0.5495 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.3906, allocations: 217 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3907, allocations: 15.77 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.3907, allocations: 15.09 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.3912, allocations: 323.2 kB / 0.55 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3912, allocations: 1.062 kB / 0.55 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.3912, allocations: 13.92 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.3913, allocations: 14.75 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.3917, allocations: 290.1 kB / 0.5503 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.3935, allocations: 1.188 MB / 0.5515 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.3939, allocations: 222.4 kB / 0.5517 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3941, allocations: 95.5 kB / 0.5518 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3941, allocations: 2.25 kB / 0.5518 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.3941, allocations: 40.78 kB / 0.5518 GB, free: 8.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3941, allocations: 5.125 kB / 0.5519 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008069/0.3949, allocations: 439.4 kB / 0.5523 GB, free: 8.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.395, allocations: 84.67 kB / 0.5524 GB, free: 8.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3952, allocations: 205.8 kB / 0.5525 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3952, allocations: 26.77 kB / 0.5526 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3953, allocations: 159.8 kB / 0.5527 GB, free: 8.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.3954, allocations: 66.58 kB / 0.5528 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.3955, allocations: 52.56 kB / 0.5528 GB, free: 7.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3956, allocations: 323.6 kB / 0.5531 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3958, allocations: 92.06 kB / 0.5532 GB, free: 7.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.396, allocations: 167.4 kB / 0.5534 GB, free: 7.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.3963, allocations: 259.2 kB / 0.5536 GB, free: 7.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3963, allocations: 1.125 kB / 0.5536 GB, free: 7.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004365/0.3968, allocations: 294.7 kB / 0.5539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3968, allocations: 5.688 kB / 0.5539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3968, allocations: 6.156 kB / 0.5539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3968, allocations: 4.188 kB / 0.5539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.3971, allocations: 55.44 kB / 0.554 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.3971, allocations: 11.83 kB / 0.554 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3972, allocations: 11.81 kB / 0.554 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.3972, allocations: 16.08 kB / 0.554 GB, free: 7.043 MB / 398.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.0001622/0.3974, allocations: 149 kB / 0.5542 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.3974, allocations: 16.28 kB / 0.5542 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.3979, allocations: 244.6 kB / 0.5544 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3979, allocations: 2.5 kB / 0.5544 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3979, allocations: 1.125 kB / 0.5544 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3979, allocations: 0 / 0.5544 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.3994, allocations: 0.8999 MB / 0.5553 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.3994, allocations: 7.344 kB / 0.5553 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.3995, allocations: 38.94 kB / 0.5553 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.3995, allocations: 6.062 kB / 0.5554 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.3996, allocations: 13.62 kB / 0.5554 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.3996, allocations: 9.125 kB / 0.5554 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.3996, allocations: 7.656 kB / 0.5554 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.4001, allocations: 414.5 kB / 0.5558 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.4001, allocations: 19.86 kB / 0.5558 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.4002, allocations: 15.94 kB / 0.5558 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4003, allocations: 11.98 kB / 0.5558 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4004, allocations: 27.84 kB / 0.5558 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.4004, allocations: 12 kB / 0.5559 GB, free: 5.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.4005, allocations: 151 kB / 0.556 GB, free: 5.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4005, allocations: 0 / 0.556 GB, free: 5.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003798/0.4009, allocations: 52 kB / 0.5561 GB, free: 5.328 MB / 398.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.0007586/0.4017, allocations: 0.9442 MB / 0.557 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.4021, allocations: 215.5 kB / 0.5572 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4021, allocations: 4 kB / 0.5572 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4022, allocations: 97.31 kB / 0.5573 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.4027, allocations: 44.64 kB / 0.5573 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.4058, allocations: 2.684 MB / 0.5599 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.406, allocations: 156.2 kB / 0.5601 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.4061, allocations: 53.58 kB / 0.5601 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.4062, allocations: 67.41 kB / 0.5602 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4062, allocations: 0 / 0.5602 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.436, allocations: 4.745 MB / 0.5648 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.57, allocations: 6.422 kB / 0.5648 GB, free: 12.12 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.573606913909316] Failed to read output from testmodel.py, exit status != 0: 11.687156579922885 11.715885336 11.321799071 Calling exit ...