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.001544/0.001544, allocations: 108.3 kB / 19.74 MB, free: 2.039 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.001497/0.001497, allocations: 217.8 kB / 23.03 MB, free: 4.871 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.03868/0.03868, allocations: 6.136 MB / 319.4 MB, free: 12.75 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.001627/0.001627, allocations: 47.92 kB / 444.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.108, allocations: 55.03 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.004739/0.1127, allocations: 2.728 MB / 0.4904 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1146, allocations: 0.7938 MB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1147, allocations: 4 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.1153, allocations: 147.2 kB / 0.4913 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.1157, allocations: 143.1 kB / 0.4915 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1171, allocations: 0.6147 MB / 0.4921 GB, free: 9.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.1176, allocations: 314.5 kB / 0.4924 GB, free: 9.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1178, allocations: 108.5 kB / 0.4925 GB, free: 9.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.118, allocations: 135.5 kB / 0.4926 GB, free: 8.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1183, allocations: 203.2 kB / 0.4928 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.1184, allocations: 28 kB / 0.4928 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.1188, allocations: 187.8 kB / 0.493 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.1188, allocations: 63.77 kB / 0.4931 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.119, allocations: 131.3 kB / 0.4932 GB, free: 8.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.1196, allocations: 478.2 kB / 0.4936 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1196, allocations: 7.984 kB / 0.4937 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1196, allocations: 0 / 0.4937 GB, free: 7.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1196, allocations: 0 / 0.4937 GB, free: 7.891 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.002516/0.1221, allocations: 0.8211 MB / 0.4945 GB, free: 7.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1222, allocations: 16.03 kB / 0.4945 GB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.33e-05/0.1222, allocations: 74.66 kB / 0.4945 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1224, allocations: 40.7 kB / 0.4946 GB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1227, allocations: 214.8 kB / 0.4948 GB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.532e-05/0.1228, allocations: 80.62 kB / 0.4949 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.1228, allocations: 36.38 kB / 0.4949 GB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.1235, allocations: 406.1 kB / 0.4953 GB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1235, allocations: 4 kB / 0.4953 GB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.1236, allocations: 8 kB / 0.4953 GB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.1236, allocations: 8 kB / 0.4953 GB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006944/0.1243, allocations: 414.5 kB / 0.4957 GB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.1265, allocations: 1.021 MB / 0.4967 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.1277, allocations: 478.7 kB / 0.4972 GB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.1281, allocations: 212.8 kB / 0.4974 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.1282, allocations: 11.94 kB / 0.4974 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.1282, allocations: 34.56 kB / 0.4974 GB, free: 3.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 4.008e-06/0.1282, allocations: 0 / 0.4974 GB, free: 3.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00284/0.1311, allocations: 0.9522 MB / 0.4983 GB, free: 2.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1311, allocations: 59.41 kB / 0.4984 GB, free: 2.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1314, allocations: 211.1 kB / 0.4986 GB, free: 2.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.1314, allocations: 37.7 kB / 0.4986 GB, free: 2.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1315, allocations: 157 kB / 0.4988 GB, free: 2.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1317, allocations: 154.6 kB / 0.4989 GB, free: 2.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.1318, allocations: 102.1 kB / 0.499 GB, free: 2.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.132, allocations: 338.8 kB / 0.4993 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.1323, allocations: 220.9 kB / 0.4996 GB, free: 1.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.1328, allocations: 273.7 kB / 0.4998 GB, free: 1.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.1335, allocations: 0.5019 MB / 0.5003 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1335, allocations: 3.938 kB / 0.5003 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001711/0.1353, allocations: 0.7761 MB / 0.5011 GB, free: 52 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1353, allocations: 11.98 kB / 0.5011 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1353, allocations: 0 / 0.5011 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.1366, allocations: 309.4 kB / 0.5014 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.1369, allocations: 87.83 kB / 0.5015 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.1418, allocations: 3.67 MB / 0.505 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.1421, allocations: 39.67 kB / 0.5051 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.1422, allocations: 20 kB / 0.5051 GB, free: 11.68 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.0002263/0.1424, allocations: 157.8 kB / 0.5052 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.1424, allocations: 27.81 kB / 0.5053 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.1442, allocations: 0.7471 MB / 0.506 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1442, allocations: 4 kB / 0.506 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1442, allocations: 4 kB / 0.506 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1442, allocations: 3.984 kB / 0.506 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.1448, allocations: 408.8 kB / 0.5064 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1448, allocations: 7.984 kB / 0.5064 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.145, allocations: 55.92 kB / 0.5065 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.1462, allocations: 309.4 kB / 0.5068 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.1462, allocations: 4 kB / 0.5068 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.151, allocations: 3.665 MB / 0.5103 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.151, allocations: 4 kB / 0.5103 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.1526, allocations: 0.7709 MB / 0.5111 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.1527, allocations: 39.67 kB / 0.5111 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1527, allocations: 7.953 kB / 0.5111 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1529, allocations: 12 kB / 0.5112 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.153, allocations: 40.3 kB / 0.5112 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.1531, allocations: 12 kB / 0.5112 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.1532, allocations: 160.1 kB / 0.5114 GB, free: 4.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1532, allocations: 4 kB / 0.5114 GB, free: 4.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.1538, allocations: 131.9 kB / 0.5115 GB, free: 4.809 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.00199/0.1557, allocations: 1.32 MB / 0.5128 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.1576, allocations: 0.8461 MB / 0.5136 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1576, allocations: 0 / 0.5136 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.1588, allocations: 0.578 MB / 0.5142 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1591, allocations: 23.94 kB / 0.5142 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2119/0.371, allocations: 3.829 MB / 0.5179 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3712, allocations: 168.9 kB / 0.5181 GB, free: 28.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.3713, allocations: 42.98 kB / 0.5181 GB, free: 28.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.3715, allocations: 97.47 kB / 0.5182 GB, free: 28.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3715, allocations: 3.844 kB / 0.5182 GB, free: 28.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.4146, allocations: 9.746 MB / 0.5277 GB, free: 27.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 3.953 kB / 0.5277 GB, free: 27.19 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: 14.811784957011696] Failed to read output from testmodel.py, exit status != 0: 12.206646582984831 12.229141224 12.106214718 Calling exit ...