Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001361/0.001361, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001493/0.001493, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.569/1.569, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.1908/0.1908, allocations: 38.5 MB / 348.7 MB, free: 2.59 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.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001918/0.001918, allocations: 67.91 kB / 487.1 MB, free: 22.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1283, allocations: 62.41 MB / 0.5367 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009615/0.1379, allocations: 7.795 MB / 0.5443 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007419/0.1453, allocations: 4.81 MB / 0.549 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.1458, allocations: 15.94 kB / 0.549 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.1486, allocations: 1.097 MB / 0.5501 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.1519, allocations: 1.273 MB / 0.5513 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1529, allocations: 378.9 kB / 0.5517 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.1549, allocations: 1.457 MB / 0.5531 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.1557, allocations: 0.5251 MB / 0.5536 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.1569, allocations: 0.6575 MB / 0.5542 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.1581, allocations: 0.771 MB / 0.555 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1582, allocations: 68 kB / 0.5551 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.1609, allocations: 1.481 MB / 0.5565 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.1614, allocations: 0.4909 MB / 0.557 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.1619, allocations: 461.9 kB / 0.5574 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.1642, allocations: 1.542 MB / 0.5589 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1642, allocations: 0 / 0.5589 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1642, allocations: 0 / 0.5589 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1642, allocations: 0 / 0.5589 GB, free: 0.7852 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001906/0.1661, allocations: 1.204 MB / 0.5601 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1662, allocations: 8.031 kB / 0.5601 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.1663, allocations: 131.4 kB / 0.5602 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/0.1698, allocations: 407.9 kB / 0.5606 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/0.1706, allocations: 0.5034 MB / 0.5611 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.1706, allocations: 58.36 kB / 0.5612 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.1708, allocations: 80.31 kB / 0.5612 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.1727, allocations: 1.23 MB / 0.5624 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.1727, allocations: 3.938 kB / 0.5625 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.1728, allocations: 32 kB / 0.5625 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.1729, allocations: 73.95 kB / 0.5626 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.1749, allocations: 1.315 MB / 0.5638 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.181, allocations: 3.689 MB / 0.5674 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.183, allocations: 1.014 MB / 0.5684 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009098/0.1839, allocations: 0.5786 MB / 0.569 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/0.184, allocations: 21.12 kB / 0.569 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.184, allocations: 39.56 kB / 0.5691 GB, free: 6.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.825e-06/0.184, allocations: 4 kB / 0.5691 GB, free: 6.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.007352/0.1913, allocations: 3.139 MB / 0.5721 GB, free: 2.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.1914, allocations: 90.14 kB / 0.5722 GB, free: 2.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.1919, allocations: 385.5 kB / 0.5726 GB, free: 2.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.192, allocations: 41.7 kB / 0.5726 GB, free: 2.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.1923, allocations: 336.8 kB / 0.5729 GB, free: 2.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.1926, allocations: 333.1 kB / 0.5733 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.1929, allocations: 162.6 kB / 0.5734 GB, free: 1.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1931, allocations: 370.8 kB / 0.5738 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.1939, allocations: 469.7 kB / 0.5742 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008427/0.1947, allocations: 0.5743 MB / 0.5748 GB, free: 176 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.1964, allocations: 1.114 MB / 0.5759 GB, free: 15.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1964, allocations: 0 / 0.5759 GB, free: 15.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002822/0.1992, allocations: 1.473 MB / 0.5773 GB, free: 13.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.1993, allocations: 4 kB / 0.5773 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.1993, allocations: 4 kB / 0.5773 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.2004, allocations: 340.7 kB / 0.5776 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/0.2012, allocations: 187.7 kB / 0.5778 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006357/0.2075, allocations: 4.175 MB / 0.5819 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.2082, allocations: 47.94 kB / 0.5819 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.2083, allocations: 39.92 kB / 0.582 GB, free: 8.586 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0004868/0.2088, allocations: 310.2 kB / 0.5823 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.2089, allocations: 63.62 kB / 0.5823 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.2118, allocations: 1.536 MB / 0.5838 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2119, allocations: 8 kB / 0.5838 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2119, allocations: 4 kB / 0.5838 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/0.2119, allocations: 7.984 kB / 0.5838 GB, free: 6.645 MB / 446.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.005259/0.2171, allocations: 3.007 MB / 0.5868 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.2171, allocations: 4.438 kB / 0.5868 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.2178, allocations: 167.8 kB / 0.5869 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008925/0.2187, allocations: 288.5 kB / 0.5872 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.2188, allocations: 27.92 kB / 0.5873 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.257/0.4758, allocations: 3.884 MB / 0.591 GB, free: 49.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.4758, allocations: 11.78 kB / 0.5911 GB, free: 49.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.4783, allocations: 1.577 MB / 0.5926 GB, free: 48.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.4785, allocations: 143.1 kB / 0.5927 GB, free: 48.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.4786, allocations: 21.98 kB / 0.5928 GB, free: 48.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.479, allocations: 42.11 kB / 0.5928 GB, free: 48.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.4792, allocations: 81.69 kB / 0.5929 GB, free: 48.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.4793, allocations: 36.27 kB / 0.5929 GB, free: 48.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003273/0.4796, allocations: 267.9 kB / 0.5932 GB, free: 48.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4796, allocations: 0 / 0.5932 GB, free: 48.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001129/0.4807, allocations: 310.6 kB / 0.5935 GB, free: 48.62 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.002786/0.4835, allocations: 2.141 MB / 0.5955 GB, free: 47.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.4859, allocations: 1.323 MB / 0.5968 GB, free: 47.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4859, allocations: 3.469 kB / 0.5968 GB, free: 47.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.4872, allocations: 0.7916 MB / 0.5976 GB, free: 47.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.4879, allocations: 110.8 kB / 0.5977 GB, free: 46.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.4991, allocations: 7.63 MB / 0.6052 GB, free: 43.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.4998, allocations: 1.084 MB / 0.6062 GB, free: 42.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004661/0.5002, allocations: 181.5 kB / 0.6064 GB, free: 42.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.5006, allocations: 270 kB / 0.6067 GB, free: 42.25 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5006, allocations: 0 / 0.6067 GB, free: 42.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/0.5481, allocations: 17.07 MB / 0.6233 GB, free: 32.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.44, allocations: 11.41 kB / 0.6233 GB, free: 32.88 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened_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_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.602548666996881] Failed to read output from testmodel.py, exit status != 0: 11.543586692991084 11.553376431 11.386906172 Calling exit ...