Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.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.0007719/0.0007719, allocations: 80.53 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.0007533/0.0007533, 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.8966/0.8966, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.02391/0.02391, allocations: 4.465 MB / 264.5 MB, free: 8.75 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.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 389.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.699e-06/1.104e-05, allocations: 6.281 kB / 389.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.002376/0.002387, allocations: 2.731 MB / 392.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.003238, allocations: 0.8014 MB / 393.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.003319, allocations: 8 kB / 393.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.003595, allocations: 143.1 kB / 393.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.003828, allocations: 150.9 kB / 393.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.0045, allocations: 0.6067 MB / 394.1 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.004778, allocations: 326.3 kB / 394.4 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.004928, allocations: 96.62 kB / 394.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.005051, allocations: 199.6 kB / 394.7 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.005216, allocations: 151.6 kB / 394.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.005247, allocations: 28 kB / 394.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.005452, allocations: 183.6 kB / 395 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.005491, allocations: 67.75 kB / 395.1 MB, free: 1.879 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.005564, allocations: 111.7 kB / 395.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.005965, allocations: 490.4 kB / 395.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005967, allocations: 0 / 395.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005968, allocations: 4 kB / 395.7 MB, free: 1.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.005973, allocations: 0 / 395.7 MB, free: 1.285 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001417/0.00739, allocations: 0.8249 MB / 396.5 MB, free: 436 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.007427, allocations: 12.03 kB / 396.5 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.007483, allocations: 62.73 kB / 396.6 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.007538, allocations: 44.7 kB / 396.6 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.007755, allocations: 218 kB / 396.8 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/0.007829, allocations: 84.61 kB / 396.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.007864, allocations: 36.38 kB / 397 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.00828, allocations: 402.6 kB / 397.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.00829, allocations: 4.188 kB / 397.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.008313, allocations: 12.12 kB / 397.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.00832, allocations: 8 kB / 397.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.00872, allocations: 410.5 kB / 397.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.009873, allocations: 1.029 MB / 398.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.01051, allocations: 478.7 kB / 399.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.01072, allocations: 208.7 kB / 399.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.01076, allocations: 11.98 kB / 399.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.01078, allocations: 38.5 kB / 399.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.653e-06/0.01078, allocations: 0 / 399.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001503/0.01228, allocations: 0.9483 MB / 400.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.01232, allocations: 59.39 kB / 400.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01246, allocations: 215.5 kB / 400.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01248, allocations: 37.7 kB / 400.8 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.01255, allocations: 161 kB / 400.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.01263, allocations: 150.7 kB / 401.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.01272, allocations: 102.1 kB / 401.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.01281, allocations: 338.8 kB / 401.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.01304, allocations: 220.9 kB / 401.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.01329, allocations: 277.7 kB / 402 MB, free: 10.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.01377, allocations: 0.4982 MB / 402.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01377, allocations: 0 / 402.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009689/0.01474, allocations: 0.7838 MB / 403.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01476, allocations: 8 kB / 403.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01476, allocations: 0 / 403.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.01543, allocations: 305.4 kB / 403.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.01561, allocations: 83.89 kB / 403.7 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.01839, allocations: 3.674 MB / 407.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01851, allocations: 39.67 kB / 407.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.01855, allocations: 20.03 kB / 407.4 MB, free: 5.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.01868, allocations: 157.7 kB / 407.6 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.01872, allocations: 28 kB / 407.6 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.01973, allocations: 0.7521 MB / 408.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01974, allocations: 4 kB / 408.3 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01974, allocations: 8 kB / 408.3 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.01975, allocations: 3.984 kB / 408.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.02011, allocations: 408.8 kB / 408.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02011, allocations: 0 / 408.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.02023, allocations: 63.91 kB / 408.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.02083, allocations: 293.4 kB / 409.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.02085, allocations: 11.94 kB / 409.1 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1471/0.168, allocations: 3.66 MB / 412.8 MB, free: 32.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.168, allocations: 3.125 kB / 412.8 MB, free: 32.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.169, allocations: 0.7694 MB / 413.5 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.169, allocations: 34.3 kB / 413.6 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.1691, allocations: 11.19 kB / 413.6 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1692, allocations: 6.859 kB / 413.6 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.1693, allocations: 45.94 kB / 413.6 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1693, allocations: 14.73 kB / 413.6 MB, free: 32.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1694, allocations: 158.9 kB / 413.8 MB, free: 32.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1694, allocations: 0 / 413.8 MB, free: 32.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.1698, allocations: 131.6 kB / 413.9 MB, free: 32.4 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 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.1711, allocations: 1.328 MB / 415.3 MB, free: 31.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.1725, allocations: 0.8387 MB / 416.1 MB, free: 31.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1725, allocations: 0 / 416.1 MB, free: 31.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.1732, allocations: 0.5813 MB / 416.7 MB, free: 30.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1734, allocations: 25.41 kB / 416.7 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.1776, allocations: 3.835 MB / 420.5 MB, free: 28.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.1778, allocations: 174.3 kB / 420.7 MB, free: 28.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1779, allocations: 47.61 kB / 420.8 MB, free: 28.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.178, allocations: 97.36 kB / 420.9 MB, free: 28.41 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.178, allocations: 0 / 420.9 MB, free: 28.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.204, allocations: 9.779 MB / 430.6 MB, free: 25.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.573, allocations: 3.984 kB / 430.6 MB, free: 25.24 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines_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_BreakersWithLines.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.38420576043427] Failed to read output from testmodel.py, exit status != 0: 7.659364082850516 7.672664794 7.66446649 Calling exit ...