Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.001423/0.001423, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001561/0.001561, allocations: 219.5 kB / 23.03 MB, free: 4.621 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.03765/0.03765, allocations: 6.14 MB / 319.4 MB, free: 12.77 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.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.92 kB / 444.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.108, allocations: 55.02 MB / 499.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002405/0.1104, allocations: 0.94 MB / 0.4886 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1121, allocations: 1.119 MB / 0.4897 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.1121, allocations: 3.938 kB / 0.4897 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1124, allocations: 75.64 kB / 0.4898 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1126, allocations: 31.78 kB / 0.4898 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.113, allocations: 127.5 kB / 0.49 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1131, allocations: 59.67 kB / 0.49 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1133, allocations: 28.09 kB / 0.49 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.1133, allocations: 23.94 kB / 0.4901 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.1134, allocations: 35.83 kB / 0.4901 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1134, allocations: 4 kB / 0.4901 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1136, allocations: 63.92 kB / 0.4902 GB, free: 11.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.1136, allocations: 7.938 kB / 0.4902 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1136, allocations: 31.86 kB / 0.4902 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1139, allocations: 127.5 kB / 0.4903 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1139, allocations: 4 kB / 0.4903 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1139, allocations: 0 / 0.4903 GB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1139, allocations: 0 / 0.4903 GB, free: 11.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006741/0.1146, allocations: 318 kB / 0.4906 GB, free: 11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1146, allocations: 8.031 kB / 0.4906 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.1147, allocations: 38.75 kB / 0.4907 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.1147, allocations: 8.891 kB / 0.4907 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1148, allocations: 118.5 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1148, allocations: 384 / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1149, allocations: 8.375 kB / 0.4908 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.115, allocations: 93.91 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1151, allocations: 0 / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1151, allocations: 0 / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1151, allocations: 4 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1152, allocations: 59.97 kB / 0.491 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.1157, allocations: 307.7 kB / 0.4912 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1158, allocations: 42.56 kB / 0.4913 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.1159, allocations: 12.98 kB / 0.4913 GB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/0.116, allocations: 15.92 kB / 0.4913 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.116, allocations: 30.56 kB / 0.4913 GB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.116, allocations: 0 / 0.4913 GB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002088/0.1162, allocations: 77.77 kB / 0.4914 GB, free: 10.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.1162, allocations: 59.34 kB / 0.4915 GB, free: 10.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1163, allocations: 110 kB / 0.4916 GB, free: 9.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1164, allocations: 33.64 kB / 0.4916 GB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.1164, allocations: 99.97 kB / 0.4917 GB, free: 9.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1165, allocations: 23.78 kB / 0.4917 GB, free: 9.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1165, allocations: 21.72 kB / 0.4917 GB, free: 9.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1167, allocations: 318.8 kB / 0.4921 GB, free: 9.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.1167, allocations: 16.06 kB / 0.4921 GB, free: 9.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.1167, allocations: 15.98 kB / 0.4921 GB, free: 9.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.566e-05/0.1168, allocations: 44.8 kB / 0.4921 GB, free: 9.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1168, allocations: 0 / 0.4921 GB, free: 9.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001194/0.1169, allocations: 69.69 kB / 0.4922 GB, free: 9.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1169, allocations: 6.5 kB / 0.4922 GB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1169, allocations: 4 kB / 0.4922 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.117, allocations: 0 / 0.4922 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.117, allocations: 8 kB / 0.4922 GB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1171, allocations: 3.938 kB / 0.4922 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.1171, allocations: 11.95 kB / 0.4922 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1171, allocations: 0 / 0.4922 GB, free: 9.199 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.1172, allocations: 121.8 kB / 0.4923 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.1172, allocations: 0 / 0.4923 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.1174, allocations: 81.69 kB / 0.4924 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1174, allocations: 0 / 0.4924 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1174, allocations: 3.938 kB / 0.4924 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1174, allocations: 0 / 0.4924 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1176, allocations: 156.7 kB / 0.4926 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1176, allocations: 0 / 0.4926 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.1177, allocations: 11.98 kB / 0.4926 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1177, allocations: 0 / 0.4926 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1177, allocations: 4 kB / 0.4926 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1177, allocations: 0 / 0.4926 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1177, allocations: 7.875 kB / 0.4926 GB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1179, allocations: 171.5 kB / 0.4928 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.1179, allocations: 3.953 kB / 0.4928 GB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1179, allocations: 4 kB / 0.4928 GB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.1179, allocations: 4 kB / 0.4928 GB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.118, allocations: 7.922 kB / 0.4928 GB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.118, allocations: 4 kB / 0.4928 GB, free: 8.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.289e-05/0.118, allocations: 83.83 kB / 0.4929 GB, free: 8.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.118, allocations: 0 / 0.4929 GB, free: 8.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1183, allocations: 12 kB / 0.4929 GB, free: 8.453 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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006055/0.1189, allocations: 0.7201 MB / 0.4936 GB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.119, allocations: 31.98 kB / 0.4936 GB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.119, allocations: 0 / 0.4936 GB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.119, allocations: 19.94 kB / 0.4936 GB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1193, allocations: 7.938 kB / 0.4936 GB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1207, allocations: 1.322 MB / 0.4949 GB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.235e-05/0.1208, allocations: 79.19 kB / 0.495 GB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.1208, allocations: 4 kB / 0.495 GB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.1209, allocations: 15.44 kB / 0.495 GB, free: 6.137 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1209, allocations: 0 / 0.495 GB, free: 6.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.1492, allocations: 2.366 MB / 0.4973 GB, free: 3.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.36, allocations: 6.25 kB / 0.4973 GB, free: 3.887 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneBank_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_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.218705378938466] Failed to read output from testmodel.py, exit status != 0: 11.468909175135195 11.497679909 11.378649058 Calling exit ...