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.001364/0.001364, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.001483/0.001483, allocations: 224.9 kB / 23.05 MB, free: 4.996 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.03627/0.03627, allocations: 6.132 MB / 319.4 MB, free: 12.97 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.001547/0.001547, allocations: 51.92 kB / 444.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 55.02 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.00283/0.1133, allocations: 1.389 MB / 0.4892 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.1159, allocations: 1.575 MB / 0.4907 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.116, allocations: 0 / 0.4907 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1163, allocations: 115.4 kB / 0.4908 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1166, allocations: 99.39 kB / 0.4909 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.1184, allocations: 0.8929 MB / 0.4918 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.1187, allocations: 191 kB / 0.492 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1188, allocations: 50.06 kB / 0.492 GB, free: 9.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.1189, allocations: 87.64 kB / 0.4921 GB, free: 9.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1191, allocations: 91.61 kB / 0.4922 GB, free: 9.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1192, allocations: 16 kB / 0.4922 GB, free: 9.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.1195, allocations: 211.8 kB / 0.4924 GB, free: 9.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1196, allocations: 39.83 kB / 0.4924 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.1197, allocations: 91.53 kB / 0.4925 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.1202, allocations: 354.7 kB / 0.4929 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1202, allocations: 4 kB / 0.4929 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1202, allocations: 0 / 0.4929 GB, free: 9.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1202, allocations: 4 kB / 0.4929 GB, free: 9.09 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.00184/0.122, allocations: 0.6066 MB / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1221, allocations: 8.031 kB / 0.4935 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.1221, allocations: 46.73 kB / 0.4935 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.1222, allocations: 24.8 kB / 0.4935 GB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1225, allocations: 174.2 kB / 0.4937 GB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1225, allocations: 16.66 kB / 0.4937 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1225, allocations: 12.38 kB / 0.4937 GB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.1229, allocations: 221.2 kB / 0.4939 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1229, allocations: 15.81 kB / 0.494 GB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1229, allocations: 4 kB / 0.494 GB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.1229, allocations: 4 kB / 0.494 GB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.1233, allocations: 204.8 kB / 0.4942 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1245, allocations: 0.8258 MB / 0.495 GB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.1252, allocations: 286.4 kB / 0.4952 GB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.1254, allocations: 116.8 kB / 0.4954 GB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.1254, allocations: 7.984 kB / 0.4954 GB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.1255, allocations: 34.56 kB / 0.4954 GB, free: 6.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.1255, allocations: 4 kB / 0.4954 GB, free: 6.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.00211/0.1276, allocations: 0.6462 MB / 0.496 GB, free: 5.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1276, allocations: 51.41 kB / 0.4961 GB, free: 5.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1278, allocations: 181.5 kB / 0.4963 GB, free: 5.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1279, allocations: 29.7 kB / 0.4963 GB, free: 5.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.1279, allocations: 120.6 kB / 0.4964 GB, free: 5.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.128, allocations: 91.19 kB / 0.4965 GB, free: 5.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.1281, allocations: 53.69 kB / 0.4965 GB, free: 5.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1283, allocations: 334.8 kB / 0.4969 GB, free: 4.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1285, allocations: 124 kB / 0.497 GB, free: 4.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.1287, allocations: 120 kB / 0.4971 GB, free: 4.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.1291, allocations: 281.9 kB / 0.4974 GB, free: 4.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1291, allocations: 0 / 0.4974 GB, free: 4.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001101/0.1302, allocations: 486 kB / 0.4978 GB, free: 3.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1302, allocations: 11.94 kB / 0.4978 GB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1302, allocations: 0 / 0.4978 GB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/0.131, allocations: 180.6 kB / 0.498 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1312, allocations: 31.98 kB / 0.498 GB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/0.1348, allocations: 2.244 MB / 0.5002 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.135, allocations: 19.84 kB / 0.5002 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.135, allocations: 11.94 kB / 0.5003 GB, free: 1.176 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.0001391/0.1352, allocations: 133.8 kB / 0.5004 GB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.1352, allocations: 15.91 kB / 0.5004 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.1363, allocations: 460 kB / 0.5008 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1363, allocations: 7.984 kB / 0.5008 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1363, allocations: 0 / 0.5008 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1363, allocations: 3.938 kB / 0.5009 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.1378, allocations: 0.8147 MB / 0.5016 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1378, allocations: 0 / 0.5016 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.1379, allocations: 31.86 kB / 0.5017 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007063/0.1386, allocations: 172.7 kB / 0.5018 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1386, allocations: 15.98 kB / 0.5019 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.1417, allocations: 2.229 MB / 0.504 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1417, allocations: 3.984 kB / 0.504 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1427, allocations: 0.5166 MB / 0.5045 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1427, allocations: 27.78 kB / 0.5046 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1428, allocations: 8 kB / 0.5046 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.143, allocations: 11.94 kB / 0.5046 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.143, allocations: 19.95 kB / 0.5046 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.143, allocations: 8 kB / 0.5046 GB, free: 12.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1432, allocations: 139.2 kB / 0.5047 GB, free: 12.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1432, allocations: 0 / 0.5047 GB, free: 12.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.1436, allocations: 79.94 kB / 0.5048 GB, free: 12.29 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.001499/0.1451, allocations: 1.064 MB / 0.5059 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1461, allocations: 486.5 kB / 0.5063 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.1461, allocations: 4 kB / 0.5063 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.1468, allocations: 322.4 kB / 0.5066 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1471, allocations: 26.75 kB / 0.5067 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.1514, allocations: 2.748 MB / 0.5093 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1518, allocations: 0.7289 MB / 0.5101 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.945e-05/0.1519, allocations: 25.62 kB / 0.5101 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.1519, allocations: 55.42 kB / 0.5101 GB, free: 6.684 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1519, allocations: 0 / 0.5101 GB, free: 6.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2383/0.3902, allocations: 7.251 MB / 0.5172 GB, free: 30.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.15, allocations: 4.609 kB / 0.5172 GB, free: 30.39 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: 15.903666957005044] Failed to read output from testmodel.py, exit status != 0: 13.265498130000196 13.287872939 13.163297931 Calling exit ...