Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.001313/0.001313, allocations: 111.7 kB / 19.74 MB, free: 2.164 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.001519/0.001519, allocations: 221.4 kB / 23.05 MB, free: 5.004 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.04232/0.04232, allocations: 6.131 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 444.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1119, allocations: 55.02 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.00249/0.1143, allocations: 1.221 MB / 0.489 GB, free: 13.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1163, allocations: 1.548 MB / 0.4905 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.1164, allocations: 4 kB / 0.4905 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1168, allocations: 103.5 kB / 0.4906 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.117, allocations: 75.53 kB / 0.4907 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1186, allocations: 0.8947 MB / 0.4916 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.1189, allocations: 151.2 kB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1191, allocations: 37.94 kB / 0.4917 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1192, allocations: 71.72 kB / 0.4918 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1193, allocations: 83.67 kB / 0.4919 GB, free: 10.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.1194, allocations: 12 kB / 0.4919 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.1198, allocations: 207.8 kB / 0.4921 GB, free: 9.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.1198, allocations: 31.91 kB / 0.4921 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.1199, allocations: 67.61 kB / 0.4922 GB, free: 9.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.1204, allocations: 323 kB / 0.4925 GB, free: 9.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1204, allocations: 4 kB / 0.4925 GB, free: 9.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1204, allocations: 0 / 0.4925 GB, free: 9.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1204, allocations: 0 / 0.4925 GB, free: 9.469 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001779/0.1222, allocations: 0.5676 MB / 0.4931 GB, free: 8.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1222, allocations: 8.031 kB / 0.4931 GB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.1223, allocations: 46.73 kB / 0.4931 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.1224, allocations: 16.84 kB / 0.4931 GB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1227, allocations: 170.2 kB / 0.4933 GB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1227, allocations: 8.609 kB / 0.4933 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.1227, allocations: 12.38 kB / 0.4933 GB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.123, allocations: 184 kB / 0.4935 GB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.123, allocations: 3.938 kB / 0.4935 GB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.123, allocations: 3.938 kB / 0.4935 GB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1231, allocations: 4 kB / 0.4935 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.1233, allocations: 174.4 kB / 0.4937 GB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1244, allocations: 0.6623 MB / 0.4943 GB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.1249, allocations: 194.5 kB / 0.4945 GB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.125, allocations: 84.83 kB / 0.4946 GB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.1251, allocations: 4 kB / 0.4946 GB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1251, allocations: 34.56 kB / 0.4946 GB, free: 7.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.1251, allocations: 4 kB / 0.4946 GB, free: 7.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001776/0.1269, allocations: 498.2 kB / 0.4951 GB, free: 6.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1269, allocations: 59.34 kB / 0.4952 GB, free: 6.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1271, allocations: 163.9 kB / 0.4953 GB, free: 6.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1272, allocations: 29.7 kB / 0.4953 GB, free: 6.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.1272, allocations: 120.3 kB / 0.4955 GB, free: 6.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.1273, allocations: 55.52 kB / 0.4955 GB, free: 6.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.1274, allocations: 49.66 kB / 0.4956 GB, free: 6.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1275, allocations: 322.8 kB / 0.4959 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1277, allocations: 91.97 kB / 0.4959 GB, free: 5.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1278, allocations: 99.62 kB / 0.496 GB, free: 5.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1281, allocations: 216.7 kB / 0.4962 GB, free: 5.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1281, allocations: 0 / 0.4962 GB, free: 5.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008758/0.129, allocations: 376.9 kB / 0.4966 GB, free: 5.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.129, allocations: 7.984 kB / 0.4966 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.129, allocations: 7.938 kB / 0.4966 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/0.1297, allocations: 136.7 kB / 0.4968 GB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1299, allocations: 31.97 kB / 0.4968 GB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.1326, allocations: 1.931 MB / 0.4987 GB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1328, allocations: 15.88 kB / 0.4987 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1328, allocations: 8 kB / 0.4987 GB, free: 2.801 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.1329, allocations: 137.8 kB / 0.4988 GB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.133, allocations: 11.91 kB / 0.4988 GB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.1339, allocations: 355.4 kB / 0.4992 GB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1339, allocations: 11.94 kB / 0.4992 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1339, allocations: 0 / 0.4992 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1339, allocations: 4 kB / 0.4992 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1342, allocations: 268.5 kB / 0.4994 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1342, allocations: 3.938 kB / 0.4994 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.1343, allocations: 23.98 kB / 0.4995 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006211/0.1349, allocations: 132.7 kB / 0.4996 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.135, allocations: 8 kB / 0.4996 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.1375, allocations: 1.909 MB / 0.5015 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1375, allocations: 0 / 0.5015 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.1384, allocations: 428 kB / 0.5019 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.1384, allocations: 19.88 kB / 0.5019 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1384, allocations: 7.875 kB / 0.5019 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1386, allocations: 8 kB / 0.5019 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1386, allocations: 19.97 kB / 0.5019 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1386, allocations: 8 kB / 0.5019 GB, free: 15.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1388, allocations: 127.2 kB / 0.5021 GB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1388, allocations: 0 / 0.5021 GB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.1392, allocations: 63.95 kB / 0.5021 GB, free: 15.09 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.1404, allocations: 0.9734 MB / 0.5031 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008649/0.1413, allocations: 360.7 kB / 0.5034 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1413, allocations: 0 / 0.5034 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.1418, allocations: 258.5 kB / 0.5037 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1422, allocations: 27.44 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.1459, allocations: 2.371 MB / 0.506 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1462, allocations: 0.7164 MB / 0.5067 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.664e-05/0.1463, allocations: 17.41 kB / 0.5067 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.1464, allocations: 39.42 kB / 0.5068 GB, free: 10.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1464, allocations: 0 / 0.5068 GB, free: 10.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.1824, allocations: 6.195 MB / 0.5128 GB, free: 4.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/12.95, allocations: 10.91 kB / 0.5128 GB, free: 4.113 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad_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_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.907574928998656] Failed to read output from testmodel.py, exit status != 0: 13.066337217002001 13.317597279 13.194405906 Calling exit ...