Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.001269/0.001269, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.001416/0.001416, allocations: 224.5 kB / 23.05 MB, free: 4.941 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.03866/0.03866, allocations: 6.136 MB / 319.4 MB, free: 12.94 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 51.92 kB / 444.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1227, allocations: 55.02 MB / 499.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002823/0.1256, allocations: 1.552 MB / 0.4893 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1282, allocations: 1.633 MB / 0.4909 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.879e-05/0.1283, allocations: 4 kB / 0.4909 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.1287, allocations: 123.3 kB / 0.491 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.129, allocations: 111.3 kB / 0.4912 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.1309, allocations: 0.9944 MB / 0.4921 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.1314, allocations: 250.8 kB / 0.4924 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1315, allocations: 52.78 kB / 0.4924 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1317, allocations: 103.6 kB / 0.4925 GB, free: 9.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.1319, allocations: 135.5 kB / 0.4926 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.132, allocations: 24 kB / 0.4927 GB, free: 9.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.1325, allocations: 239.8 kB / 0.4929 GB, free: 9.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1326, allocations: 47.83 kB / 0.4929 GB, free: 8.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1327, allocations: 123.3 kB / 0.4931 GB, free: 8.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.1333, allocations: 418.7 kB / 0.4935 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1334, allocations: 0 / 0.4935 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1334, allocations: 0 / 0.4935 GB, free: 8.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1334, allocations: 0 / 0.4935 GB, free: 8.441 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.003178/0.1365, allocations: 0.8362 MB / 0.4943 GB, free: 7.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1366, allocations: 8.031 kB / 0.4943 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.503e-05/0.1367, allocations: 58.67 kB / 0.4943 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.1367, allocations: 24.8 kB / 0.4944 GB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1371, allocations: 198.2 kB / 0.4946 GB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1371, allocations: 16.16 kB / 0.4946 GB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.1371, allocations: 24.38 kB / 0.4946 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.1376, allocations: 278.1 kB / 0.4949 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1376, allocations: 3.938 kB / 0.4949 GB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1377, allocations: 8 kB / 0.4949 GB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1377, allocations: 4 kB / 0.4949 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.1381, allocations: 295.7 kB / 0.4952 GB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1399, allocations: 1.109 MB / 0.4962 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.1404, allocations: 330.4 kB / 0.4965 GB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.1407, allocations: 173.2 kB / 0.4967 GB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.1408, allocations: 7.984 kB / 0.4967 GB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1408, allocations: 38.56 kB / 0.4968 GB, free: 4.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.422e-06/0.1408, allocations: 4 kB / 0.4968 GB, free: 4.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.008875/0.1497, allocations: 1.489 MB / 0.4982 GB, free: 3.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.1497, allocations: 51.41 kB / 0.4983 GB, free: 3.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.15, allocations: 182.9 kB / 0.4984 GB, free: 3.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.15, allocations: 29.7 kB / 0.4985 GB, free: 3.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1501, allocations: 125 kB / 0.4986 GB, free: 2.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1503, allocations: 103.1 kB / 0.4987 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.1504, allocations: 61.69 kB / 0.4987 GB, free: 2.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1506, allocations: 330.8 kB / 0.4991 GB, free: 2.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1509, allocations: 172 kB / 0.4992 GB, free: 2.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1512, allocations: 184.2 kB / 0.4994 GB, free: 2.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.1518, allocations: 392.6 kB / 0.4998 GB, free: 1.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1518, allocations: 0 / 0.4998 GB, free: 1.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005247/0.157, allocations: 1.009 MB / 0.5008 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.1571, allocations: 4 kB / 0.5008 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1571, allocations: 4 kB / 0.5008 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/0.1626, allocations: 0.7265 MB / 0.5015 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.1628, allocations: 43.91 kB / 0.5015 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008131/0.1709, allocations: 3.547 MB / 0.505 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.1712, allocations: 27.78 kB / 0.505 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.1713, allocations: 15.98 kB / 0.505 GB, free: 12.2 MB / 382.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 (25): * Single equations (assignments): 24 * 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 {(8,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.1715, allocations: 133.8 kB / 0.5052 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1715, allocations: 31.8 kB / 0.5052 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00539/0.1769, allocations: 1.02 MB / 0.5062 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1769, allocations: 4 kB / 0.5062 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1769, allocations: 0 / 0.5062 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1769, allocations: 3.984 kB / 0.5062 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.1776, allocations: 400.3 kB / 0.5066 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1776, allocations: 0 / 0.5066 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.1777, allocations: 35.92 kB / 0.5066 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/0.183, allocations: 0.7265 MB / 0.5073 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.1831, allocations: 8 kB / 0.5073 GB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007445/0.1905, allocations: 3.502 MB / 0.5107 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1905, allocations: 0 / 0.5107 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.1955, allocations: 1.061 MB / 0.5118 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.1956, allocations: 31.78 kB / 0.5118 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1956, allocations: 4 kB / 0.5118 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1959, allocations: 23.98 kB / 0.5118 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.196, allocations: 27.94 kB / 0.5119 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.196, allocations: 12 kB / 0.5119 GB, free: 4.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.1962, allocations: 132.3 kB / 0.512 GB, free: 4.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1962, allocations: 0 / 0.512 GB, free: 4.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.1967, allocations: 120 kB / 0.5121 GB, free: 4.746 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 (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 {(8,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005777/0.2025, allocations: 1.626 MB / 0.5137 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.2045, allocations: 0.7128 MB / 0.5144 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2045, allocations: 0 / 0.5144 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.2058, allocations: 0.5061 MB / 0.5149 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.2062, allocations: 20.31 kB / 0.5149 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2138/0.4201, allocations: 4.011 MB / 0.5188 GB, free: 28.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.4203, allocations: 0.7476 MB / 0.5196 GB, free: 28.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.4204, allocations: 31.31 kB / 0.5196 GB, free: 28.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4206, allocations: 66.42 kB / 0.5196 GB, free: 28.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4206, allocations: 0 / 0.5196 GB, free: 28.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/0.4682, allocations: 12.35 MB / 0.5317 GB, free: 25.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.42, allocations: 5.25 kB / 0.5317 GB, free: 25.62 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad_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_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.112744068996108] Failed to read output from testmodel.py, exit status != 0: 13.542728975997306 13.559712242 13.423663469 Calling exit ...