Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.001322/0.001322, allocations: 118.2 kB / 19.74 MB, free: 2.141 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.00141/0.00141, allocations: 224.3 kB / 23.05 MB, free: 4.941 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.03801/0.03801, allocations: 6.134 MB / 319.4 MB, free: 12.98 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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 444.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09841, allocations: 55.01 MB / 499.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002047/0.1005, allocations: 0.871 MB / 0.4887 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1022, allocations: 1.369 MB / 0.49 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.1023, allocations: 0 / 0.49 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1026, allocations: 63.7 kB / 0.4901 GB, free: 12.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1027, allocations: 39.75 kB / 0.4901 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.1034, allocations: 328.8 kB / 0.4904 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1036, allocations: 71.66 kB / 0.4905 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1037, allocations: 23.97 kB / 0.4905 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.1037, allocations: 31.88 kB / 0.4905 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1039, allocations: 47.77 kB / 0.4906 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1039, allocations: 4 kB / 0.4906 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.1041, allocations: 111.9 kB / 0.4907 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.1041, allocations: 15.88 kB / 0.4907 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.1042, allocations: 31.86 kB / 0.4907 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1044, allocations: 163.7 kB / 0.4909 GB, free: 11.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1044, allocations: 4 kB / 0.4909 GB, free: 11.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1044, allocations: 0 / 0.4909 GB, free: 11.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1044, allocations: 0 / 0.4909 GB, free: 11.15 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009003/0.1053, allocations: 369.7 kB / 0.4912 GB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1054, allocations: 8.031 kB / 0.4912 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1054, allocations: 42.73 kB / 0.4913 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.1055, allocations: 8.891 kB / 0.4913 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.1056, allocations: 126.4 kB / 0.4914 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1056, allocations: 4.375 kB / 0.4914 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1057, allocations: 8.375 kB / 0.4914 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1058, allocations: 94.22 kB / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1058, allocations: 3.938 kB / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1059, allocations: 0 / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1059, allocations: 4 kB / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.106, allocations: 71.97 kB / 0.4916 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.1066, allocations: 363.6 kB / 0.4919 GB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.1069, allocations: 102.7 kB / 0.492 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.107, allocations: 32.84 kB / 0.4921 GB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.107, allocations: 4 kB / 0.4921 GB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.107, allocations: 30.56 kB / 0.4921 GB, free: 9.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.107, allocations: 7.938 kB / 0.4921 GB, free: 9.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005578/0.1076, allocations: 154.6 kB / 0.4923 GB, free: 9.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.1076, allocations: 63.34 kB / 0.4923 GB, free: 9.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1078, allocations: 137.8 kB / 0.4925 GB, free: 9.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1078, allocations: 25.7 kB / 0.4925 GB, free: 9.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.1079, allocations: 107.9 kB / 0.4926 GB, free: 9.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1079, allocations: 19.86 kB / 0.4926 GB, free: 9.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.108, allocations: 29.7 kB / 0.4926 GB, free: 9.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1081, allocations: 322.8 kB / 0.4929 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.1081, allocations: 35.92 kB / 0.493 GB, free: 8.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.1082, allocations: 31.94 kB / 0.493 GB, free: 8.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1083, allocations: 72.84 kB / 0.4931 GB, free: 8.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1083, allocations: 0 / 0.4931 GB, free: 8.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002868/0.1086, allocations: 146.4 kB / 0.4932 GB, free: 8.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1086, allocations: 7.938 kB / 0.4932 GB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1086, allocations: 0 / 0.4932 GB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.1089, allocations: 36.83 kB / 0.4933 GB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.1089, allocations: 19.92 kB / 0.4933 GB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1102, allocations: 1.342 MB / 0.4946 GB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.1103, allocations: 7.953 kB / 0.4946 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1103, allocations: 12.16 kB / 0.4946 GB, free: 7.023 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 9.255e-05/0.1104, allocations: 121.7 kB / 0.4947 GB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1104, allocations: 7.953 kB / 0.4947 GB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.1107, allocations: 122.9 kB / 0.4948 GB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1107, allocations: 3.938 kB / 0.4948 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1107, allocations: 3.938 kB / 0.4948 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1107, allocations: 0 / 0.4948 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1109, allocations: 184.6 kB / 0.495 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1109, allocations: 0 / 0.495 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.111, allocations: 8 kB / 0.495 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.1111, allocations: 36.83 kB / 0.4951 GB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1111, allocations: 0 / 0.4951 GB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.1123, allocations: 1.334 MB / 0.4964 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1123, allocations: 0 / 0.4964 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1126, allocations: 212.8 kB / 0.4966 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.1126, allocations: 16.22 kB / 0.4966 GB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1126, allocations: 0 / 0.4966 GB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1127, allocations: 7.938 kB / 0.4966 GB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.1127, allocations: 7.984 kB / 0.4966 GB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1127, allocations: 0 / 0.4966 GB, free: 4.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1129, allocations: 115.3 kB / 0.4967 GB, free: 4.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1129, allocations: 3.938 kB / 0.4967 GB, free: 4.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1131, allocations: 31.98 kB / 0.4967 GB, free: 4.629 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.000637/0.1138, allocations: 0.7562 MB / 0.4975 GB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.1142, allocations: 190.7 kB / 0.4977 GB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1142, allocations: 0 / 0.4977 GB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.1144, allocations: 146.6 kB / 0.4978 GB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1147, allocations: 22.89 kB / 0.4978 GB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1167, allocations: 1.601 MB / 0.4994 GB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.117, allocations: 0.6924 MB / 0.5001 GB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.1171, allocations: 12.64 kB / 0.5001 GB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.1171, allocations: 23.44 kB / 0.5001 GB, free: 1.031 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1171, allocations: 0 / 0.5001 GB, free: 1.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.1482, allocations: 2.977 MB / 0.503 GB, free: 14.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.74, allocations: 7.938 kB / 0.503 GB, free: 14.18 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad_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_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.445866663998459] Failed to read output from testmodel.py, exit status != 0: 11.848596313997405 11.864957523 11.757337038 Calling exit ...