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.001915/0.001915, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002829/0.002829, allocations: 217 kB / 23.75 MB, free: 4.668 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1912/0.1912, allocations: 38.52 MB / 352.5 MB, free: 12.54 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.002146/0.002146, allocations: 67.89 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3094, allocations: 62.48 MB / 0.542 GB, free: 324 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003095/0.3125, allocations: 1.495 MB / 0.5434 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.3135, allocations: 0.4994 MB / 0.5439 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.3136, allocations: 0 / 0.5439 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3138, allocations: 28.5 kB / 0.544 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.3141, allocations: 75.94 kB / 0.544 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.3144, allocations: 85.33 kB / 0.5441 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3145, allocations: 69.77 kB / 0.5442 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.3146, allocations: 3.219 kB / 0.5442 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.3147, allocations: 37.62 kB / 0.5442 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.3148, allocations: 23.48 kB / 0.5442 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3148, allocations: 3.844 kB / 0.5442 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.315, allocations: 107.5 kB / 0.5443 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.3151, allocations: 19.02 kB / 0.5444 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.3151, allocations: 23.45 kB / 0.5444 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3153, allocations: 138.3 kB / 0.5445 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3154, allocations: 4 kB / 0.5445 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3154, allocations: 4 kB / 0.5445 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3154, allocations: 2.062 kB / 0.5445 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.0004698/0.3158, allocations: 328.2 kB / 0.5448 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3159, allocations: 13.98 kB / 0.5449 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.3159, allocations: 34.75 kB / 0.5449 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.3159, allocations: 12.05 kB / 0.5449 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.3162, allocations: 142.7 kB / 0.545 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3162, allocations: 1.75 kB / 0.545 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3162, allocations: 9.5 kB / 0.545 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3163, allocations: 63.72 kB / 0.5451 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.3163, allocations: 0 / 0.5451 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3163, allocations: 5.375 kB / 0.5451 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3163, allocations: 0 / 0.5451 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.3164, allocations: 22.92 kB / 0.5451 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.3168, allocations: 251.3 kB / 0.5454 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.554e-05/0.3169, allocations: 42.92 kB / 0.5454 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.3169, allocations: 16.92 kB / 0.5454 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3169, allocations: 1.375 kB / 0.5454 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3169, allocations: 30.56 kB / 0.5455 GB, free: 13.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3169, allocations: 0 / 0.5455 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001688/0.3171, allocations: 55.52 kB / 0.5455 GB, free: 13.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.3172, allocations: 78.48 kB / 0.5456 GB, free: 13.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3174, allocations: 161.5 kB / 0.5457 GB, free: 13.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3174, allocations: 26.95 kB / 0.5458 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.3175, allocations: 99.58 kB / 0.5459 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3175, allocations: 9.703 kB / 0.5459 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3175, allocations: 17.53 kB / 0.5459 GB, free: 12.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3177, allocations: 324.2 kB / 0.5462 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.3177, allocations: 6.906 kB / 0.5462 GB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.3177, allocations: 23.59 kB / 0.5462 GB, free: 12.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.3177, allocations: 22.12 kB / 0.5462 GB, free: 12.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3177, allocations: 3.938 kB / 0.5463 GB, free: 12.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.368e-05/0.3178, allocations: 52.27 kB / 0.5463 GB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3178, allocations: 5.875 kB / 0.5463 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3179, allocations: 3.984 kB / 0.5463 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3179, allocations: 0 / 0.5463 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.3179, allocations: 4.781 kB / 0.5463 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3179, allocations: 3.938 kB / 0.5463 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.3179, allocations: 4.844 kB / 0.5463 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.318, allocations: 5.938 kB / 0.5463 GB, free: 12.56 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 8.644e-05/0.318, allocations: 119 kB / 0.5464 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3181, allocations: 6.797 kB / 0.5464 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.3182, allocations: 57.38 kB / 0.5465 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3182, allocations: 0 / 0.5465 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.3182, allocations: 3.984 kB / 0.5465 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3182, allocations: 5.344 kB / 0.5465 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.3184, allocations: 141.4 kB / 0.5466 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3184, allocations: 0 / 0.5466 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.3184, allocations: 11.92 kB / 0.5467 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3184, allocations: 1.031 kB / 0.5467 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3184, allocations: 5.094 kB / 0.5467 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3184, allocations: 7.875 kB / 0.5467 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3184, allocations: 1.062 kB / 0.5467 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.3186, allocations: 150.8 kB / 0.5468 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.3186, allocations: 7.391 kB / 0.5468 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3186, allocations: 0 / 0.5468 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.193e-05/0.3187, allocations: 4.875 kB / 0.5468 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3187, allocations: 9.328 kB / 0.5468 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3187, allocations: 5.219 kB / 0.5468 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3188, allocations: 125.5 kB / 0.547 GB, free: 11.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3188, allocations: 0 / 0.547 GB, free: 11.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.3191, allocations: 33.5 kB / 0.547 GB, free: 11.91 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.001938/0.321, allocations: 1.027 MB / 0.548 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3211, allocations: 14.02 kB / 0.548 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3211, allocations: 1.406 kB / 0.548 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.3212, allocations: 12.56 kB / 0.548 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3215, allocations: 31.05 kB / 0.5481 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.323, allocations: 1.369 MB / 0.5494 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3234, allocations: 0.6893 MB / 0.5501 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.969e-05/0.3234, allocations: 16.47 kB / 0.5501 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.3235, allocations: 25.45 kB / 0.5501 GB, free: 9.043 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3235, allocations: 0 / 0.5501 GB, free: 9.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.354, allocations: 3.167 MB / 0.5532 GB, free: 7.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.45, allocations: 5.344 kB / 0.5532 GB, free: 7.152 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.41865754200262] Failed to read output from testmodel.py, exit status != 0: 11.608687909996661 11.625492539 11.306959563 Calling exit ...