Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.0007713/0.0007713, allocations: 80.44 kB / 19.97 MB, free: 4.59 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.0009292/0.0009292, allocations: 173.9 kB / 23.25 MB, free: 1.305 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.9275/0.9275, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.02389/0.02389, allocations: 4.47 MB / 264.5 MB, free: 8.754 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.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.933e-05, allocations: 8.75 kB / 389.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003662/0.003681, allocations: 4.026 MB / 393.7 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.0052, allocations: 1.128 MB / 394.8 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.005356, allocations: 12 kB / 394.8 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.005715, allocations: 222.4 kB / 395 MB, free: 1.973 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.006182, allocations: 345.5 kB / 395.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.007426, allocations: 1.276 MB / 396.6 MB, free: 364 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.007932, allocations: 0.7422 MB / 397.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.008156, allocations: 166.6 kB / 397.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.00843, allocations: 439 kB / 398 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.008713, allocations: 311.1 kB / 398.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.008773, allocations: 60 kB / 398.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.009201, allocations: 315.5 kB / 398.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.0093, allocations: 155.4 kB / 398.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.009443, allocations: 243.3 kB / 399 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.01016, allocations: 0.9503 MB / 400 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.01016, allocations: 0 / 400 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01016, allocations: 0 / 400 MB, free: 13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.01017, allocations: 4 kB / 400 MB, free: 12.99 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004071/0.01424, allocations: 1.951 MB / 401.9 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0004762/0.01472, allocations: 8.031 kB / 401.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.01484, allocations: 102.6 kB / 402 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.01498, allocations: 80.47 kB / 402.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.01554, allocations: 383.7 kB / 402.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/0.01563, allocations: 75.58 kB / 402.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.01571, allocations: 64.38 kB / 402.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.0169, allocations: 1.214 MB / 403.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01691, allocations: 4.125 kB / 403.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.01697, allocations: 24.38 kB / 403.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01698, allocations: 19.94 kB / 403.9 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.01783, allocations: 0.8485 MB / 404.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.02029, allocations: 1.967 MB / 406.7 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.02141, allocations: 1.027 MB / 407.7 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.0219, allocations: 0.4997 MB / 408.2 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.12e-05/0.02197, allocations: 16.98 kB / 408.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.022, allocations: 43.56 kB / 408.3 MB, free: 4.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 1.984e-06/0.022, allocations: 4 kB / 408.3 MB, free: 4.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.1848/0.2068, allocations: 5.239 MB / 413.5 MB, free: 33.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.2069, allocations: 91.89 kB / 413.6 MB, free: 33.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.2073, allocations: 359.7 kB / 414 MB, free: 33.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.2075, allocations: 49.23 kB / 414 MB, free: 33.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2076, allocations: 209.1 kB / 414.2 MB, free: 33.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.2078, allocations: 322.4 kB / 414.5 MB, free: 33.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.208, allocations: 178 kB / 414.7 MB, free: 33.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.2081, allocations: 363.8 kB / 415.1 MB, free: 33.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.2087, allocations: 0.524 MB / 415.6 MB, free: 32.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.2093, allocations: 0.6292 MB / 416.2 MB, free: 32.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.2105, allocations: 1.178 MB / 417.4 MB, free: 31.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2105, allocations: 0 / 417.4 MB, free: 31.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005845/0.2164, allocations: 2.653 MB / 420.1 MB, free: 31.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2164, allocations: 5.188 kB / 420.1 MB, free: 31.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.2164, allocations: 0 / 420.1 MB, free: 31.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006302/0.2227, allocations: 1.957 MB / 422 MB, free: 30.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.223, allocations: 126.4 kB / 422.1 MB, free: 30.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/0.2322, allocations: 7.368 MB / 429.5 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.2326, allocations: 83.38 kB / 429.6 MB, free: 26.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.2326, allocations: 36.77 kB / 429.6 MB, free: 26.46 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 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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 {(18,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.2328, allocations: 196 kB / 429.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.2329, allocations: 64.11 kB / 429.9 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/0.2383, allocations: 2.674 MB / 432.6 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2383, allocations: 9.719 kB / 432.6 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2383, allocations: 1.859 kB / 432.6 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.2383, allocations: 8.297 kB / 432.6 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005743/0.2441, allocations: 3.433 MB / 436 MB, free: 23.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2441, allocations: 2.344 kB / 436 MB, free: 23.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.2443, allocations: 103.9 kB / 436.1 MB, free: 23.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005283/0.2495, allocations: 1.869 MB / 438 MB, free: 21.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.2496, allocations: 24.67 kB / 438 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00796/0.2575, allocations: 7.279 MB / 445.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2575, allocations: 0 / 445.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/0.2627, allocations: 2.621 MB / 447.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.2627, allocations: 71.39 kB / 448 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.2628, allocations: 19.94 kB / 448 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.263, allocations: 51.95 kB / 448 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.2632, allocations: 80.83 kB / 448.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.2632, allocations: 31.98 kB / 448.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.2634, allocations: 255.2 kB / 448.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2634, allocations: 0 / 448.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007788/0.2641, allocations: 339.8 kB / 448.7 MB, free: 10.3 MB / 330.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 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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 {(18,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005183/0.2693, allocations: 3.196 MB / 451.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002243/0.2716, allocations: 1.811 MB / 453.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2716, allocations: 0 / 453.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.2729, allocations: 1.203 MB / 454.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.2732, allocations: 71.92 kB / 455 MB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.2883, allocations: 9.469 MB / 464.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2885, allocations: 311.9 kB / 464.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.2887, allocations: 84.7 kB / 464.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.2889, allocations: 216.4 kB / 465.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of SimCode: time 1.493e-06/0.289, allocations: 0 / 465.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.3289, allocations: 30.27 MB / 495.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.671, allocations: 3.938 kB / 495.4 MB, free: 11.73 MB / 378.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2_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_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.573928704485297] Failed to read output from testmodel.py, exit status != 0: 8.769671574234962 8.783829331 8.770824663 Calling exit ...