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.001499/0.001499, allocations: 109.4 kB / 17.16 MB, free: 5.855 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.001396/0.001396, allocations: 211.2 kB / 20.14 MB, free: 2.898 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.03871/0.03871, allocations: 6.133 MB / 315.7 MB, free: 1.125 MB / 238.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.001479/0.001479, allocations: 49.09 kB / 439.2 MB, free: 40.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 54.98 MB / 494.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.003478/0.1126, allocations: 2.93 MB / 497.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.114, allocations: 0.86 MB / 498 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1142, allocations: 8 kB / 498 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.1146, allocations: 143.2 kB / 498.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.115, allocations: 147 kB / 498.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1161, allocations: 0.6653 MB / 499 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.1164, allocations: 322.4 kB / 499.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1166, allocations: 100.3 kB / 499.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/0.1167, allocations: 139.5 kB / 499.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1169, allocations: 195.3 kB / 499.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1169, allocations: 32 kB / 499.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.1172, allocations: 187.8 kB / 499.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.1172, allocations: 67.75 kB / 500 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.9e-05/0.1173, allocations: 167.1 kB / 0.4884 GB, free: 4.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1177, allocations: 478.2 kB / 0.4889 GB, free: 4.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1177, allocations: 0 / 0.4889 GB, free: 4.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1177, allocations: 0 / 0.4889 GB, free: 4.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1178, allocations: 0 / 0.4889 GB, free: 4.145 MB / 350.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.002362/0.1201, allocations: 0.9041 MB / 0.4898 GB, free: 3.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1202, allocations: 8.031 kB / 0.4898 GB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.712e-05/0.1202, allocations: 70.72 kB / 0.4899 GB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.1203, allocations: 36.7 kB / 0.4899 GB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1206, allocations: 280.5 kB / 0.4902 GB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.1207, allocations: 84.61 kB / 0.4902 GB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.1207, allocations: 36.38 kB / 0.4903 GB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.1212, allocations: 402.1 kB / 0.4907 GB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1213, allocations: 0 / 0.4907 GB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.1213, allocations: 12 kB / 0.4907 GB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1213, allocations: 12 kB / 0.4907 GB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.1218, allocations: 402.4 kB / 0.4911 GB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.1234, allocations: 1.155 MB / 0.4922 GB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/0.1243, allocations: 466.8 kB / 0.4926 GB, free: 144 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.1246, allocations: 204.8 kB / 0.4928 GB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.1247, allocations: 19.92 kB / 0.4928 GB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1247, allocations: 34.56 kB / 0.4929 GB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.1247, allocations: 0 / 0.4929 GB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002986/0.1277, allocations: 1.091 MB / 0.4939 GB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1277, allocations: 55.41 kB / 0.494 GB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1279, allocations: 206.2 kB / 0.4942 GB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.128, allocations: 37.7 kB / 0.4942 GB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1281, allocations: 160.9 kB / 0.4944 GB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.1282, allocations: 158.6 kB / 0.4945 GB, free: 14.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.1284, allocations: 94.23 kB / 0.4946 GB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1286, allocations: 338.7 kB / 0.4949 GB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.129, allocations: 217 kB / 0.4952 GB, free: 13.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.1294, allocations: 274.4 kB / 0.4954 GB, free: 13.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.1302, allocations: 0.495 MB / 0.4959 GB, free: 12.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1302, allocations: 0 / 0.4959 GB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001991/0.1322, allocations: 0.7814 MB / 0.4967 GB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.1323, allocations: 8 kB / 0.4967 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1323, allocations: 0 / 0.4967 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.1338, allocations: 305.4 kB / 0.497 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.1341, allocations: 83.89 kB / 0.497 GB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.1394, allocations: 3.923 MB / 0.5009 GB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.1398, allocations: 39.72 kB / 0.5009 GB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.1398, allocations: 23.98 kB / 0.5009 GB, free: 7.199 MB / 366.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.0002262/0.14, allocations: 154.2 kB / 0.5011 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.1401, allocations: 19.86 kB / 0.5011 GB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.142, allocations: 0.7469 MB / 0.5018 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.142, allocations: 8 kB / 0.5018 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.142, allocations: 0 / 0.5018 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.142, allocations: 3.984 kB / 0.5018 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.1427, allocations: 0.5053 MB / 0.5023 GB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.1427, allocations: 3.938 kB / 0.5023 GB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.143, allocations: 59.91 kB / 0.5024 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.1443, allocations: 297.4 kB / 0.5027 GB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.1443, allocations: 12 kB / 0.5027 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005306/0.1496, allocations: 3.916 MB / 0.5065 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1496, allocations: 0 / 0.5065 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.1516, allocations: 0.7671 MB / 0.5073 GB, free: 352 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1517, allocations: 108.8 kB / 0.5074 GB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.1517, allocations: 8 kB / 0.5074 GB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.1519, allocations: 12.25 kB / 0.5074 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.1521, allocations: 36.38 kB / 0.5074 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.1521, allocations: 16 kB / 0.5074 GB, free: 152 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1523, allocations: 152.2 kB / 0.5076 GB, free: 0 / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1523, allocations: 112 / 0.5076 GB, free: 16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000621/0.1529, allocations: 139.8 kB / 0.5077 GB, free: 15.86 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.002173/0.1551, allocations: 1.326 MB / 0.509 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.157, allocations: 0.8347 MB / 0.5098 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1571, allocations: 0 / 0.5098 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.1583, allocations: 0.586 MB / 0.5104 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1587, allocations: 20 kB / 0.5104 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.1658, allocations: 3.808 MB / 0.5141 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.1663, allocations: 0.7764 MB / 0.5149 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.1664, allocations: 50.92 kB / 0.5149 GB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.1666, allocations: 99.33 kB / 0.515 GB, free: 8.137 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1666, allocations: 0 / 0.515 GB, free: 8.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.2086, allocations: 8.833 MB / 0.5237 GB, free: 15.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.76, allocations: 17.95 kB / 0.5237 GB, free: 15.4 MB / 398.1 MB " [Timeout remaining time 649] (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: 13.657660454991856] Failed to read output from testmodel.py, exit status != 0: 10.845922086999053 10.860900202 10.740137798 Calling exit ...