Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.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.001398/0.001398, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001446/0.001446, allocations: 216.2 kB / 23.03 MB, free: 5.016 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0404/0.0404, allocations: 6.139 MB / 319.4 MB, free: 12.89 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 444.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 55.02 MB / 499.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.004866/0.122, allocations: 2.721 MB / 0.4904 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1238, allocations: 0.7941 MB / 0.4912 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.124, allocations: 8 kB / 0.4912 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.1244, allocations: 147.1 kB / 0.4913 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.1249, allocations: 139.1 kB / 0.4915 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1263, allocations: 0.6187 MB / 0.4921 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00058/0.1269, allocations: 314.5 kB / 0.4924 GB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.1272, allocations: 96.5 kB / 0.4925 GB, free: 9.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1274, allocations: 139.4 kB / 0.4926 GB, free: 9.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.1278, allocations: 179.2 kB / 0.4928 GB, free: 8.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.1279, allocations: 32 kB / 0.4928 GB, free: 8.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.1284, allocations: 179.8 kB / 0.493 GB, free: 8.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.1285, allocations: 67.7 kB / 0.493 GB, free: 8.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1286, allocations: 127.4 kB / 0.4932 GB, free: 8.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.1294, allocations: 482.2 kB / 0.4936 GB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1294, allocations: 0 / 0.4936 GB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1294, allocations: 0 / 0.4936 GB, free: 8.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1294, allocations: 0 / 0.4936 GB, free: 8.055 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002848/0.1323, allocations: 0.8328 MB / 0.4944 GB, free: 7.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1323, allocations: 8.031 kB / 0.4944 GB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.185e-05/0.1324, allocations: 70.72 kB / 0.4945 GB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.978e-05/0.1325, allocations: 40.7 kB / 0.4945 GB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.133, allocations: 214.8 kB / 0.4947 GB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.1331, allocations: 88.61 kB / 0.4948 GB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1331, allocations: 28.38 kB / 0.4949 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.1339, allocations: 422 kB / 0.4953 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.134, allocations: 4 kB / 0.4953 GB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.134, allocations: 12 kB / 0.4953 GB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.134, allocations: 8 kB / 0.4953 GB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.1347, allocations: 410.5 kB / 0.4957 GB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.1367, allocations: 1.029 MB / 0.4967 GB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1379, allocations: 474.7 kB / 0.4971 GB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.1383, allocations: 204.8 kB / 0.4973 GB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.1383, allocations: 7.984 kB / 0.4973 GB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1384, allocations: 38.56 kB / 0.4974 GB, free: 4.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.1384, allocations: 4 kB / 0.4974 GB, free: 4.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002768/0.1411, allocations: 0.9483 MB / 0.4983 GB, free: 3.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1412, allocations: 55.41 kB / 0.4984 GB, free: 3.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1414, allocations: 215.1 kB / 0.4986 GB, free: 2.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.1415, allocations: 37.7 kB / 0.4986 GB, free: 2.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1416, allocations: 149 kB / 0.4987 GB, free: 2.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1417, allocations: 158.6 kB / 0.4989 GB, free: 2.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.1419, allocations: 98.11 kB / 0.499 GB, free: 2.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.1421, allocations: 338.8 kB / 0.4993 GB, free: 2.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.1426, allocations: 228.9 kB / 0.4995 GB, free: 1.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.143, allocations: 277.7 kB / 0.4998 GB, free: 1.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.1439, allocations: 0.5018 MB / 0.5003 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1439, allocations: 0 / 0.5003 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001872/0.1458, allocations: 0.7723 MB / 0.501 GB, free: 212 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1458, allocations: 4 kB / 0.501 GB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1458, allocations: 11.98 kB / 0.501 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.1473, allocations: 305.4 kB / 0.5013 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.1477, allocations: 83.83 kB / 0.5014 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005318/0.153, allocations: 3.682 MB / 0.505 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1533, allocations: 39.67 kB / 0.5051 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.1533, allocations: 16 kB / 0.5051 GB, free: 11.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.1535, allocations: 161.8 kB / 0.5052 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.1537, allocations: 27.81 kB / 0.5052 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.1556, allocations: 0.739 MB / 0.506 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1556, allocations: 7.938 kB / 0.506 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1556, allocations: 4 kB / 0.506 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1556, allocations: 3.984 kB / 0.506 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.1562, allocations: 408.8 kB / 0.5064 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1562, allocations: 0 / 0.5064 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.1565, allocations: 63.91 kB / 0.5064 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.1577, allocations: 301.4 kB / 0.5067 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.1577, allocations: 19.92 kB / 0.5067 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/0.1628, allocations: 3.657 MB / 0.5103 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1628, allocations: 4.031 kB / 0.5103 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.1646, allocations: 0.7708 MB / 0.5111 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.1646, allocations: 35.62 kB / 0.5111 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.1647, allocations: 12 kB / 0.5111 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.1649, allocations: 11.94 kB / 0.5111 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.165, allocations: 44.36 kB / 0.5112 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.165, allocations: 12 kB / 0.5112 GB, free: 5.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1652, allocations: 156.2 kB / 0.5113 GB, free: 5.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1652, allocations: 0 / 0.5113 GB, free: 5.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005389/0.1657, allocations: 131.9 kB / 0.5115 GB, free: 4.965 MB / 382.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: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002255/0.168, allocations: 1.324 MB / 0.5127 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.1699, allocations: 0.8461 MB / 0.5136 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1699, allocations: 0 / 0.5136 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.1712, allocations: 0.5858 MB / 0.5141 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1715, allocations: 24 kB / 0.5142 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2211/0.3926, allocations: 3.82 MB / 0.5179 GB, free: 28.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.3928, allocations: 172.3 kB / 0.5181 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3929, allocations: 51.25 kB / 0.5181 GB, free: 28.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3931, allocations: 94.83 kB / 0.5182 GB, free: 28.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3931, allocations: 2.188 kB / 0.5182 GB, free: 28.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/0.4433, allocations: 9.59 MB / 0.5276 GB, free: 27.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.28, allocations: 8.062 kB / 0.5276 GB, free: 27.21 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.058673241175711] Failed to read output from testmodel.py, exit status != 0: 12.40188129991293 12.427526845 12.293567188 Calling exit ...