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.0008433/0.0008433, allocations: 80.44 kB / 19.97 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.001191/0.001191, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.897/0.897, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.0254/0.0254, allocations: 4.469 MB / 264.5 MB, free: 8.758 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.653e-06/1.653e-06, allocations: 0 / 389.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.041e-05, allocations: 2.281 kB / 389.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.004464/0.004484, allocations: 5.547 MB / 395.2 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.006678, allocations: 1.436 MB / 396.6 MB, free: 368 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.00704, allocations: 16 kB / 396.6 MB, free: 352 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.007535, allocations: 297.8 kB / 396.9 MB, free: 52 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008382/0.008373, allocations: 0.5392 MB / 397.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.009775, allocations: 1.328 MB / 398.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01078, allocations: 1.166 MB / 400 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.01112, allocations: 261.3 kB / 400.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006521/0.01177, allocations: 0.6742 MB / 400.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.01223, allocations: 486.6 kB / 401.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.01234, allocations: 92 kB / 401.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.01282, allocations: 339.5 kB / 401.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.01295, allocations: 243 kB / 402 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.0132, allocations: 379 kB / 402.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.01441, allocations: 1.336 MB / 403.7 MB, free: 9.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01442, allocations: 0 / 403.7 MB, free: 9.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01442, allocations: 0 / 403.7 MB, free: 9.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.01444, 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.006088/0.02052, allocations: 2.883 MB / 406.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.02056, allocations: 8.031 kB / 406.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.02069, allocations: 139.1 kB / 406.7 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.02088, allocations: 128.2 kB / 406.9 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.02155, allocations: 0.5518 MB / 407.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.02164, allocations: 134.3 kB / 407.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/0.02174, allocations: 100.3 kB / 407.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.02322, allocations: 1.705 MB / 409.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.02324, allocations: 4.188 kB / 409.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.02331, allocations: 39.94 kB / 409.4 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.02332, allocations: 20 kB / 409.4 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.02456, allocations: 1.253 MB / 410.7 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1384/0.1629, allocations: 2.948 MB / 413.6 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.1647, allocations: 1.625 MB / 415.2 MB, free: 31.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008594/0.1656, allocations: 0.8368 MB / 416.1 MB, free: 31.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.1657, allocations: 26.48 kB / 416.1 MB, free: 31.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1657, allocations: 53.64 kB / 416.2 MB, free: 31.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=148): time 4.378e-06/0.1657, allocations: 0 / 416.2 MB, free: 31.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=148): time 0.01675/0.1825, allocations: 7.525 MB / 423.7 MB, free: 29.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.1825, allocations: 144.5 kB / 423.8 MB, free: 29.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.1831, allocations: 0.5421 MB / 424.4 MB, free: 29.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.1832, allocations: 63.84 kB / 424.4 MB, free: 29.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1833, allocations: 293.4 kB / 424.7 MB, free: 28.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.1836, allocations: 0.5098 MB / 425.2 MB, free: 28.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.1839, allocations: 269.8 kB / 425.5 MB, free: 28.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.1839, allocations: 337.6 kB / 425.8 MB, free: 28.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/0.1848, allocations: 0.8492 MB / 426.7 MB, free: 27.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.1857, allocations: 1.052 MB / 427.7 MB, free: 26.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.1876, allocations: 1.902 MB / 429.6 MB, free: 25.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.1876, allocations: 4.906 kB / 429.6 MB, free: 25.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005278/0.1929, allocations: 3.582 MB / 433.2 MB, free: 23.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.1929, allocations: 7.844 kB / 433.2 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1929, allocations: 0 / 433.2 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004802/0.1977, allocations: 2.297 MB / 435.5 MB, free: 22.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.1982, allocations: 217.1 kB / 435.7 MB, free: 22.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.2089, allocations: 10.39 MB / 446.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.2096, allocations: 142.3 kB / 446.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.2097, allocations: 51.98 kB / 446.3 MB, free: 12.22 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.000313/0.21, allocations: 245.7 kB / 446.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2102, allocations: 111 kB / 446.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/0.2148, allocations: 3.566 MB / 450.2 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2148, allocations: 19.98 kB / 450.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2148, allocations: 0 / 450.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2148, allocations: 7.969 kB / 450.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/0.2205, allocations: 4.734 MB / 455 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2205, allocations: 0 / 455 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.2208, allocations: 167.8 kB / 455.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004518/0.2253, allocations: 2.208 MB / 457.4 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2255, allocations: 31.98 kB / 457.4 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.2376, allocations: 10.28 MB / 467.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2376, allocations: 2.969 kB / 467.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005178/0.2428, allocations: 3.493 MB / 471.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.243, allocations: 119 kB / 471.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2431, allocations: 24 kB / 471.3 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.2436, allocations: 78.67 kB / 471.4 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.2438, allocations: 138.4 kB / 471.5 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.2439, allocations: 47.98 kB / 471.6 MB, free: 2.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003177/0.2442, allocations: 370.7 kB / 471.9 MB, free: 2.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2442, allocations: 0 / 471.9 MB, free: 2.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000992/0.2452, allocations: 0.5076 MB / 472.4 MB, free: 1.949 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.005469/0.2507, allocations: 4.083 MB / 476.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.2548, allocations: 2.733 MB / 479.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.2548, allocations: 0 / 479.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.2573, allocations: 1.753 MB / 481 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.2579, allocations: 110.2 kB / 481.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/0.2754, allocations: 13.33 MB / 494.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.2757, allocations: 465.9 kB / 494.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.2761, allocations: 127.2 kB / 495 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.2764, allocations: 368.4 kB / 495.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/0.2764, allocations: 0 / 495.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/0.3308, allocations: 42.26 MB / 0.525 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/8.893, allocations: 10.81 kB / 0.525 GB, free: 0.7969 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.652079625055194] Failed to read output from testmodel.py, exit status != 0: 8.998416409827769 9.008944131 8.992637394 Calling exit ...