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.001262/0.001262, 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.001611/0.001611, allocations: 216.7 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.448/1.448, 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.06032/0.06032, allocations: 6.137 MB / 319.4 MB, free: 12.8 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.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.001584/0.001584, allocations: 51.92 kB / 444.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1028, allocations: 55.01 MB / 499.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.007878/0.1106, allocations: 5.544 MB / 0.4932 GB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.1147, allocations: 1.42 MB / 0.4946 GB, free: 7.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008417/0.1155, allocations: 20 kB / 0.4946 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008833/0.1164, allocations: 302 kB / 0.4949 GB, free: 6.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.1179, allocations: 0.52 MB / 0.4954 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.1209, allocations: 1.332 MB / 0.4967 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.1226, allocations: 1.116 MB / 0.4978 GB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005025/0.1231, allocations: 261.3 kB / 0.498 GB, free: 3.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.1237, allocations: 490.1 kB / 0.4985 GB, free: 2.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007283/0.1245, allocations: 0.5521 MB / 0.499 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.1246, allocations: 96 kB / 0.4991 GB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.1253, allocations: 323.8 kB / 0.4994 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.1255, allocations: 243 kB / 0.4996 GB, free: 1.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.126, allocations: 461.7 kB / 0.5001 GB, free: 1.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.1275, allocations: 1.315 MB / 0.5014 GB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1275, allocations: 0 / 0.5014 GB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1275, allocations: 4 kB / 0.5014 GB, free: 8 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1275, allocations: 0 / 0.5014 GB, free: 8 kB / 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.01183/0.1393, allocations: 2.899 MB / 0.5042 GB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1394, allocations: 8.031 kB / 0.5042 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.1396, allocations: 131.2 kB / 0.5043 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.1398, allocations: 128.2 kB / 0.5045 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/0.1408, allocations: 0.5525 MB / 0.505 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.1409, allocations: 134.3 kB / 0.5051 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.1411, allocations: 92.38 kB / 0.5052 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.1434, allocations: 1.72 MB / 0.5069 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1434, allocations: 0 / 0.5069 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.1435, allocations: 36 kB / 0.5069 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1435, allocations: 16 kB / 0.5069 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.1456, allocations: 1.257 MB / 0.5082 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.1518, allocations: 2.955 MB / 0.5111 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.1543, allocations: 1.622 MB / 0.5126 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.1557, allocations: 0.8351 MB / 0.5135 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.1558, allocations: 29.28 kB / 0.5135 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.1559, allocations: 51.88 kB / 0.5135 GB, free: 3.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.068e-06/0.1559, allocations: 0 / 0.5135 GB, free: 3.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2095/0.3654, allocations: 7.527 MB / 0.5209 GB, free: 29.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3655, allocations: 145.9 kB / 0.521 GB, free: 29.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.3662, allocations: 0.5383 MB / 0.5216 GB, free: 29.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.3663, allocations: 61.58 kB / 0.5216 GB, free: 29.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.3665, allocations: 297.3 kB / 0.5219 GB, free: 29.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.3668, allocations: 0.5094 MB / 0.5224 GB, free: 29.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/0.3673, allocations: 275.2 kB / 0.5227 GB, free: 29.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.3673, allocations: 340.2 kB / 0.523 GB, free: 28.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3685, allocations: 0.8459 MB / 0.5238 GB, free: 28.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.3698, allocations: 1.048 MB / 0.5248 GB, free: 28.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.3725, allocations: 1.909 MB / 0.5267 GB, free: 27.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3725, allocations: 0 / 0.5267 GB, free: 27.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009085/0.3816, allocations: 3.582 MB / 0.5302 GB, free: 26.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3816, allocations: 10.44 kB / 0.5302 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3816, allocations: 0 / 0.5302 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009983/0.3916, allocations: 2.291 MB / 0.5324 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/0.3925, allocations: 213.8 kB / 0.5326 GB, free: 25.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.4104, allocations: 10.4 MB / 0.5428 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4115, allocations: 136.5 kB / 0.5429 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.4116, allocations: 49.77 kB / 0.543 GB, free: 19.57 MB / 382.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.0003982/0.412, allocations: 260.4 kB / 0.5432 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.4121, allocations: 105.1 kB / 0.5433 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008236/0.4204, allocations: 3.553 MB / 0.5468 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4204, allocations: 21.45 kB / 0.5468 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4204, allocations: 0 / 0.5468 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4204, allocations: 8.734 kB / 0.5468 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00907/0.4295, allocations: 4.74 MB / 0.5515 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4295, allocations: 0 / 0.5515 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.43, allocations: 167.7 kB / 0.5516 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008326/0.4383, allocations: 2.209 MB / 0.5538 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.4385, allocations: 37.11 kB / 0.5538 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/0.4548, allocations: 10.27 MB / 0.5638 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4548, allocations: 0 / 0.5638 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009559/0.4643, allocations: 3.493 MB / 0.5673 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.4646, allocations: 118.9 kB / 0.5674 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.4648, allocations: 28 kB / 0.5674 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/0.4657, allocations: 77.47 kB / 0.5675 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/0.4662, allocations: 142.3 kB / 0.5676 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.4663, allocations: 47.98 kB / 0.5677 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005241/0.4668, allocations: 358.8 kB / 0.568 GB, free: 12.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4668, allocations: 4 kB / 0.568 GB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001501/0.4683, allocations: 0.5076 MB / 0.5685 GB, free: 11.59 MB / 398.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.01028/0.4786, allocations: 4.093 MB / 0.5725 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006695/0.4853, allocations: 2.739 MB / 0.5752 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4853, allocations: 0 / 0.5752 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004623/0.4899, allocations: 1.753 MB / 0.5769 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.4907, allocations: 118.2 kB / 0.577 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/0.5201, allocations: 13.25 MB / 0.5899 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.5207, allocations: 465.7 kB / 0.5904 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004901/0.5212, allocations: 131.9 kB / 0.5905 GB, free: 4.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.5217, allocations: 367.3 kB / 0.5908 GB, free: 4.504 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5217, allocations: 0 / 0.5908 GB, free: 4.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08888/0.6106, allocations: 42.09 MB / 0.632 GB, free: 10.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.62, allocations: 14.8 kB / 0.632 GB, free: 10.7 MB / 462.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.377186013851315] Failed to read output from testmodel.py, exit status != 0: 14.754916599951684 14.770729089 14.640192311 Calling exit ...