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.001078/0.001078, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00126/0.00126, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8686/0.8686, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2259/0.2259, allocations: 29.41 MB / 290.1 MB, free: 2.453 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.818e-05, allocations: 8.047 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002814/0.002843, allocations: 1.492 MB / 431.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007706/0.003613, allocations: 486.6 kB / 432.2 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.003671, allocations: 4 kB / 432.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.003887, allocations: 23.84 kB / 432.2 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.004129, allocations: 75.62 kB / 432.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.004327, allocations: 87.62 kB / 432.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.004476, allocations: 59.84 kB / 432.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.004524, allocations: 12.17 kB / 432.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.004695, allocations: 43.78 kB / 432.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.004777, allocations: 30.77 kB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.004795, allocations: 4 kB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.004975, allocations: 91.88 kB / 432.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.005038, allocations: 15.94 kB / 432.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.00507, allocations: 19.92 kB / 432.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.005345, allocations: 139.6 kB / 432.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.005349, allocations: 0 / 432.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.00535, allocations: 0 / 432.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005355, allocations: 3.938 kB / 432.8 MB, free: 11.05 MB / 410.7 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.0004629/0.005818, allocations: 333.5 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.005864, allocations: 15.98 kB / 433.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.0059, allocations: 34.75 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.005939, allocations: 8.891 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.006142, allocations: 138.5 kB / 433.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.006152, allocations: 384 / 433.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.006166, allocations: 8.375 kB / 433.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.006294, allocations: 85.67 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006303, allocations: 3.938 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.006313, allocations: 0 / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.006318, allocations: 3.938 kB / 433.4 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.006371, allocations: 19.98 kB / 433.4 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.006722, allocations: 255.9 kB / 433.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.006813, allocations: 34.56 kB / 433.7 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.006836, allocations: 20.86 kB / 433.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.00686, allocations: 7.922 kB / 433.7 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.006887, allocations: 34.56 kB / 433.7 MB, free: 9.922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.006889, allocations: 0 / 433.7 MB, free: 9.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001763/0.007065, allocations: 53.64 kB / 433.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.007111, allocations: 81.09 kB / 433.9 MB, free: 9.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.007268, allocations: 160.7 kB / 434 MB, free: 9.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.007281, allocations: 25.7 kB / 434.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.007336, allocations: 96.12 kB / 434.1 MB, free: 9.473 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.007352, allocations: 3.953 kB / 434.2 MB, free: 9.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.007387, allocations: 21.72 kB / 434.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.007489, allocations: 330.7 kB / 434.5 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.007505, allocations: 4 kB / 434.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.00754, allocations: 47.41 kB / 434.5 MB, free: 9.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.007575, allocations: 20.86 kB / 434.6 MB, free: 9.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007577, allocations: 0 / 434.6 MB, free: 9.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.857e-05/0.007656, allocations: 53.64 kB / 434.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.007668, allocations: 4 kB / 434.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.007674, allocations: 0 / 434.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007686, allocations: 4 kB / 434.6 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.007742, allocations: 7.969 kB / 434.6 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007747, allocations: 4 kB / 434.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.007772, allocations: 7.938 kB / 434.6 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.007777, allocations: 0 / 434.6 MB, free: 8.938 MB / 410.7 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 7.265e-05/0.007849, allocations: 121.8 kB / 434.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.007877, allocations: 3.953 kB / 434.8 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.00799, allocations: 58.02 kB / 434.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007992, allocations: 0 / 434.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007996, allocations: 3.938 kB / 434.8 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.008, allocations: 4 kB / 434.8 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.008162, allocations: 152.6 kB / 435 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008164, allocations: 4 kB / 435 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.00819, allocations: 4 kB / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.008192, allocations: 0 / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.008199, allocations: 0 / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.008202, allocations: 3.938 kB / 435 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008203, allocations: 4 kB / 435 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.008316, allocations: 151.4 kB / 435.1 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.00833, allocations: 3.984 kB / 435.2 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.008345, allocations: 4.422 kB / 435.2 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.008394, allocations: 4 kB / 435.2 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.008407, allocations: 4 kB / 435.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.00841, allocations: 0 / 435.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.681e-05/0.008497, allocations: 119.2 kB / 435.3 MB, free: 8.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008497, allocations: 0 / 435.3 MB, free: 8.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.008796, allocations: 43.81 kB / 435.3 MB, free: 8.18 MB / 410.7 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.001186/0.009982, allocations: 1.058 MB / 436.4 MB, free: 7.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.01008, allocations: 19.98 kB / 436.4 MB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01008, allocations: 0 / 436.4 MB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-06/0.01009, allocations: 7.984 kB / 436.4 MB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01034, allocations: 15.94 kB / 436.4 MB, free: 7.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.01121, allocations: 1.364 MB / 437.8 MB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.01126, allocations: 79.33 kB / 437.9 MB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.01131, allocations: 15.97 kB / 437.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.01136, allocations: 32.48 kB / 437.9 MB, free: 5.652 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01136, allocations: 0 / 437.9 MB, free: 5.652 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.02856, allocations: 3.78 MB / 441.7 MB, free: 1.891 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.964, allocations: 0 / 441.7 MB, free: 1.891 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.046932300552726] Failed to read output from testmodel.py, exit status != 0: 7.062571399845183 7.229740238 7.221959109 Calling exit ...