Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.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.001298/0.001298, 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.001363/0.001363, 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.672/1.672, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.03934/0.03934, allocations: 6.143 MB / 315.7 MB, free: 1.156 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.DistrictWithBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 55.97 kB / 439.3 MB, free: 40.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.1003, allocations: 54.97 MB / 494.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.005044/0.1053, allocations: 6.276 MB / 0.4888 GB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1078, allocations: 1.506 MB / 0.4903 GB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.1081, allocations: 16 kB / 0.4903 GB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.1087, allocations: 306 kB / 0.4906 GB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009613/0.1096, allocations: 0.52 MB / 0.4911 GB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.1117, allocations: 1.412 MB / 0.4924 GB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.113, allocations: 1.124 MB / 0.4935 GB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.1135, allocations: 276.9 kB / 0.4938 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.114, allocations: 498.1 kB / 0.4943 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.1148, allocations: 0.6185 MB / 0.4949 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.1149, allocations: 96 kB / 0.495 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.1156, allocations: 335.8 kB / 0.4953 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.1158, allocations: 243 kB / 0.4955 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005633/0.1164, allocations: 0.5519 MB / 0.4961 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1181, allocations: 1.311 MB / 0.4974 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1181, allocations: 4 kB / 0.4974 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1181, allocations: 0 / 0.4974 GB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1181, allocations: 4 kB / 0.4974 GB, free: 11.34 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01299/0.1311, allocations: 2.962 MB / 0.5003 GB, free: 8.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1311, allocations: 16.03 kB / 0.5003 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.1313, allocations: 135.2 kB / 0.5004 GB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.1316, allocations: 124.2 kB / 0.5005 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009892/0.1326, allocations: 0.6129 MB / 0.5011 GB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.1327, allocations: 134.3 kB / 0.5012 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.1329, allocations: 92.38 kB / 0.5013 GB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.1351, allocations: 1.291 MB / 0.5026 GB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1351, allocations: 4 kB / 0.5026 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.1352, allocations: 32 kB / 0.5026 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.1352, allocations: 23.98 kB / 0.5026 GB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.1373, allocations: 1.218 MB / 0.5038 GB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006775/0.1441, allocations: 3.877 MB / 0.5076 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.1469, allocations: 2.046 MB / 0.5096 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.1482, allocations: 0.8195 MB / 0.5104 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.1484, allocations: 33.19 kB / 0.5105 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.1484, allocations: 51.88 kB / 0.5105 GB, free: 13.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.597e-06/0.1484, allocations: 0 / 0.5105 GB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.03324/0.1817, allocations: 7.572 MB / 0.5179 GB, free: 5.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.1818, allocations: 149.8 kB / 0.518 GB, free: 5.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.1827, allocations: 0.538 MB / 0.5186 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.1829, allocations: 61.64 kB / 0.5186 GB, free: 5.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.1831, allocations: 298.8 kB / 0.5189 GB, free: 4.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/0.1836, allocations: 0.5111 MB / 0.5194 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005354/0.1841, allocations: 275.6 kB / 0.5197 GB, free: 3.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1843, allocations: 337.9 kB / 0.52 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.1857, allocations: 0.8356 MB / 0.5208 GB, free: 2.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.1874, allocations: 0.9658 MB / 0.5218 GB, free: 1.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.1904, allocations: 1.881 MB / 0.5236 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1904, allocations: 0 / 0.5236 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01039/0.2008, allocations: 3.558 MB / 0.5271 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.2009, allocations: 7.938 kB / 0.5271 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2009, allocations: 7.984 kB / 0.5271 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.2114, allocations: 2.291 MB / 0.5293 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2124, allocations: 215.7 kB / 0.5295 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.235, allocations: 10.81 MB / 0.5401 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.2362, allocations: 139.1 kB / 0.5402 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.2363, allocations: 59.97 kB / 0.5403 GB, free: 14.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (130): * Single equations (assignments): 129 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.0004858/0.2368, allocations: 246.2 kB / 0.5405 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.237, allocations: 99.39 kB / 0.5406 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.2475, allocations: 3.542 MB / 0.5441 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.2475, allocations: 16 kB / 0.5441 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2475, allocations: 0 / 0.5441 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.759e-05/0.2475, allocations: 11.97 kB / 0.5441 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.26, allocations: 5.053 MB / 0.549 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.2601, allocations: 0 / 0.549 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.2607, allocations: 163.8 kB / 0.5492 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/0.2708, allocations: 2.213 MB / 0.5513 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/0.2711, allocations: 35.98 kB / 0.5514 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/0.2931, allocations: 10.68 MB / 0.5618 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2931, allocations: 4 kB / 0.5618 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.3033, allocations: 3.465 MB / 0.5652 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.3037, allocations: 204 kB / 0.5654 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.3039, allocations: 28 kB / 0.5654 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.3049, allocations: 71.95 kB / 0.5655 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/0.3054, allocations: 138.2 kB / 0.5656 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.3055, allocations: 47.98 kB / 0.5657 GB, free: 4.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005422/0.306, allocations: 358.8 kB / 0.566 GB, free: 4.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.306, allocations: 0 / 0.566 GB, free: 4.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001605/0.3076, allocations: 0.5115 MB / 0.5665 GB, free: 3.539 MB / 430.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 (103): * Single equations (assignments): 102 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01076/0.3184, allocations: 4.074 MB / 0.5705 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007337/0.3257, allocations: 2.713 MB / 0.5731 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.3257, allocations: 4 kB / 0.5731 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004927/0.3307, allocations: 1.738 MB / 0.5748 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/0.3316, allocations: 117 kB / 0.5749 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2341/0.5656, allocations: 13.16 MB / 0.5878 GB, free: 92.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008919/0.5665, allocations: 1.056 MB / 0.5888 GB, free: 91.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006352/0.5671, allocations: 131.5 kB / 0.589 GB, free: 91.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/0.5677, allocations: 367.3 kB / 0.5893 GB, free: 91.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5677, allocations: 0 / 0.5893 GB, free: 91.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07807/0.6458, allocations: 44.22 MB / 0.6325 GB, free: 60.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.62, allocations: 0.6562 kB / 0.6325 GB, free: 60.04 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers_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_DistrictWithBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.67272292599955] Failed to read output from testmodel.py, exit status != 0: 14.727715479995823 14.737743278 14.617581219 Calling exit ...