Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001711/0.001711, allocations: 111.4 kB / 17.16 MB, free: 5.887 MB / 14.72 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.002111/0.002111, allocations: 208 kB / 20.14 MB, free: 2.934 MB / 14.72 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 1.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.04068/0.04068, allocations: 6.126 MB / 315.7 MB, free: 1.164 MB / 238.1 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 49.41 kB / 439.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1083, allocations: 54.98 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002094/0.1104, allocations: 1.135 MB / 495.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.112, allocations: 1.493 MB / 496.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.1121, allocations: 4 kB / 496.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1124, allocations: 103.5 kB / 496.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1126, allocations: 79.53 kB / 497 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.1135, allocations: 0.6145 MB / 497.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1137, allocations: 131.3 kB / 497.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1138, allocations: 33.38 kB / 497.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.1139, allocations: 59.78 kB / 497.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.114, allocations: 63.7 kB / 497.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.114, allocations: 16 kB / 497.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.1142, allocations: 171.8 kB / 498.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1143, allocations: 27.86 kB / 498.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.1143, allocations: 67.66 kB / 498.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1146, allocations: 259.1 kB / 498.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1146, allocations: 4 kB / 498.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1146, allocations: 0 / 498.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1146, allocations: 0 / 498.4 MB, free: 6.234 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001408/0.116, allocations: 0.6001 MB / 499.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1161, allocations: 12.03 kB / 499.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1161, allocations: 42.73 kB / 499.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.1161, allocations: 20.84 kB / 499.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1163, allocations: 216.1 kB / 499.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1163, allocations: 8.609 kB / 499.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1163, allocations: 12.38 kB / 499.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1166, allocations: 168 kB / 499.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1166, allocations: 3.938 kB / 499.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.1166, allocations: 7.984 kB / 499.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1166, allocations: 7.938 kB / 499.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1168, allocations: 158.5 kB / 499.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.1175, allocations: 0.5667 MB / 0.4885 GB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1177, allocations: 146.5 kB / 0.4887 GB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.1178, allocations: 64.84 kB / 0.4887 GB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.1179, allocations: 4 kB / 0.4887 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1179, allocations: 34.56 kB / 0.4888 GB, free: 4.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1179, allocations: 0 / 0.4888 GB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009209/0.1188, allocations: 383.4 kB / 0.4891 GB, free: 3.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.1188, allocations: 59.41 kB / 0.4892 GB, free: 3.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1189, allocations: 167.6 kB / 0.4894 GB, free: 3.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1189, allocations: 25.7 kB / 0.4894 GB, free: 3.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.119, allocations: 124.2 kB / 0.4895 GB, free: 3.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.119, allocations: 51.58 kB / 0.4895 GB, free: 3.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.1191, allocations: 45.69 kB / 0.4896 GB, free: 3.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.1191, allocations: 318.8 kB / 0.4899 GB, free: 2.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1192, allocations: 95.97 kB / 0.49 GB, free: 2.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1193, allocations: 91.02 kB / 0.4901 GB, free: 2.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1196, allocations: 196.7 kB / 0.4903 GB, free: 2.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1196, allocations: 3.938 kB / 0.4903 GB, free: 2.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005033/0.1201, allocations: 305.4 kB / 0.4906 GB, free: 2.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1201, allocations: 8 kB / 0.4906 GB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1201, allocations: 0 / 0.4906 GB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.1204, allocations: 56.81 kB / 0.4906 GB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1205, allocations: 35.92 kB / 0.4907 GB, free: 2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.1215, allocations: 1.535 MB / 0.4922 GB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1217, allocations: 15.92 kB / 0.4922 GB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1217, allocations: 8 kB / 0.4922 GB, free: 304 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.1218, allocations: 125.7 kB / 0.4923 GB, free: 172 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.1218, allocations: 15.91 kB / 0.4923 GB, free: 156 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.1223, allocations: 239.5 kB / 0.4925 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1223, allocations: 4 kB / 0.4925 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1223, allocations: 3.984 kB / 0.4925 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1223, allocations: 0 / 0.4925 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.1226, allocations: 269.3 kB / 0.4928 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1226, allocations: 7.938 kB / 0.4928 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.729e-05/0.1227, allocations: 15.98 kB / 0.4928 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.1229, allocations: 60.75 kB / 0.4929 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1229, allocations: 4 kB / 0.4929 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.1244, allocations: 1.523 MB / 0.4944 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1244, allocations: 0 / 0.4944 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.1248, allocations: 308.3 kB / 0.4947 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.1249, allocations: 96.94 kB / 0.4948 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1249, allocations: 8 kB / 0.4948 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1251, allocations: 3.938 kB / 0.4948 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.1251, allocations: 11.98 kB / 0.4948 GB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1251, allocations: 4 kB / 0.4948 GB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1252, allocations: 127.2 kB / 0.4949 GB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1252, allocations: 3.938 kB / 0.4949 GB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.1256, allocations: 52 kB / 0.495 GB, free: 13.2 MB / 366.1 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 (12): * Single equations (assignments): 11 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009742/0.1266, allocations: 0.8534 MB / 0.4958 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.1273, allocations: 302.6 kB / 0.4961 GB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1273, allocations: 4 kB / 0.4961 GB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.1278, allocations: 194.6 kB / 0.4963 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.128, allocations: 10.19 kB / 0.4963 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.1311, allocations: 2.095 MB / 0.4983 GB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1315, allocations: 0.7045 MB / 0.499 GB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.059e-05/0.1316, allocations: 20.62 kB / 0.499 GB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.1317, allocations: 39.42 kB / 0.4991 GB, free: 8.824 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1317, allocations: 0 / 0.4991 GB, free: 8.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.1688, allocations: 3.924 MB / 0.5029 GB, free: 4.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.932/10.1, allocations: 4.406 kB / 0.5029 GB, free: 4.988 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource_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_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.042445867002243] Failed to read output from testmodel.py, exit status != 0: 10.187170411008992 10.210078598 10.090955908 Calling exit ...