Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.001329/0.001329, allocations: 110.1 kB / 19.74 MB, free: 2.16 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.001404/0.001404, allocations: 213.6 kB / 23.04 MB, free: 5.012 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.04018/0.04018, allocations: 6.133 MB / 319.4 MB, free: 12.98 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.92 kB / 444.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 55.03 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002639/0.1166, allocations: 1.258 MB / 0.489 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1185, allocations: 1.318 MB / 0.4903 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.1185, allocations: 4 kB / 0.4903 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1188, allocations: 67.62 kB / 0.4904 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.119, allocations: 51.62 kB / 0.4905 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.1197, allocations: 334.7 kB / 0.4908 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1199, allocations: 127.5 kB / 0.4909 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1201, allocations: 54.25 kB / 0.4909 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.1201, allocations: 47.8 kB / 0.491 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1203, allocations: 71.7 kB / 0.4911 GB, free: 10.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.1203, allocations: 8 kB / 0.4911 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.1206, allocations: 119.9 kB / 0.4912 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.1206, allocations: 23.92 kB / 0.4912 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.1207, allocations: 63.67 kB / 0.4913 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.121, allocations: 219.2 kB / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.121, allocations: 4 kB / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.121, allocations: 0 / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.121, allocations: 0 / 0.4915 GB, free: 10.54 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000971/0.122, allocations: 409.5 kB / 0.4919 GB, free: 10.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.122, allocations: 16.02 kB / 0.4919 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.1221, allocations: 42.75 kB / 0.4919 GB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.1221, allocations: 16.83 kB / 0.4919 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1223, allocations: 130.4 kB / 0.4921 GB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1223, allocations: 12.38 kB / 0.4921 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1223, allocations: 12.38 kB / 0.4921 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.1226, allocations: 138.2 kB / 0.4922 GB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1226, allocations: 3.938 kB / 0.4922 GB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1226, allocations: 8 kB / 0.4922 GB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1226, allocations: 0 / 0.4922 GB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1228, allocations: 95.97 kB / 0.4923 GB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.1235, allocations: 467.3 kB / 0.4928 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1239, allocations: 90.67 kB / 0.4929 GB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1239, allocations: 28.84 kB / 0.4929 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.318e-05/0.124, allocations: 8 kB / 0.4929 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.124, allocations: 38.5 kB / 0.4929 GB, free: 8.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.124, allocations: 0 / 0.4929 GB, free: 8.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005374/0.1246, allocations: 150.6 kB / 0.4931 GB, free: 8.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1246, allocations: 55.41 kB / 0.4931 GB, free: 8.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1247, allocations: 133.8 kB / 0.4932 GB, free: 8.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1248, allocations: 33.7 kB / 0.4933 GB, free: 8.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.1248, allocations: 123.8 kB / 0.4934 GB, free: 8.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1249, allocations: 27.75 kB / 0.4934 GB, free: 8.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.1249, allocations: 25.7 kB / 0.4935 GB, free: 8.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1251, allocations: 322.8 kB / 0.4938 GB, free: 8.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.1251, allocations: 31.94 kB / 0.4938 GB, free: 7.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.352e-05/0.1252, allocations: 31.98 kB / 0.4938 GB, free: 7.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.1253, allocations: 64.97 kB / 0.4939 GB, free: 7.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1253, allocations: 0 / 0.4939 GB, free: 7.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002666/0.1255, allocations: 138.4 kB / 0.494 GB, free: 7.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1255, allocations: 4 kB / 0.494 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1256, allocations: 0 / 0.494 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.1258, allocations: 36.83 kB / 0.4941 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.1259, allocations: 15.94 kB / 0.4941 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1271, allocations: 1.322 MB / 0.4954 GB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.1272, allocations: 11.91 kB / 0.4954 GB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1272, allocations: 3.938 kB / 0.4954 GB, free: 6.223 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 (9): * Single equations (assignments): 8 * 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 0.0001217/0.1273, allocations: 129.8 kB / 0.4955 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.1273, allocations: 3.953 kB / 0.4955 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1276, allocations: 118.8 kB / 0.4956 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1276, allocations: 0 / 0.4956 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1276, allocations: 4.062 kB / 0.4956 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1276, allocations: 0 / 0.4956 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.1278, allocations: 204.5 kB / 0.4958 GB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1278, allocations: 0 / 0.4958 GB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.1279, allocations: 8 kB / 0.4958 GB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.128, allocations: 32.83 kB / 0.4959 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.128, allocations: 0 / 0.4959 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.1291, allocations: 1.311 MB / 0.4971 GB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1291, allocations: 8.047 kB / 0.4971 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1294, allocations: 204.2 kB / 0.4973 GB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.1294, allocations: 11.89 kB / 0.4973 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1294, allocations: 0 / 0.4973 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1295, allocations: 11.98 kB / 0.4974 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.1296, allocations: 7.984 kB / 0.4974 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1296, allocations: 4.094 kB / 0.4974 GB, free: 3.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1297, allocations: 115.2 kB / 0.4975 GB, free: 3.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1297, allocations: 0 / 0.4975 GB, free: 3.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.13, allocations: 32 kB / 0.4975 GB, free: 3.836 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 (6): * Single equations (assignments): 5 * 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.0006083/0.1306, allocations: 0.7448 MB / 0.4982 GB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.131, allocations: 178.7 kB / 0.4984 GB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.131, allocations: 4 kB / 0.4984 GB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.1312, allocations: 154.5 kB / 0.4986 GB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1315, allocations: 8 kB / 0.4986 GB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1334, allocations: 1.61 MB / 0.5001 GB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1337, allocations: 0.7041 MB / 0.5008 GB, free: 284 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.214e-05/0.1337, allocations: 12.64 kB / 0.5008 GB, free: 272 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.1338, allocations: 39.36 kB / 0.5009 GB, free: 232 kB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1338, allocations: 0 / 0.5009 GB, free: 232 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.1645, allocations: 3.056 MB / 0.5039 GB, free: 13.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.69, allocations: 10.62 kB / 0.5039 GB, free: 13.29 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses_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_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.621075445000315] Failed to read output from testmodel.py, exit status != 0: 11.800069951001205 12.090053742 11.698641019 Calling exit ...