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.00134/0.00134, allocations: 100.4 kB / 19.74 MB, free: 1.754 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.001516/0.001516, allocations: 220 kB / 23.03 MB, free: 4.625 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.03868/0.03868, allocations: 6.138 MB / 319.4 MB, free: 12.75 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.001607/0.001607, allocations: 47.92 kB / 444.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1014, allocations: 55.01 MB / 499.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002708/0.1041, allocations: 1.175 MB / 0.4889 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1062, allocations: 1.26 MB / 0.4901 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.1063, allocations: 4 kB / 0.4901 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.1066, allocations: 71.62 kB / 0.4902 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1068, allocations: 51.62 kB / 0.4902 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.1076, allocations: 310.8 kB / 0.4905 GB, free: 11.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1078, allocations: 127.4 kB / 0.4906 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1079, allocations: 46 kB / 0.4907 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.108, allocations: 55.72 kB / 0.4907 GB, free: 10.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1081, allocations: 55.77 kB / 0.4908 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1082, allocations: 11.98 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.1084, allocations: 111.9 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.1084, allocations: 23.92 kB / 0.4909 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.1085, allocations: 51.78 kB / 0.491 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1089, allocations: 219.2 kB / 0.4912 GB, free: 10.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1089, allocations: 4 kB / 0.4912 GB, free: 10.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1089, allocations: 0 / 0.4912 GB, free: 10.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1089, allocations: 0 / 0.4912 GB, free: 10.4 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.001032/0.1099, allocations: 413.4 kB / 0.4916 GB, free: 9.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.11, allocations: 8.031 kB / 0.4916 GB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.11, allocations: 46.73 kB / 0.4916 GB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1101, allocations: 12.89 kB / 0.4917 GB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1102, allocations: 126.4 kB / 0.4918 GB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1103, allocations: 12.38 kB / 0.4918 GB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1103, allocations: 12.38 kB / 0.4918 GB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1106, allocations: 193.6 kB / 0.492 GB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1106, allocations: 3.938 kB / 0.492 GB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1106, allocations: 4 kB / 0.492 GB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1106, allocations: 4 kB / 0.492 GB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.1108, allocations: 103.9 kB / 0.4921 GB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.1115, allocations: 423.4 kB / 0.4925 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.1119, allocations: 102.7 kB / 0.4926 GB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.1119, allocations: 20.86 kB / 0.4926 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-05/0.112, allocations: 7.984 kB / 0.4926 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.112, allocations: 38.5 kB / 0.4927 GB, free: 8.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.112, allocations: 0 / 0.4927 GB, free: 8.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005608/0.1126, allocations: 158.6 kB / 0.4928 GB, free: 8.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.1126, allocations: 51.41 kB / 0.4929 GB, free: 8.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1128, allocations: 145.7 kB / 0.493 GB, free: 8.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1128, allocations: 29.7 kB / 0.493 GB, free: 8.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1129, allocations: 119.8 kB / 0.4931 GB, free: 8.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.113, allocations: 27.78 kB / 0.4932 GB, free: 8.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.113, allocations: 29.7 kB / 0.4932 GB, free: 8.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1132, allocations: 318.8 kB / 0.4935 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.1132, allocations: 31.92 kB / 0.4935 GB, free: 7.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.1133, allocations: 27.98 kB / 0.4936 GB, free: 7.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1134, allocations: 64.86 kB / 0.4936 GB, free: 7.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1134, allocations: 0 / 0.4936 GB, free: 7.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002869/0.1137, allocations: 142.3 kB / 0.4938 GB, free: 7.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1137, allocations: 10.5 kB / 0.4938 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1137, allocations: 288 / 0.4938 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.1139, allocations: 32.83 kB / 0.4938 GB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.114, allocations: 19.92 kB / 0.4938 GB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.1153, allocations: 1.322 MB / 0.4951 GB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.1154, allocations: 7.891 kB / 0.4951 GB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1154, allocations: 7.969 kB / 0.4951 GB, free: 6.043 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.000122/0.1156, allocations: 125.7 kB / 0.4952 GB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1156, allocations: 4 kB / 0.4953 GB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.1159, allocations: 122.8 kB / 0.4954 GB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1159, allocations: 4 kB / 0.4954 GB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.1159, allocations: 0 / 0.4954 GB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1159, allocations: 4.094 kB / 0.4954 GB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1161, allocations: 184.6 kB / 0.4956 GB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1161, allocations: 0 / 0.4956 GB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.1162, allocations: 11.98 kB / 0.4956 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.1163, allocations: 28.84 kB / 0.4956 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1163, allocations: 7.984 kB / 0.4956 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.1176, allocations: 1.311 MB / 0.4969 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1176, allocations: 0 / 0.4969 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.1179, allocations: 208.2 kB / 0.4971 GB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.1179, allocations: 7.953 kB / 0.4971 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1179, allocations: 0 / 0.4971 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.118, allocations: 7.984 kB / 0.4971 GB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1181, allocations: 8 kB / 0.4971 GB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1181, allocations: 0 / 0.4971 GB, free: 3.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1182, allocations: 123 kB / 0.4972 GB, free: 3.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1182, allocations: 0 / 0.4972 GB, free: 3.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.1185, allocations: 35.89 kB / 0.4973 GB, free: 3.672 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.0006815/0.1192, allocations: 0.7366 MB / 0.498 GB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.1196, allocations: 186.6 kB / 0.4981 GB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1196, allocations: 0 / 0.4981 GB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.1198, allocations: 142.6 kB / 0.4983 GB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1202, allocations: 15.98 kB / 0.4983 GB, free: 2.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1222, allocations: 1.618 MB / 0.4999 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.1223, allocations: 89.19 kB / 0.5 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.109e-05/0.1224, allocations: 12.66 kB / 0.5 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.1225, allocations: 31.42 kB / 0.5 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1225, allocations: 0 / 0.5 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.1553, allocations: 3.497 MB / 0.5034 GB, free: 13.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.84, allocations: 3.984 kB / 0.5034 GB, free: 13.34 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.737802282907069] Failed to read output from testmodel.py, exit status != 0: 11.946582643780857 12.141306112 11.852718311 Calling exit ...