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.001754/0.001754, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.00212/0.00212, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1882/0.1882, allocations: 38.51 MB / 348.7 MB, free: 2.574 MB / 270.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.001992/0.001992, allocations: 72.17 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 62.42 MB / 0.5367 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003149/0.1152, allocations: 1.404 MB / 0.538 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009682/0.1162, allocations: 0.4948 MB / 0.5385 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.1163, allocations: 0 / 0.5385 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.1165, allocations: 15.86 kB / 0.5385 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.1168, allocations: 87.61 kB / 0.5386 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.117, allocations: 87.22 kB / 0.5387 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1172, allocations: 63.81 kB / 0.5387 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1172, allocations: 4.188 kB / 0.5388 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.1174, allocations: 31.86 kB / 0.5388 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.1175, allocations: 35.77 kB / 0.5388 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1175, allocations: 4 kB / 0.5388 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.1177, allocations: 99.94 kB / 0.5389 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.1177, allocations: 19.92 kB / 0.5389 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.1178, allocations: 27.86 kB / 0.539 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.118, allocations: 139.7 kB / 0.5391 GB, free: 5.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.118, allocations: 0 / 0.5391 GB, free: 5.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.118, allocations: 0 / 0.5391 GB, free: 5.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.118, allocations: 0 / 0.5391 GB, free: 5.043 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.0005093/0.1186, allocations: 410.7 kB / 0.5395 GB, free: 4.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1186, allocations: 12.03 kB / 0.5395 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.1186, allocations: 30.75 kB / 0.5395 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.1187, allocations: 8.891 kB / 0.5395 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1189, allocations: 196.3 kB / 0.5397 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1189, allocations: 4.375 kB / 0.5397 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1189, allocations: 12 kB / 0.5397 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.119, allocations: 59.41 kB / 0.5398 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1191, allocations: 3.984 kB / 0.5398 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1191, allocations: 4 kB / 0.5398 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1191, allocations: 0 / 0.5398 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.133e-05/0.1191, allocations: 15.98 kB / 0.5398 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.1195, allocations: 300.8 kB / 0.5401 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.544e-05/0.1196, allocations: 34.56 kB / 0.5401 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.1196, allocations: 8.922 kB / 0.5401 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1197, allocations: 4 kB / 0.5401 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1197, allocations: 34.56 kB / 0.5402 GB, free: 3.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1197, allocations: 0 / 0.5402 GB, free: 3.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001913/0.1199, allocations: 61.58 kB / 0.5402 GB, free: 3.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.12, allocations: 81.09 kB / 0.5403 GB, free: 3.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1202, allocations: 153.8 kB / 0.5405 GB, free: 3.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1202, allocations: 25.7 kB / 0.5405 GB, free: 3.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.1203, allocations: 100.1 kB / 0.5406 GB, free: 3.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1203, allocations: 3.953 kB / 0.5406 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.1204, allocations: 17.72 kB / 0.5406 GB, free: 3.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1205, allocations: 322.8 kB / 0.5409 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.1205, allocations: 12 kB / 0.5409 GB, free: 2.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.1206, allocations: 17.7 kB / 0.5409 GB, free: 2.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.1206, allocations: 16.86 kB / 0.541 GB, free: 2.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1206, allocations: 0 / 0.541 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.974e-05/0.1207, allocations: 57.58 kB / 0.541 GB, free: 2.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1207, allocations: 4 kB / 0.541 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1207, allocations: 0 / 0.541 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1207, allocations: 0 / 0.541 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.1208, allocations: 7.938 kB / 0.541 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1208, allocations: 16 kB / 0.541 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.1208, allocations: 11.94 kB / 0.5411 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1208, allocations: 0 / 0.5411 GB, free: 2.785 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.39e-05/0.1209, allocations: 113.8 kB / 0.5412 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.121, allocations: 7.953 kB / 0.5412 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.1211, allocations: 65.86 kB / 0.5412 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1211, allocations: 0 / 0.5412 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1211, allocations: 0 / 0.5412 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1211, allocations: 4.312 kB / 0.5412 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1213, allocations: 181.6 kB / 0.5414 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1213, allocations: 0 / 0.5414 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.1213, allocations: 8 kB / 0.5414 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1213, allocations: 0 / 0.5414 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1213, allocations: 3.938 kB / 0.5414 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1213, allocations: 0 / 0.5414 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1213, allocations: 0 / 0.5414 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1215, allocations: 155.4 kB / 0.5416 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1216, allocations: 101 kB / 0.5417 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1216, allocations: 0 / 0.5417 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.1216, allocations: 0 / 0.5417 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.1216, allocations: 0 / 0.5417 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1216, allocations: 7.938 kB / 0.5417 GB, free: 2.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1218, allocations: 118.2 kB / 0.5418 GB, free: 1.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1218, allocations: 4 kB / 0.5418 GB, free: 1.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.122, allocations: 31.92 kB / 0.5418 GB, free: 1.895 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.001917/0.124, allocations: 1.014 MB / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.1241, allocations: 19.92 kB / 0.5428 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.1241, allocations: 4 kB / 0.5428 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.1241, allocations: 11.98 kB / 0.5428 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1245, allocations: 23.38 kB / 0.5429 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1259, allocations: 1.379 MB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1262, allocations: 0.6924 MB / 0.5449 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.636e-05/0.1263, allocations: 16.12 kB / 0.5449 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.1264, allocations: 27.42 kB / 0.5449 GB, free: 14.74 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1264, allocations: 0 / 0.5449 GB, free: 14.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.1532, allocations: 3.017 MB / 0.5479 GB, free: 11.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.335, allocations: 7.922 kB / 0.5479 GB, free: 11.72 MB / 414.1 MB " [Timeout remaining time 652] (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: 11.523034252997604] Failed to read output from testmodel.py, exit status != 0: 8.459663154993905 8.476175294 8.355139277 Calling exit ...