Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001343/0.001343, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00147/0.00147, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1849/0.1849, allocations: 38.54 MB / 352.5 MB, free: 12.53 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.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.002061/0.002061, allocations: 63.89 kB / 492.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008884/0.3523, allocations: 7.612 MB / 0.5495 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006552/0.3589, allocations: 4.494 MB / 0.5538 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/0.3594, allocations: 16.47 kB / 0.5539 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.3623, allocations: 1.071 MB / 0.5549 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.3654, allocations: 1.209 MB / 0.5561 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.3663, allocations: 326.9 kB / 0.5564 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.3681, allocations: 1.403 MB / 0.5578 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000816/0.3689, allocations: 0.5137 MB / 0.5583 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.37, allocations: 0.6393 MB / 0.5589 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.371, allocations: 0.7437 MB / 0.5596 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.193e-05/0.3711, allocations: 64 kB / 0.5597 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.3735, allocations: 1.372 MB / 0.561 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004974/0.374, allocations: 486.8 kB / 0.5615 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.3745, allocations: 441.9 kB / 0.5619 GB, free: 104 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.3767, allocations: 1.464 MB / 0.5633 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3767, allocations: 0 / 0.5633 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3767, allocations: 0 / 0.5633 GB, free: 14.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3767, allocations: 0 / 0.5633 GB, free: 14.63 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001783/0.3785, allocations: 1.082 MB / 0.5644 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3785, allocations: 15.98 kB / 0.5644 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.3787, allocations: 127.2 kB / 0.5645 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.3817, allocations: 395.9 kB / 0.5649 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.3825, allocations: 429.7 kB / 0.5653 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3826, allocations: 58.34 kB / 0.5654 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3827, allocations: 68.36 kB / 0.5654 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.3846, allocations: 1.184 MB / 0.5666 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.3846, allocations: 4 kB / 0.5666 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.3847, allocations: 31.98 kB / 0.5666 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.549e-05/0.3848, allocations: 73.95 kB / 0.5667 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3867, allocations: 1.237 MB / 0.5679 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.3925, allocations: 3.427 MB / 0.5712 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.3942, allocations: 0.9913 MB / 0.5722 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.3952, allocations: 0.5901 MB / 0.5728 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.3952, allocations: 16.98 kB / 0.5728 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3953, allocations: 47.55 kB / 0.5729 GB, free: 4.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 4.749e-06/0.3953, allocations: 7.938 kB / 0.5729 GB, free: 4.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006819/0.4021, allocations: 3.002 MB / 0.5758 GB, free: 1.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.4022, allocations: 86.11 kB / 0.5759 GB, free: 1.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.4026, allocations: 369.6 kB / 0.5762 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.4026, allocations: 41.7 kB / 0.5763 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.4029, allocations: 316.9 kB / 0.5766 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.4032, allocations: 329.1 kB / 0.5769 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.4034, allocations: 166.6 kB / 0.577 GB, free: 328 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4036, allocations: 366.7 kB / 0.5774 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.4044, allocations: 469.7 kB / 0.5778 GB, free: 15.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.4052, allocations: 0.5657 MB / 0.5784 GB, free: 14.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.4069, allocations: 1.117 MB / 0.5795 GB, free: 13.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4069, allocations: 4 kB / 0.5795 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00259/0.4094, allocations: 1.454 MB / 0.5809 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4095, allocations: 11.94 kB / 0.5809 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4095, allocations: 3.984 kB / 0.5809 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/0.4104, allocations: 336.8 kB / 0.5812 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.4112, allocations: 179.7 kB / 0.5814 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/0.417, allocations: 4.08 MB / 0.5854 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.4175, allocations: 43.95 kB / 0.5854 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.4176, allocations: 35.98 kB / 0.5855 GB, free: 7.465 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004485/0.4181, allocations: 301.6 kB / 0.5858 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4182, allocations: 59.62 kB / 0.5858 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.4211, allocations: 1.543 MB / 0.5873 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.4211, allocations: 16 kB / 0.5873 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4211, allocations: 8 kB / 0.5874 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4211, allocations: 3.984 kB / 0.5874 GB, free: 5.516 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005522/0.4266, allocations: 2.995 MB / 0.5903 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4267, allocations: 4 kB / 0.5903 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.4273, allocations: 171.7 kB / 0.5904 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008294/0.4282, allocations: 280.6 kB / 0.5907 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.526e-05/0.4282, allocations: 27.98 kB / 0.5907 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.4338, allocations: 3.815 MB / 0.5945 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4338, allocations: 4 kB / 0.5945 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.4365, allocations: 1.587 MB / 0.596 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.4366, allocations: 71.55 kB / 0.5961 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.4367, allocations: 27.92 kB / 0.5961 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.4372, allocations: 39.97 kB / 0.5962 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.4373, allocations: 88.78 kB / 0.5962 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.4374, allocations: 43.86 kB / 0.5963 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.4377, allocations: 255.2 kB / 0.5965 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4377, allocations: 3.938 kB / 0.5965 GB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009386/0.4387, allocations: 304 kB / 0.5968 GB, free: 11.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002949/0.4416, allocations: 2.149 MB / 0.5989 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.4438, allocations: 1.326 MB / 0.6002 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4439, allocations: 4.562 kB / 0.6002 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.4451, allocations: 0.7959 MB / 0.601 GB, free: 7.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.4458, allocations: 103.3 kB / 0.6011 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.4576, allocations: 7.542 MB / 0.6085 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/0.4585, allocations: 1.072 MB / 0.6095 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.459, allocations: 188.6 kB / 0.6097 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.4595, allocations: 259.3 kB / 0.6099 GB, free: 13.71 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4595, allocations: 0 / 0.6099 GB, free: 13.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/0.5107, allocations: 17.68 MB / 0.6272 GB, free: 12.15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.12, allocations: 0.5 kB / 0.6272 GB, free: 12.15 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_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_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.06036297000537] Failed to read output from testmodel.py, exit status != 0: 13.23698619499919 13.253263959 12.873388361 Calling exit ...