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.00133/0.00133, 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.001469/0.001469, allocations: 209.6 kB / 23.04 MB, free: 5.008 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.03946/0.03946, allocations: 6.132 MB / 319.4 MB, free: 13 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.001486/0.001486, allocations: 43.92 kB / 444.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 55.02 MB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002616/0.1072, allocations: 0.9856 MB / 0.4888 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1088, allocations: 1.166 MB / 0.4899 GB, free: 12.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.1089, allocations: 0 / 0.4899 GB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1091, allocations: 75.64 kB / 0.49 GB, free: 12.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1093, allocations: 35.83 kB / 0.49 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1097, allocations: 139.4 kB / 0.4901 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1098, allocations: 63.72 kB / 0.4902 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1099, allocations: 24.39 kB / 0.4902 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.1099, allocations: 23.88 kB / 0.4902 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.11, allocations: 39.83 kB / 0.4903 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.11, allocations: 4 kB / 0.4903 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1102, allocations: 71.86 kB / 0.4904 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1102, allocations: 7.984 kB / 0.4904 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1103, allocations: 39.81 kB / 0.4904 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1105, allocations: 127.5 kB / 0.4905 GB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1105, allocations: 0 / 0.4905 GB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1105, allocations: 0 / 0.4905 GB, free: 11.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1105, allocations: 0 / 0.4905 GB, free: 11.56 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.0006/0.1111, allocations: 310 kB / 0.4908 GB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1111, allocations: 12.03 kB / 0.4908 GB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.1112, allocations: 38.73 kB / 0.4909 GB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1112, allocations: 8.891 kB / 0.4909 GB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1113, allocations: 122.4 kB / 0.491 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1114, allocations: 4.375 kB / 0.491 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1114, allocations: 8.375 kB / 0.491 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1115, allocations: 81.98 kB / 0.4911 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1116, allocations: 0 / 0.4911 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1116, allocations: 0 / 0.4911 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1116, allocations: 4 kB / 0.4911 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1117, allocations: 63.91 kB / 0.4912 GB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.1123, allocations: 331.6 kB / 0.4915 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1124, allocations: 42.5 kB / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.1124, allocations: 20.92 kB / 0.4915 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/0.1125, allocations: 7.984 kB / 0.4915 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.1125, allocations: 34.56 kB / 0.4916 GB, free: 10.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1125, allocations: 0 / 0.4916 GB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002147/0.1127, allocations: 69.64 kB / 0.4916 GB, free: 10.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1128, allocations: 63.34 kB / 0.4917 GB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.1129, allocations: 113.8 kB / 0.4918 GB, free: 10.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1129, allocations: 25.7 kB / 0.4918 GB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.113, allocations: 104.1 kB / 0.4919 GB, free: 9.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.113, allocations: 19.8 kB / 0.4919 GB, free: 9.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.113, allocations: 21.72 kB / 0.492 GB, free: 9.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1132, allocations: 314.8 kB / 0.4923 GB, free: 9.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.245e-05/0.1132, allocations: 12 kB / 0.4923 GB, free: 9.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.1132, allocations: 19.98 kB / 0.4923 GB, free: 9.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.1133, allocations: 40.86 kB / 0.4923 GB, free: 9.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1133, allocations: 0 / 0.4923 GB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001203/0.1134, allocations: 73.67 kB / 0.4924 GB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1135, allocations: 8 kB / 0.4924 GB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1135, allocations: 0 / 0.4924 GB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1135, allocations: 3.938 kB / 0.4924 GB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.1136, allocations: 8 kB / 0.4924 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000102/0.1137, allocations: 3.938 kB / 0.4924 GB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.1137, allocations: 7.953 kB / 0.4924 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1137, allocations: 8.234 kB / 0.4924 GB, free: 9.398 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.121e-05/0.1138, allocations: 113.8 kB / 0.4926 GB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1138, allocations: 0 / 0.4926 GB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.114, allocations: 89.67 kB / 0.4926 GB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.114, allocations: 0 / 0.4926 GB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.114, allocations: 3.938 kB / 0.4926 GB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.114, allocations: 3.984 kB / 0.4926 GB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1142, allocations: 152.7 kB / 0.4928 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1142, allocations: 0 / 0.4928 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.1143, allocations: 12 kB / 0.4928 GB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1143, allocations: 7.922 kB / 0.4928 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1143, allocations: 0 / 0.4928 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1143, allocations: 4 kB / 0.4928 GB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1143, allocations: 3.938 kB / 0.4928 GB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.1144, allocations: 163.5 kB / 0.493 GB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-06/0.1144, allocations: 3.953 kB / 0.493 GB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1145, allocations: 0 / 0.493 GB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.1145, allocations: 4 kB / 0.493 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.1145, allocations: 19.86 kB / 0.493 GB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1145, allocations: 3.938 kB / 0.493 GB, free: 8.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.1146, allocations: 83.83 kB / 0.4931 GB, free: 8.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1146, allocations: 0 / 0.4931 GB, free: 8.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.1148, allocations: 16 kB / 0.4931 GB, free: 8.645 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.0004796/0.1153, allocations: 0.7048 MB / 0.4938 GB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1154, allocations: 43.92 kB / 0.4938 GB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1154, allocations: 0 / 0.4938 GB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.1155, allocations: 12 kB / 0.4938 GB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1157, allocations: 15.94 kB / 0.4939 GB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.117, allocations: 1.321 MB / 0.4951 GB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.1174, allocations: 0.6883 MB / 0.4958 GB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.1174, allocations: 7.984 kB / 0.4958 GB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.1175, allocations: 15.44 kB / 0.4958 GB, free: 5.711 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1175, allocations: 0 / 0.4958 GB, free: 5.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.1446, allocations: 1.997 MB / 0.4978 GB, free: 3.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.19, allocations: 3.25 kB / 0.4978 GB, free: 3.832 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: 13.901180161999946] Failed to read output from testmodel.py, exit status != 0: 11.291337235998071 11.321231897 11.20503505 Calling exit ...