Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.001808/0.001808, 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.002245/0.002245, allocations: 224.2 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.762 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.0416/0.0416, allocations: 6.139 MB / 319.3 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.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.92 kB / 444.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09994, allocations: 55.02 MB / 499.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002274/0.1022, allocations: 0.9616 MB / 0.4887 GB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1038, allocations: 1.108 MB / 0.4897 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.1039, allocations: 0 / 0.4897 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.1042, allocations: 59.7 kB / 0.4898 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1043, allocations: 35.78 kB / 0.4898 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.105, allocations: 267 kB / 0.4901 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1052, allocations: 79.64 kB / 0.4902 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1053, allocations: 23.88 kB / 0.4902 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.1053, allocations: 35.84 kB / 0.4902 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1055, allocations: 35.84 kB / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1055, allocations: 8 kB / 0.4903 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.1057, allocations: 75.91 kB / 0.4903 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.1058, allocations: 23.97 kB / 0.4904 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.1058, allocations: 27.81 kB / 0.4904 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1061, allocations: 135.5 kB / 0.4905 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1061, allocations: 0 / 0.4905 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1061, allocations: 4 kB / 0.4905 GB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1061, allocations: 0 / 0.4905 GB, free: 11.11 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.0008064/0.1069, allocations: 345.9 kB / 0.4908 GB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1069, allocations: 12.03 kB / 0.4909 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.107, allocations: 38.69 kB / 0.4909 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.107, allocations: 12.89 kB / 0.4909 GB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.1072, allocations: 122.5 kB / 0.491 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1072, allocations: 8.375 kB / 0.491 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1072, allocations: 8.359 kB / 0.491 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1074, allocations: 129.6 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1075, allocations: 7.938 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1075, allocations: 7.938 kB / 0.4912 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1075, allocations: 0 / 0.4912 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1076, allocations: 55.97 kB / 0.4912 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.1081, allocations: 319.7 kB / 0.4915 GB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1084, allocations: 70.56 kB / 0.4916 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.1084, allocations: 16.98 kB / 0.4916 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.329e-05/0.1085, allocations: 7.984 kB / 0.4916 GB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1085, allocations: 38.56 kB / 0.4917 GB, free: 9.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1085, allocations: 0 / 0.4917 GB, free: 9.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004967/0.109, allocations: 118.3 kB / 0.4918 GB, free: 9.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.1091, allocations: 55.39 kB / 0.4918 GB, free: 9.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1093, allocations: 121.8 kB / 0.4919 GB, free: 9.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1093, allocations: 25.7 kB / 0.492 GB, free: 9.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.1094, allocations: 104.1 kB / 0.4921 GB, free: 9.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1094, allocations: 23.8 kB / 0.4921 GB, free: 9.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.1094, allocations: 13.72 kB / 0.4921 GB, free: 9.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1096, allocations: 318.8 kB / 0.4924 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.1096, allocations: 12 kB / 0.4924 GB, free: 8.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.1096, allocations: 8 kB / 0.4924 GB, free: 8.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.1097, allocations: 36.78 kB / 0.4925 GB, free: 8.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1097, allocations: 4.375 kB / 0.4925 GB, free: 8.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1099, allocations: 86.47 kB / 0.4926 GB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1099, allocations: 8 kB / 0.4926 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1099, allocations: 0 / 0.4926 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.1101, allocations: 24.78 kB / 0.4926 GB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-05/0.1101, allocations: 7.984 kB / 0.4926 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.1114, allocations: 1.272 MB / 0.4938 GB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1114, allocations: 7.891 kB / 0.4938 GB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1115, allocations: 3.938 kB / 0.4938 GB, free: 7.363 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 (4): * Single equations (assignments): 3 * 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.0001111/0.1116, allocations: 117.8 kB / 0.494 GB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1116, allocations: 4 kB / 0.494 GB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1118, allocations: 102.5 kB / 0.4941 GB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1118, allocations: 12.06 kB / 0.4941 GB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1118, allocations: 0 / 0.4941 GB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1118, allocations: 0 / 0.4941 GB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.112, allocations: 148.7 kB / 0.4942 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.112, allocations: 0 / 0.4942 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.1121, allocations: 15.92 kB / 0.4942 GB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.1122, allocations: 24.84 kB / 0.4943 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1122, allocations: 4.062 kB / 0.4943 GB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.1133, allocations: 1.275 MB / 0.4955 GB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1133, allocations: 4 kB / 0.4955 GB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1136, allocations: 180.3 kB / 0.4957 GB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.1136, allocations: 7.953 kB / 0.4957 GB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1136, allocations: 4 kB / 0.4957 GB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.1137, allocations: 8.359 kB / 0.4957 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.1137, allocations: 12.08 kB / 0.4957 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1137, allocations: 7.938 kB / 0.4957 GB, free: 5.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.365e-05/0.1138, allocations: 99.2 kB / 0.4958 GB, free: 5.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1138, allocations: 0 / 0.4958 GB, free: 5.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1141, allocations: 23.94 kB / 0.4958 GB, free: 5.129 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 (5): * Single equations (assignments): 4 * 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.0006252/0.1147, allocations: 0.7249 MB / 0.4965 GB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.115, allocations: 146.7 kB / 0.4967 GB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.115, allocations: 0 / 0.4967 GB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1152, allocations: 138.7 kB / 0.4968 GB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1155, allocations: 15.92 kB / 0.4968 GB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1172, allocations: 1.418 MB / 0.4982 GB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.1173, allocations: 79.33 kB / 0.4983 GB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.1173, allocations: 7.984 kB / 0.4983 GB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1174, allocations: 27.42 kB / 0.4983 GB, free: 2.418 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1174, allocations: 0 / 0.4983 GB, free: 2.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.1473, allocations: 3.046 MB / 0.5013 GB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.78, allocations: 3.75 kB / 0.5013 GB, free: 15.51 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLoad_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_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.526961106341332] Failed to read output from testmodel.py, exit status != 0: 11.885700047947466 11.918790062 11.806836172 Calling exit ...