Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.001692/0.001692, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001816/0.001816, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1836/0.1836, allocations: 38.55 MB / 352.5 MB, free: 12.33 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.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",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.002099/0.002099, allocations: 59.91 kB / 492.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 62.47 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003301/0.3647, allocations: 1.493 MB / 0.5434 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000981/0.3657, allocations: 486.7 kB / 0.5438 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.3658, allocations: 0 / 0.5438 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.366, allocations: 20.98 kB / 0.5439 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3663, allocations: 80.55 kB / 0.5439 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3666, allocations: 80.58 kB / 0.544 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3668, allocations: 70.02 kB / 0.5441 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.3668, allocations: 7.328 kB / 0.5441 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.367, allocations: 28.33 kB / 0.5441 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.334e-05/0.3671, allocations: 31.66 kB / 0.5441 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3671, allocations: 7.281 kB / 0.5441 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.3673, allocations: 91.14 kB / 0.5442 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.3673, allocations: 22.19 kB / 0.5443 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3674, allocations: 17.53 kB / 0.5443 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3677, allocations: 139.3 kB / 0.5444 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3677, allocations: 0 / 0.5444 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3677, allocations: 0 / 0.5444 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3677, allocations: 0 / 0.5444 GB, free: 14.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005045/0.3682, allocations: 330.5 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3682, allocations: 13.7 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.3683, allocations: 36.62 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3683, allocations: 8.703 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3685, allocations: 143.8 kB / 0.5449 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3685, allocations: 1.969 kB / 0.5449 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3685, allocations: 10.31 kB / 0.5449 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3687, allocations: 89.58 kB / 0.545 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3687, allocations: 0 / 0.545 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3687, allocations: 1.25 kB / 0.545 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3687, allocations: 1.562 kB / 0.545 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.3688, allocations: 17.98 kB / 0.545 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.3691, allocations: 254.8 kB / 0.5453 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3692, allocations: 38.91 kB / 0.5453 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.3693, allocations: 9.078 kB / 0.5453 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3693, allocations: 1.188 kB / 0.5453 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3693, allocations: 36.03 kB / 0.5454 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3693, allocations: 0 / 0.5454 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001958/0.3695, allocations: 62.92 kB / 0.5454 GB, free: 13.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3696, allocations: 78.64 kB / 0.5455 GB, free: 13.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.3698, allocations: 156.2 kB / 0.5456 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3698, allocations: 29.7 kB / 0.5457 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3698, allocations: 104.2 kB / 0.5458 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.3699, allocations: 9.328 kB / 0.5458 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.3699, allocations: 12.59 kB / 0.5458 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3701, allocations: 325.4 kB / 0.5461 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.3701, allocations: 3.844 kB / 0.5461 GB, free: 12.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.3701, allocations: 49.03 kB / 0.5461 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.3702, allocations: 17.92 kB / 0.5462 GB, free: 12.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3702, allocations: 0 / 0.5462 GB, free: 12.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.12e-05/0.3703, allocations: 61.36 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3703, allocations: 4.406 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3703, allocations: 1.125 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3703, allocations: 4.031 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.3704, allocations: 4.281 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3704, allocations: 1.219 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.3704, allocations: 5.312 kB / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.3704, allocations: 0 / 0.5462 GB, free: 12.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.000105/0.3705, allocations: 119.7 kB / 0.5464 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3705, allocations: 7.172 kB / 0.5464 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.3707, allocations: 64.36 kB / 0.5464 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3707, allocations: 1.031 kB / 0.5464 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3707, allocations: 1.188 kB / 0.5464 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3707, allocations: 7.938 kB / 0.5464 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3709, allocations: 145.8 kB / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3709, allocations: 0 / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.3709, allocations: 4.125 kB / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3709, allocations: 1.375 kB / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3709, allocations: 0 / 0.5466 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.3709, allocations: 5.375 kB / 0.5466 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3709, allocations: 0 / 0.5466 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.3711, allocations: 151.9 kB / 0.5467 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.3711, allocations: 14.58 kB / 0.5467 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3711, allocations: 5.359 kB / 0.5467 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.3712, allocations: 4 kB / 0.5468 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.3712, allocations: 1.375 kB / 0.5468 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3712, allocations: 9.312 kB / 0.5468 GB, free: 11.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3713, allocations: 121.3 kB / 0.5469 GB, free: 11.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3713, allocations: 0 / 0.5469 GB, free: 11.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3716, allocations: 37.86 kB / 0.5469 GB, free: 11.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.001983/0.3735, allocations: 1.048 MB / 0.5479 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.3737, allocations: 23.08 kB / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3737, allocations: 0 / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.3737, allocations: 6.312 kB / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.3741, allocations: 27.42 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3756, allocations: 1.373 MB / 0.5493 GB, free: 9.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.665e-05/0.3757, allocations: 78.61 kB / 0.5494 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.447e-05/0.3758, allocations: 24.56 kB / 0.5494 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.3758, allocations: 24.7 kB / 0.5495 GB, free: 9.621 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3758, allocations: 0 / 0.5495 GB, free: 9.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.4149, allocations: 3.624 MB / 0.553 GB, free: 7.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 7.797 kB / 0.553 GB, free: 7.266 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Tables_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_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.557920299936086] Failed to read output from testmodel.py, exit status != 0: 11.739178449846804 11.756742964 11.385764842 Calling exit ...