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.001307/0.001307, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001653/0.001653, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.601/1.601, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1862/0.1862, allocations: 38.54 MB / 352.5 MB, free: 12.3 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.002608/0.002608, allocations: 75.88 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3366, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003064/0.3397, allocations: 1.487 MB / 0.5434 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.3406, allocations: 484.2 kB / 0.5438 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.3407, allocations: 0 / 0.5438 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.3409, allocations: 20.72 kB / 0.5439 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.3412, allocations: 80.03 kB / 0.5439 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.3414, allocations: 81.08 kB / 0.544 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.3416, allocations: 70.11 kB / 0.5441 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.3416, allocations: 2.844 kB / 0.5441 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3418, allocations: 37.03 kB / 0.5441 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.3418, allocations: 31.34 kB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3419, allocations: 3.312 kB / 0.5441 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.342, allocations: 98.94 kB / 0.5442 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.3421, allocations: 18.73 kB / 0.5443 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.3421, allocations: 20.95 kB / 0.5443 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3424, allocations: 134.2 kB / 0.5444 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3424, allocations: 5.094 kB / 0.5444 GB, free: 14.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3424, allocations: 0 / 0.5444 GB, free: 14.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3424, allocations: 0 / 0.5444 GB, free: 14.37 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.000444/0.3428, allocations: 323.1 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3429, allocations: 17.17 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.3429, allocations: 36.27 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.343, allocations: 8.422 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3432, allocations: 150.1 kB / 0.5449 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.3432, allocations: 1.562 kB / 0.5449 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3432, allocations: 6.625 kB / 0.5449 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3433, allocations: 88.97 kB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3433, allocations: 1.156 kB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3434, allocations: 0 / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3434, allocations: 1.188 kB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.3434, allocations: 18.02 kB / 0.545 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.3438, allocations: 256.4 kB / 0.5453 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.3439, allocations: 42.97 kB / 0.5453 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.3439, allocations: 12.59 kB / 0.5453 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3439, allocations: 1.812 kB / 0.5453 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3439, allocations: 30.56 kB / 0.5454 GB, free: 13.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3439, allocations: 2 kB / 0.5454 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.00017/0.3441, allocations: 60.89 kB / 0.5454 GB, free: 13.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3442, allocations: 79.11 kB / 0.5455 GB, free: 13.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3443, allocations: 154.4 kB / 0.5456 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3444, allocations: 33.7 kB / 0.5457 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.3444, allocations: 96 kB / 0.5458 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3444, allocations: 13.25 kB / 0.5458 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3445, allocations: 13.66 kB / 0.5458 GB, free: 12.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3446, allocations: 321.1 kB / 0.5461 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.3447, allocations: 7.703 kB / 0.5461 GB, free: 12.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.3447, allocations: 44.83 kB / 0.5462 GB, free: 12.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.3447, allocations: 26.06 kB / 0.5462 GB, free: 12.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3447, allocations: 0 / 0.5462 GB, free: 12.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.675e-05/0.3448, allocations: 52.89 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3449, allocations: 5.5 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3449, allocations: 4.031 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3449, allocations: 0 / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.3449, allocations: 5.031 kB / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3449, allocations: 0 / 0.5462 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.345, allocations: 9.312 kB / 0.5463 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.345, allocations: 1.062 kB / 0.5463 GB, free: 12.49 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 9.461e-05/0.3451, allocations: 118.9 kB / 0.5464 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.3451, allocations: 7.297 kB / 0.5464 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.3452, allocations: 61.45 kB / 0.5464 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3452, allocations: 5.469 kB / 0.5464 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3452, allocations: 4 kB / 0.5464 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3452, allocations: 3.938 kB / 0.5464 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3454, allocations: 141.4 kB / 0.5466 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3454, allocations: 1.125 kB / 0.5466 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.3454, allocations: 4.5 kB / 0.5466 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3454, allocations: 0 / 0.5466 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3455, allocations: 5.359 kB / 0.5466 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3455, allocations: 3.938 kB / 0.5466 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3455, allocations: 0 / 0.5466 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.3456, allocations: 156.8 kB / 0.5467 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.3456, allocations: 6.141 kB / 0.5467 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3456, allocations: 4.969 kB / 0.5468 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.3457, allocations: 1.094 kB / 0.5468 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.3457, allocations: 9.047 kB / 0.5468 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3457, allocations: 5.125 kB / 0.5468 GB, free: 11.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.3458, allocations: 123.2 kB / 0.5469 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3458, allocations: 0 / 0.5469 GB, free: 11.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.3461, allocations: 32.78 kB / 0.5469 GB, free: 11.84 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.002048/0.3482, allocations: 1.054 MB / 0.5479 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3483, allocations: 22.92 kB / 0.548 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3483, allocations: 0 / 0.548 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.3483, allocations: 6.875 kB / 0.548 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3487, allocations: 24.64 kB / 0.548 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.3503, allocations: 1.375 MB / 0.5493 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.069e-05/0.3504, allocations: 78.2 kB / 0.5494 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.968e-05/0.3505, allocations: 21 kB / 0.5494 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.3505, allocations: 25.36 kB / 0.5495 GB, free: 9.602 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3505, allocations: 0 / 0.5495 GB, free: 9.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.3806, allocations: 3.65 MB / 0.553 GB, free: 7.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 16 kB / 0.553 GB, free: 7.23 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.847066366113722] Failed to read output from testmodel.py, exit status != 0: 11.871721710078418 11.90088483 11.552979434 Calling exit ...