Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.0008958/0.0008958, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.001478/0.001478, 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.9239/0.9239, allocations: 177.1 MB / 203.5 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.02484/0.02484, allocations: 4.47 MB / 264.4 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.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 389.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.146e-05, allocations: 2.281 kB / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.001587/0.001608, allocations: 1.198 MB / 390.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.00283, allocations: 1.24 MB / 392 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.002894, allocations: 7.938 kB / 392 MB, free: 4.977 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.003186, allocations: 103.3 kB / 392.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.003353, allocations: 47.62 kB / 392.2 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.003972, allocations: 0.5405 MB / 392.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.004141, allocations: 139.4 kB / 392.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.004259, allocations: 53.47 kB / 392.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.004323, allocations: 79.86 kB / 393 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.004389, allocations: 51.81 kB / 393 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004407, allocations: 12 kB / 393 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.004568, allocations: 127.8 kB / 393.2 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.004589, allocations: 27.91 kB / 393.2 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.004626, allocations: 43.91 kB / 393.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.00488, allocations: 275.1 kB / 393.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004882, allocations: 0 / 393.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.004884, allocations: 4 kB / 393.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.004894, allocations: 0 / 393.5 MB, free: 3.484 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.0007859/0.00568, allocations: 493.3 kB / 394 MB, free: 2.969 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.005721, allocations: 8.031 kB / 394 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.005767, allocations: 50.73 kB / 394 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.005802, allocations: 16.84 kB / 394.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.005968, allocations: 145.6 kB / 394.2 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.00598, allocations: 12.38 kB / 394.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.005997, allocations: 12.38 kB / 394.2 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.006449, allocations: 179.9 kB / 394.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.006456, allocations: 192 / 394.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.006468, allocations: 4.375 kB / 394.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006475, allocations: 12.11 kB / 394.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.006601, allocations: 116 kB / 394.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.007105, allocations: 455.4 kB / 395 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.007516, allocations: 142.5 kB / 395.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.007566, allocations: 33.05 kB / 395.2 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.00764, allocations: 15.86 kB / 395.2 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.00766, allocations: 38.56 kB / 395.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.007662, allocations: 0 / 395.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006127/0.008275, allocations: 278.1 kB / 395.5 MB, free: 1.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.0083, allocations: 51.41 kB / 395.5 MB, free: 1.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.008372, allocations: 137.7 kB / 395.7 MB, free: 1.156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.008385, allocations: 25.7 kB / 395.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.008432, allocations: 132.2 kB / 395.8 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.008449, allocations: 31.7 kB / 395.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.008486, allocations: 29.7 kB / 395.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.008559, allocations: 326.8 kB / 396.2 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.008611, allocations: 39.98 kB / 396.2 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.00867, allocations: 53.7 kB / 396.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.008786, allocations: 101.7 kB / 396.4 MB, free: 404 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.008788, allocations: 0 / 396.4 MB, free: 404 kB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002832/0.009071, allocations: 210.2 kB / 396.6 MB, free: 184 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.009085, allocations: 8 kB / 396.6 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.00909, allocations: 0 / 396.6 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.009344, allocations: 80.8 kB / 396.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.009388, allocations: 19.98 kB / 396.7 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.01041, allocations: 1.533 MB / 398.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.01045, allocations: 19.81 kB / 398.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.01046, allocations: 4 kB / 398.3 MB, free: 14.4 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 7.279e-05/0.01053, allocations: 121.8 kB / 398.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.01055, allocations: 7.953 kB / 398.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.01085, allocations: 206.8 kB / 398.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01085, allocations: 4 kB / 398.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01085, allocations: 0 / 398.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01086, allocations: 3.938 kB / 398.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.01099, allocations: 184.6 kB / 398.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01099, allocations: 0 / 398.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.01102, allocations: 23.92 kB / 398.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.01119, allocations: 76.77 kB / 398.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.0112, allocations: 4.375 kB / 398.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/0.01211, allocations: 1.514 MB / 400.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01211, allocations: 3.938 kB / 400.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.01238, allocations: 280.2 kB / 400.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-06/0.01239, allocations: 11.83 kB / 400.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-06/0.0124, allocations: 4 kB / 400.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.01245, allocations: 4 kB / 400.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.01247, allocations: 16.03 kB / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01248, allocations: 4 kB / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.01251, allocations: 106 kB / 400.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01251, allocations: 0 / 400.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01272, allocations: 47.89 kB / 400.9 MB, free: 11.6 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.0007573/0.01348, allocations: 0.8107 MB / 401.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.01385, allocations: 258.5 kB / 401.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01386, allocations: 0 / 401.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.01404, allocations: 202.5 kB / 402.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.0142, allocations: 7.938 kB / 402.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.01564, allocations: 1.76 MB / 403.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.01571, allocations: 106.8 kB / 404 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.01574, allocations: 12.75 kB / 404 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.01578, allocations: 40.48 kB / 404 MB, free: 8.246 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01578, allocations: 0 / 404 MB, free: 8.246 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.03443, allocations: 4.314 MB / 408.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.154, allocations: 2.969 kB / 408.4 MB, free: 4.055 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OnePerfectLine_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_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.13807719759643] Failed to read output from testmodel.py, exit status != 0: 7.238807608373463 7.399693224 7.392706509 Calling exit ...