Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.001134/0.001134, 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.0009523/0.0009523, 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.8971/0.8971, allocations: 177.1 MB / 203.6 MB, free: 5.738 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.02445/0.02445, allocations: 4.471 MB / 264.5 MB, free: 8.77 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.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 389.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.124e-05, allocations: 2.281 kB / 389.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002312/0.002333, allocations: 1.205 MB / 390.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004051, allocations: 1.232 MB / 392 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.975e-05/0.004141, allocations: 8 kB / 392 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.004535, allocations: 103.3 kB / 392.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.00477, allocations: 55.56 kB / 392.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000973/0.005743, allocations: 0.5402 MB / 392.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.005928, allocations: 131.4 kB / 392.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.006046, allocations: 53.52 kB / 392.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.006109, allocations: 75.88 kB / 393 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.006174, allocations: 51.81 kB / 393 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.006193, allocations: 12 kB / 393 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.006373, allocations: 139.7 kB / 393.2 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.006394, allocations: 27.91 kB / 393.2 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.006432, allocations: 43.91 kB / 393.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.006705, allocations: 275.1 kB / 393.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006707, allocations: 0 / 393.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006708, allocations: 0 / 393.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.006713, allocations: 0 / 393.5 MB, free: 3.488 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007571/0.00747, allocations: 489.4 kB / 394 MB, free: 2.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.007508, allocations: 16.02 kB / 394 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.007551, allocations: 42.75 kB / 394 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.00759, allocations: 16.84 kB / 394.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.007749, allocations: 153.6 kB / 394.2 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.007763, allocations: 12.38 kB / 394.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.00778, allocations: 12.38 kB / 394.2 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.007996, allocations: 179.9 kB / 394.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.008005, allocations: 192 / 394.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.008019, allocations: 4.375 kB / 394.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.008027, allocations: 8.125 kB / 394.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.008158, allocations: 112 kB / 394.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.008694, allocations: 459.4 kB / 395 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.009108, allocations: 138.5 kB / 395.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.009158, allocations: 36.84 kB / 395.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.463e-05/0.009233, allocations: 11.94 kB / 395.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.009251, allocations: 38.69 kB / 395.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.009253, allocations: 0 / 395.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006286/0.009881, allocations: 278.1 kB / 395.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.009907, allocations: 59.41 kB / 395.5 MB, free: 1.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.009982, allocations: 133.7 kB / 395.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.009995, allocations: 29.7 kB / 395.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.01004, allocations: 120.3 kB / 395.8 MB, free: 1.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.01006, allocations: 35.69 kB / 395.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.0101, allocations: 25.72 kB / 395.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.01017, allocations: 326.8 kB / 396.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.01022, allocations: 35.98 kB / 396.2 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.01028, allocations: 61.64 kB / 396.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.0104, allocations: 109.7 kB / 396.4 MB, free: 404 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01041, allocations: 0 / 396.4 MB, free: 404 kB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002869/0.01069, allocations: 206.2 kB / 396.6 MB, free: 188 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.0107, allocations: 4 kB / 396.6 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01071, allocations: 4 kB / 396.6 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.01096, allocations: 88.72 kB / 396.7 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.011, allocations: 16 kB / 396.7 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.01212, allocations: 1.529 MB / 398.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.01216, allocations: 15.86 kB / 398.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.01217, allocations: 4 kB / 398.3 MB, free: 14.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/0.01225, allocations: 125.8 kB / 398.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.01226, allocations: 3.953 kB / 398.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.01258, allocations: 202.8 kB / 398.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01258, allocations: 0 / 398.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01259, allocations: 4 kB / 398.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01259, allocations: 4.078 kB / 398.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.01274, allocations: 192.6 kB / 398.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01274, allocations: 3.984 kB / 398.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.01276, allocations: 8 kB / 398.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.01295, allocations: 84.7 kB / 398.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01296, allocations: 4.375 kB / 398.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009342/0.01389, allocations: 1.514 MB / 400.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01389, allocations: 3.938 kB / 400.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.01417, allocations: 276.3 kB / 400.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.01418, allocations: 19.81 kB / 400.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.01419, allocations: 4 kB / 400.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.01424, allocations: 4 kB / 400.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.01427, allocations: 11.98 kB / 400.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.01427, allocations: 0 / 400.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.01431, allocations: 106.2 kB / 400.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01431, allocations: 0 / 400.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.01453, allocations: 51.89 kB / 400.9 MB, free: 11.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005031/0.01503, allocations: 0.8147 MB / 401.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.01544, allocations: 250.5 kB / 401.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01544, allocations: 4.062 kB / 401.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.01563, allocations: 194.6 kB / 402.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.0158, allocations: 11.94 kB / 402.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.01726, allocations: 1.773 MB / 403.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.01734, allocations: 106.8 kB / 404 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.881e-05/0.01737, allocations: 8.734 kB / 404 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.01742, allocations: 40.48 kB / 404 MB, free: 8.246 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01742, allocations: 0 / 404 MB, free: 8.246 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.03383, allocations: 4.301 MB / 408.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.85, allocations: 14.83 kB / 408.4 MB, free: 4.059 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLine_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_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.779245661571622] Failed to read output from testmodel.py, exit status != 0: 6.936473781242967 7.087027292 7.078395053 Calling exit ...