Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.001444/0.001444, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.00232/0.00232, allocations: 220.8 kB / 23.03 MB, free: 5.016 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.0426/0.0426, allocations: 6.145 MB / 319.4 MB, free: 12.74 MB / 254.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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 47.92 kB / 444.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1158, allocations: 55.03 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.003128/0.1189, allocations: 1.261 MB / 0.489 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1213, allocations: 1.509 MB / 0.4904 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1215, allocations: 0 / 0.4904 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.1219, allocations: 111.4 kB / 0.4905 GB, free: 11.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.1222, allocations: 99.39 kB / 0.4906 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.124, allocations: 0.8115 MB / 0.4914 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.1244, allocations: 191 kB / 0.4916 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1245, allocations: 45.98 kB / 0.4917 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1247, allocations: 87.66 kB / 0.4917 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1249, allocations: 91.53 kB / 0.4918 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.1249, allocations: 12 kB / 0.4918 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.1253, allocations: 199.8 kB / 0.492 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.1254, allocations: 31.92 kB / 0.4921 GB, free: 9.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.314e-05/0.1255, allocations: 83.52 kB / 0.4921 GB, free: 9.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.126, allocations: 350.8 kB / 0.4925 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.126, allocations: 4 kB / 0.4925 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.126, allocations: 0 / 0.4925 GB, free: 9.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1261, allocations: 7.938 kB / 0.4925 GB, free: 9.066 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001953/0.128, allocations: 0.6065 MB / 0.4931 GB, free: 8.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1281, allocations: 8.031 kB / 0.4931 GB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.1281, allocations: 46.73 kB / 0.4931 GB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.1282, allocations: 24.8 kB / 0.4932 GB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1285, allocations: 178.2 kB / 0.4933 GB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1285, allocations: 20.64 kB / 0.4933 GB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1286, allocations: 16.38 kB / 0.4934 GB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.129, allocations: 290.3 kB / 0.4936 GB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.129, allocations: 3.938 kB / 0.4936 GB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.129, allocations: 4 kB / 0.4936 GB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.129, allocations: 4 kB / 0.4936 GB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.1294, allocations: 216.8 kB / 0.4939 GB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.1306, allocations: 0.5973 MB / 0.4944 GB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.1313, allocations: 280.3 kB / 0.4947 GB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1315, allocations: 120.8 kB / 0.4948 GB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.1315, allocations: 11.98 kB / 0.4948 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1315, allocations: 38.5 kB / 0.4949 GB, free: 6.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1315, allocations: 0 / 0.4949 GB, free: 6.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.002192/0.1337, allocations: 0.6462 MB / 0.4955 GB, free: 5.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1338, allocations: 55.41 kB / 0.4956 GB, free: 5.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.134, allocations: 186.9 kB / 0.4957 GB, free: 5.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.134, allocations: 29.7 kB / 0.4958 GB, free: 5.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1341, allocations: 124.6 kB / 0.4959 GB, free: 5.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.1342, allocations: 75.34 kB / 0.496 GB, free: 5.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.1343, allocations: 57.69 kB / 0.496 GB, free: 5.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1345, allocations: 334.8 kB / 0.4963 GB, free: 4.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.1347, allocations: 120 kB / 0.4964 GB, free: 4.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.1349, allocations: 124 kB / 0.4966 GB, free: 4.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.1353, allocations: 281.9 kB / 0.4968 GB, free: 4.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1353, allocations: 0 / 0.4968 GB, free: 4.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001068/0.1364, allocations: 482 kB / 0.4973 GB, free: 3.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1364, allocations: 15.94 kB / 0.4973 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1364, allocations: 3.938 kB / 0.4973 GB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/0.1372, allocations: 176.6 kB / 0.4975 GB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1374, allocations: 39.91 kB / 0.4975 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.1408, allocations: 2.215 MB / 0.4997 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.141, allocations: 23.88 kB / 0.4997 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.141, allocations: 11.94 kB / 0.4997 GB, free: 1.34 MB / 366.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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.1412, allocations: 137.8 kB / 0.4998 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.1412, allocations: 19.91 kB / 0.4999 GB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.1423, allocations: 460 kB / 0.5003 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1423, allocations: 4.281 kB / 0.5003 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1423, allocations: 0 / 0.5003 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1423, allocations: 3.984 kB / 0.5003 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.1438, allocations: 0.7834 MB / 0.5011 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1438, allocations: 0 / 0.5011 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1439, allocations: 27.92 kB / 0.5011 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006903/0.1446, allocations: 172.7 kB / 0.5013 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.1446, allocations: 8 kB / 0.5013 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.1477, allocations: 2.19 MB / 0.5034 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1477, allocations: 0 / 0.5034 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1488, allocations: 0.5162 MB / 0.5039 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.1489, allocations: 23.91 kB / 0.5039 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.1489, allocations: 0 / 0.5039 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1491, allocations: 11.98 kB / 0.5039 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.1491, allocations: 27.89 kB / 0.504 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1492, allocations: 8.281 kB / 0.504 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1493, allocations: 135.2 kB / 0.5041 GB, free: 12.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1493, allocations: 0 / 0.5041 GB, free: 12.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.1497, allocations: 87.88 kB / 0.5042 GB, free: 12.53 MB / 382.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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.1512, allocations: 1.057 MB / 0.5052 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.1523, allocations: 479 kB / 0.5057 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1524, allocations: 4 kB / 0.5057 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.153, allocations: 334.3 kB / 0.506 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1534, allocations: 23.92 kB / 0.506 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.1579, allocations: 2.745 MB / 0.5087 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.158, allocations: 120.9 kB / 0.5088 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.958e-05/0.1581, allocations: 21.62 kB / 0.5088 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1582, allocations: 55.41 kB / 0.5089 GB, free: 7.555 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1582, allocations: 0 / 0.5089 GB, free: 7.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.1986, allocations: 7.187 MB / 0.5159 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.03, allocations: 7.375 kB / 0.5159 GB, free: 0.5156 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank_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_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.11557844094932] Failed to read output from testmodel.py, exit status != 0: 13.39875404490158 13.414026337 13.28481253 Calling exit ...