Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001759/0.001759, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002426/0.002426, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.559/1.559, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.216/0.216, allocations: 38.51 MB / 348.7 MB, free: 2.609 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.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.00195/0.00195, allocations: 67.91 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1382, allocations: 62.4 MB / 0.5367 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009438/0.1476, allocations: 7.664 MB / 0.5442 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006747/0.1544, allocations: 4.222 MB / 0.5483 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.1551, allocations: 19.94 kB / 0.5483 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.1581, allocations: 1.05 MB / 0.5493 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.161, allocations: 1.102 MB / 0.5504 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.162, allocations: 311.1 kB / 0.5507 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.1643, allocations: 1.367 MB / 0.552 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007624/0.165, allocations: 364 kB / 0.5524 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.1661, allocations: 0.5795 MB / 0.5529 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009445/0.1671, allocations: 0.6461 MB / 0.5536 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.1671, allocations: 36 kB / 0.5536 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.1691, allocations: 1.028 MB / 0.5546 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.1695, allocations: 283.1 kB / 0.5549 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.1698, allocations: 242.9 kB / 0.5551 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.1712, allocations: 0.8174 MB / 0.5559 GB, free: 3.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1712, allocations: 0 / 0.5559 GB, free: 3.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1712, allocations: 0 / 0.5559 GB, free: 3.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1712, allocations: 3.938 kB / 0.5559 GB, free: 3.789 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001369/0.1726, allocations: 0.8183 MB / 0.5567 GB, free: 2.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1726, allocations: 16.03 kB / 0.5567 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.718e-05/0.1727, allocations: 74.7 kB / 0.5568 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.1742, allocations: 140.5 kB / 0.5569 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.1747, allocations: 330.7 kB / 0.5572 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.1748, allocations: 29.36 kB / 0.5573 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.1748, allocations: 44.36 kB / 0.5573 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.1757, allocations: 0.5828 MB / 0.5579 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1757, allocations: 3.938 kB / 0.5579 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.1757, allocations: 19.98 kB / 0.5579 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/0.1758, allocations: 36.62 kB / 0.5579 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.1764, allocations: 390.1 kB / 0.5583 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.1791, allocations: 2.596 MB / 0.5609 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.1797, allocations: 411.3 kB / 0.5612 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.18, allocations: 193.5 kB / 0.5614 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1801, allocations: 8 kB / 0.5614 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1801, allocations: 38.5 kB / 0.5615 GB, free: 13.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.1801, allocations: 0 / 0.5615 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.001777/0.1819, allocations: 0.7616 MB / 0.5622 GB, free: 12.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.1819, allocations: 110.8 kB / 0.5623 GB, free: 12.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.1823, allocations: 328.8 kB / 0.5626 GB, free: 12.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1823, allocations: 29.7 kB / 0.5627 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1825, allocations: 248.4 kB / 0.5629 GB, free: 12.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.1826, allocations: 126.9 kB / 0.563 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1827, allocations: 78.09 kB / 0.5631 GB, free: 12.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1829, allocations: 346.8 kB / 0.5634 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1831, allocations: 128.8 kB / 0.5636 GB, free: 11.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.1834, allocations: 279.4 kB / 0.5638 GB, free: 11.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.184, allocations: 460.1 kB / 0.5643 GB, free: 10.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1841, allocations: 4 kB / 0.5643 GB, free: 10.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008915/0.1849, allocations: 0.5585 MB / 0.5648 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.185, allocations: 8 kB / 0.5648 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.185, allocations: 11.94 kB / 0.5648 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.1853, allocations: 116.8 kB / 0.5649 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1856, allocations: 71.84 kB / 0.565 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.1885, allocations: 2.578 MB / 0.5675 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1887, allocations: 47.61 kB / 0.5676 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.1887, allocations: 27.92 kB / 0.5676 GB, free: 7.113 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.1889, allocations: 201.6 kB / 0.5678 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.189, allocations: 35.77 kB / 0.5678 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.1891, allocations: 52.02 kB / 0.5679 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1891, allocations: 4 kB / 0.5679 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.1892, allocations: 3.938 kB / 0.5679 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1892, allocations: 7.984 kB / 0.5679 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.1906, allocations: 0.9344 MB / 0.5688 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.1906, allocations: 3.984 kB / 0.5688 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.1907, allocations: 31.98 kB / 0.5688 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.191, allocations: 112.9 kB / 0.5689 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.191, allocations: 8 kB / 0.5689 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.1938, allocations: 2.548 MB / 0.5714 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1938, allocations: 4.031 kB / 0.5714 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.1946, allocations: 0.6228 MB / 0.572 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1947, allocations: 128.7 kB / 0.5722 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1948, allocations: 7.938 kB / 0.5722 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1949, allocations: 16.12 kB / 0.5722 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.195, allocations: 31.95 kB / 0.5722 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.195, allocations: 11.94 kB / 0.5722 GB, free: 2.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.1952, allocations: 223 kB / 0.5724 GB, free: 1.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1952, allocations: 3.938 kB / 0.5725 GB, free: 1.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006672/0.1959, allocations: 155.8 kB / 0.5726 GB, free: 1.699 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.197, allocations: 1.16 MB / 0.5737 GB, free: 0.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009085/0.198, allocations: 0.5028 MB / 0.5742 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.198, allocations: 0 / 0.5742 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.1984, allocations: 334.6 kB / 0.5745 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.199, allocations: 69.59 kB / 0.5746 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/0.2045, allocations: 3.992 MB / 0.5785 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.2051, allocations: 0.8785 MB / 0.5794 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000208/0.2053, allocations: 74.89 kB / 0.5794 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2055, allocations: 111.4 kB / 0.5795 GB, free: 10.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2055, allocations: 4 kB / 0.5795 GB, free: 10.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.2453, allocations: 7.714 MB / 0.5871 GB, free: 2.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.63, allocations: 11.98 kB / 0.5871 GB, free: 2.641 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_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_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.92909982999845] Failed to read output from testmodel.py, exit status != 0: 10.71971785700589 10.949897075 10.776178185 Calling exit ...