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.00083/0.00083, allocations: 72.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0008638/0.0008638, allocations: 173.9 kB / 23.24 MB, free: 1.316 MB / 18.57 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 0.9007/0.9007, allocations: 177.1 MB / 203.6 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.02532/0.02532, allocations: 4.478 MB / 264.5 MB, free: 8.762 MB / 250.7 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 1.663e-06/1.663e-06, allocations: 0 / 389.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.135e-05, allocations: 2.281 kB / 389.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.004974/0.004995, allocations: 5.544 MB / 395.2 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.007662, allocations: 1.432 MB / 396.6 MB, free: 372 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004671/0.00813, allocations: 16 kB / 396.6 MB, free: 356 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.008737, allocations: 305.8 kB / 396.9 MB, free: 48 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.009848, allocations: 0.5313 MB / 397.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.01152, allocations: 1.33 MB / 398.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.01282, allocations: 1.162 MB / 399.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.01323, allocations: 265.3 kB / 400.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.01399, allocations: 0.6742 MB / 400.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.01452, allocations: 490.6 kB / 401.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.01464, allocations: 92 kB / 401.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.01523, allocations: 335.5 kB / 401.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.01536, allocations: 239 kB / 402 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.01562, allocations: 382.9 kB / 402.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.01678, allocations: 1.336 MB / 403.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.01679, allocations: 0 / 403.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01679, allocations: 4 kB / 403.7 MB, free: 9.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.977e-05/0.01682, allocations: 4 kB / 403.7 MB, free: 9.215 MB / 330.7 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.006289/0.02311, allocations: 2.879 MB / 406.6 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.02315, allocations: 8.031 kB / 406.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.02329, allocations: 135.1 kB / 406.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.02349, allocations: 132.2 kB / 406.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/0.02422, allocations: 0.5518 MB / 407.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/0.02431, allocations: 130.3 kB / 407.6 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.02442, allocations: 96.31 kB / 407.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.02597, allocations: 1.713 MB / 409.4 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.02599, allocations: 4.188 kB / 409.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.986e-05/0.02606, allocations: 35.94 kB / 409.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.02607, allocations: 20 kB / 409.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.02742, allocations: 1.25 MB / 410.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1576/0.185, allocations: 2.951 MB / 413.6 MB, free: 32.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.1868, allocations: 1.634 MB / 415.3 MB, free: 31.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009517/0.1878, allocations: 0.83 MB / 416.1 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.1879, allocations: 27.09 kB / 416.1 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1879, allocations: 52.14 kB / 416.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=148): time 4.488e-06/0.1879, allocations: 0 / 416.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=148): time 0.01806/0.206, allocations: 7.527 MB / 423.7 MB, free: 29.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.2061, allocations: 145.2 kB / 423.8 MB, free: 29.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.2067, allocations: 0.541 MB / 424.4 MB, free: 29.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.2068, allocations: 60.3 kB / 424.4 MB, free: 29.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.207, allocations: 297.5 kB / 424.7 MB, free: 28.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.2072, allocations: 0.5054 MB / 425.2 MB, free: 28.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.2076, allocations: 269.9 kB / 425.5 MB, free: 28.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.2076, allocations: 340.8 kB / 425.8 MB, free: 28.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009526/0.2086, allocations: 0.8488 MB / 426.7 MB, free: 27.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2096, allocations: 1.053 MB / 427.7 MB, free: 26.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.2117, allocations: 1.905 MB / 429.6 MB, free: 25.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.2117, allocations: 5.188 kB / 429.6 MB, free: 25.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005301/0.217, allocations: 3.586 MB / 433.2 MB, free: 23.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.217, allocations: 7.188 kB / 433.2 MB, free: 23.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.217, allocations: 0 / 433.2 MB, free: 23.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004645/0.2217, allocations: 2.285 MB / 435.5 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.2221, allocations: 224 kB / 435.7 MB, free: 22.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.2328, allocations: 10.39 MB / 446.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.2334, allocations: 149 kB / 446.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.2335, allocations: 51.98 kB / 446.3 MB, free: 12.2 MB / 330.7 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.0003033/0.2338, allocations: 253 kB / 446.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2339, allocations: 103.3 kB / 446.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.2385, allocations: 3.56 MB / 450.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2386, allocations: 20 kB / 450.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2386, allocations: 0 / 450.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.2386, allocations: 7.969 kB / 450.2 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00565/0.2442, allocations: 4.733 MB / 455 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.2442, allocations: 4 kB / 455 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.2445, allocations: 163.8 kB / 455.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004438/0.2489, allocations: 2.216 MB / 457.4 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.249, allocations: 32 kB / 457.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.2615, allocations: 10.26 MB / 467.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2615, allocations: 2.969 kB / 467.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/0.2669, allocations: 3.493 MB / 471.2 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.2671, allocations: 119 kB / 471.3 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.2672, allocations: 36 kB / 471.3 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.2676, allocations: 70.69 kB / 471.4 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.2679, allocations: 142.4 kB / 471.5 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.268, allocations: 47.98 kB / 471.6 MB, free: 2.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003241/0.2683, allocations: 366.7 kB / 471.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2683, allocations: 0 / 471.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001124/0.2694, allocations: 0.5115 MB / 472.4 MB, free: 1.922 MB / 346.7 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.00565/0.2751, allocations: 4.088 MB / 476.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004362/0.2794, allocations: 2.733 MB / 479.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2794, allocations: 0 / 479.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.2822, allocations: 1.752 MB / 481 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.2829, allocations: 118.2 kB / 481.1 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.3007, allocations: 13.31 MB / 494.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.3011, allocations: 461.9 kB / 494.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.3014, allocations: 135.2 kB / 495 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.3017, allocations: 368.4 kB / 495.4 MB, free: 10.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3017, allocations: 4 kB / 495.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05836/0.3601, allocations: 42.27 MB / 0.525 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.103, allocations: 2.75 kB / 0.525 GB, free: 0.7734 MB / 410.7 MB " [Timeout remaining time 651] (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: 11.953262504190207] Failed to read output from testmodel.py, exit status != 0: 9.208545035682619 9.217720475 9.198905242 Calling exit ...