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.001283/0.001283, allocations: 111.7 kB / 19.74 MB, free: 2.164 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: 222.1 kB / 23.05 MB, free: 5 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.03779/0.03779, allocations: 6.135 MB / 319.4 MB, free: 12.96 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.001519/0.001519, allocations: 51.92 kB / 444.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 55.02 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.004731/0.1209, allocations: 2.953 MB / 0.4907 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1229, allocations: 0.8677 MB / 0.4916 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.123, allocations: 4 kB / 0.4916 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.1235, allocations: 151.1 kB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.1239, allocations: 143.1 kB / 0.4918 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1252, allocations: 0.6693 MB / 0.4925 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.1257, allocations: 314.5 kB / 0.4928 GB, free: 9.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.1259, allocations: 100.6 kB / 0.4929 GB, free: 9.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.1261, allocations: 135.5 kB / 0.493 GB, free: 8.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.1264, allocations: 203.2 kB / 0.4932 GB, free: 8.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.1264, allocations: 32 kB / 0.4932 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.1268, allocations: 191.8 kB / 0.4934 GB, free: 8.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.1269, allocations: 67.7 kB / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.127, allocations: 159.2 kB / 0.4936 GB, free: 8.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006592/0.1277, allocations: 474.2 kB / 0.4941 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1277, allocations: 0 / 0.4941 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1277, allocations: 0 / 0.4941 GB, free: 7.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1277, allocations: 4 kB / 0.4941 GB, free: 7.82 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.002628/0.1303, allocations: 0.8289 MB / 0.4949 GB, free: 6.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1304, allocations: 12.03 kB / 0.4949 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.962e-05/0.1305, allocations: 62.73 kB / 0.495 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.1306, allocations: 44.69 kB / 0.495 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1309, allocations: 210.8 kB / 0.4952 GB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.131, allocations: 92.55 kB / 0.4953 GB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.1311, allocations: 32.38 kB / 0.4953 GB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.1318, allocations: 418.1 kB / 0.4957 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1318, allocations: 0 / 0.4957 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.1318, allocations: 12 kB / 0.4958 GB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1319, allocations: 11.94 kB / 0.4958 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.1325, allocations: 410.5 kB / 0.4962 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.1347, allocations: 1.13 MB / 0.4973 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.1359, allocations: 482.7 kB / 0.4977 GB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.1363, allocations: 208.8 kB / 0.4979 GB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.502e-05/0.1363, allocations: 11.98 kB / 0.4979 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.1364, allocations: 34.56 kB / 0.498 GB, free: 3.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.966e-06/0.1364, allocations: 0 / 0.498 GB, free: 3.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002785/0.1392, allocations: 0.9522 MB / 0.4989 GB, free: 2.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1392, allocations: 59.41 kB / 0.4989 GB, free: 2.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.1395, allocations: 211.1 kB / 0.4991 GB, free: 2.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1395, allocations: 33.7 kB / 0.4992 GB, free: 2.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1397, allocations: 157 kB / 0.4993 GB, free: 2.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.1398, allocations: 154.6 kB / 0.4995 GB, free: 2.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.14, allocations: 98.16 kB / 0.4996 GB, free: 2.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1402, allocations: 338.8 kB / 0.4999 GB, free: 1.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.1406, allocations: 220.9 kB / 0.5001 GB, free: 1.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.1411, allocations: 285.6 kB / 0.5004 GB, free: 1.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.1419, allocations: 0.4941 MB / 0.5009 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1419, allocations: 4 kB / 0.5009 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001839/0.1438, allocations: 0.78 MB / 0.5016 GB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1438, allocations: 7.125 kB / 0.5016 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1438, allocations: 4 kB / 0.5016 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.1451, allocations: 305.4 kB / 0.5019 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.1455, allocations: 87.83 kB / 0.502 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.1507, allocations: 3.721 MB / 0.5056 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.151, allocations: 43.69 kB / 0.5057 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.151, allocations: 16 kB / 0.5057 GB, free: 11.45 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.0002111/0.1512, allocations: 165.8 kB / 0.5059 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.1513, allocations: 23.8 kB / 0.5059 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.1531, allocations: 0.7351 MB / 0.5066 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.1531, allocations: 4 kB / 0.5066 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1531, allocations: 4 kB / 0.5066 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1531, allocations: 3.984 kB / 0.5066 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.1538, allocations: 492.5 kB / 0.5071 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1538, allocations: 7.938 kB / 0.5071 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.154, allocations: 63.91 kB / 0.5072 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.1553, allocations: 297.4 kB / 0.5074 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.1553, allocations: 4 kB / 0.5074 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.1603, allocations: 3.72 MB / 0.5111 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1603, allocations: 3.938 kB / 0.5111 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.1621, allocations: 0.767 MB / 0.5118 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.1621, allocations: 39.62 kB / 0.5119 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.1622, allocations: 8 kB / 0.5119 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1624, allocations: 8 kB / 0.5119 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1625, allocations: 40.36 kB / 0.5119 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.1625, allocations: 16 kB / 0.5119 GB, free: 4.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1627, allocations: 160.1 kB / 0.5121 GB, free: 4.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 0 / 0.5121 GB, free: 4.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000602/0.1633, allocations: 127.9 kB / 0.5122 GB, free: 4.461 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.002079/0.1654, allocations: 1.32 MB / 0.5135 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.1672, allocations: 0.85 MB / 0.5143 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1672, allocations: 0 / 0.5143 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.1684, allocations: 0.5782 MB / 0.5149 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1687, allocations: 23.98 kB / 0.5149 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.219/0.3877, allocations: 3.827 MB / 0.5186 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3879, allocations: 0.7749 MB / 0.5194 GB, free: 27.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.3881, allocations: 44.06 kB / 0.5194 GB, free: 27.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.3882, allocations: 99.78 kB / 0.5195 GB, free: 27.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3882, allocations: 0 / 0.5195 GB, free: 27.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.4334, allocations: 9.218 MB / 0.5285 GB, free: 26.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.73, allocations: 6.766 kB / 0.5286 GB, free: 26.93 MB / 382.1 MB " [Timeout remaining time 647] (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.460244270005205] Failed to read output from testmodel.py, exit status != 0: 12.846164131005935 12.868010977 12.737461876 Calling exit ...