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.001434/0.001434, allocations: 110.8 kB / 17.17 MB, free: 5.934 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.001514/0.001514, allocations: 208.9 kB / 20.14 MB, free: 2.992 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.681/1.681, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04326/0.04326, allocations: 6.138 MB / 315.7 MB, free: 1.109 MB / 238.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.001692/0.001692, allocations: 45.08 kB / 439.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1012, allocations: 54.98 MB / 494.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002039/0.1032, allocations: 1.199 MB / 495.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.105, allocations: 1.551 MB / 497 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1051, allocations: 4 kB / 497 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.1056, allocations: 99.48 kB / 497.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.1059, allocations: 83.45 kB / 497.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.1072, allocations: 0.8868 MB / 498 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.1075, allocations: 155.2 kB / 498.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1076, allocations: 33.83 kB / 498.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.1077, allocations: 63.78 kB / 498.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1079, allocations: 79.67 kB / 498.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1079, allocations: 12 kB / 498.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.1084, allocations: 211.8 kB / 498.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.1084, allocations: 27.86 kB / 498.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.1085, allocations: 83.58 kB / 498.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.109, allocations: 322.9 kB / 499 MB, free: 5.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.109, allocations: 0 / 499 MB, free: 5.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.109, allocations: 0 / 499 MB, free: 5.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.109, allocations: 0 / 499 MB, free: 5.691 MB / 350.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.001786/0.1108, allocations: 0.639 MB / 499.6 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1109, allocations: 8.031 kB / 499.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.1109, allocations: 38.75 kB / 499.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.111, allocations: 24.84 kB / 499.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1112, allocations: 226.8 kB / 499.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1112, allocations: 8.609 kB / 499.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1113, allocations: 12.38 kB / 500 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1116, allocations: 184 kB / 0.4884 GB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1116, allocations: 3.938 kB / 0.4884 GB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1116, allocations: 7.984 kB / 0.4884 GB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1116, allocations: 4 kB / 0.4884 GB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.1118, allocations: 166.4 kB / 0.4886 GB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.1128, allocations: 0.6944 MB / 0.4893 GB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.1133, allocations: 186.5 kB / 0.4894 GB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1134, allocations: 80.84 kB / 0.4895 GB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-05/0.1135, allocations: 4 kB / 0.4895 GB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1135, allocations: 34.56 kB / 0.4896 GB, free: 3.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.346e-06/0.1135, allocations: 8 kB / 0.4896 GB, free: 3.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001737/0.1152, allocations: 0.5643 MB / 0.4901 GB, free: 2.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.1153, allocations: 59.34 kB / 0.4902 GB, free: 2.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1155, allocations: 161.3 kB / 0.4903 GB, free: 2.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1155, allocations: 33.7 kB / 0.4904 GB, free: 2.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1155, allocations: 112.4 kB / 0.4905 GB, free: 2.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.1156, allocations: 55.53 kB / 0.4905 GB, free: 2.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.1157, allocations: 49.64 kB / 0.4906 GB, free: 2.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.1157, allocations: 322.8 kB / 0.4909 GB, free: 1.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1159, allocations: 95.97 kB / 0.491 GB, free: 1.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.116, allocations: 99.97 kB / 0.4911 GB, free: 1.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1162, allocations: 212 kB / 0.4913 GB, free: 1.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1162, allocations: 0 / 0.4913 GB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000801/0.117, allocations: 374 kB / 0.4916 GB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1171, allocations: 4 kB / 0.4916 GB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1171, allocations: 3.984 kB / 0.4916 GB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/0.1178, allocations: 144.7 kB / 0.4918 GB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1179, allocations: 27.92 kB / 0.4918 GB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.121, allocations: 2.032 MB / 0.4938 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.1212, allocations: 15.83 kB / 0.4938 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1212, allocations: 8 kB / 0.4938 GB, free: 14.62 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.0002212/0.1215, allocations: 138.4 kB / 0.4939 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.1215, allocations: 11.91 kB / 0.4939 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009842/0.1225, allocations: 356.6 kB / 0.4943 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1225, allocations: 7.984 kB / 0.4943 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1225, allocations: 4 kB / 0.4943 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.1225, allocations: 0 / 0.4943 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.1229, allocations: 297.3 kB / 0.4946 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1229, allocations: 0 / 0.4946 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/0.123, allocations: 19.98 kB / 0.4946 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006455/0.1236, allocations: 136.7 kB / 0.4947 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.1237, allocations: 8 kB / 0.4947 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.1265, allocations: 2.013 MB / 0.4967 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1265, allocations: 0 / 0.4967 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.1274, allocations: 426.8 kB / 0.4971 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.1275, allocations: 93 kB / 0.4972 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1275, allocations: 7.938 kB / 0.4972 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1277, allocations: 16 kB / 0.4972 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.1278, allocations: 11.97 kB / 0.4972 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1278, allocations: 8 kB / 0.4972 GB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1279, allocations: 126.1 kB / 0.4974 GB, free: 10.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1279, allocations: 0 / 0.4974 GB, free: 10.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.1284, allocations: 63.94 kB / 0.4974 GB, free: 10.68 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 (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.001442/0.1298, allocations: 0.9707 MB / 0.4984 GB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.1308, allocations: 358.4 kB / 0.4987 GB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1308, allocations: 0 / 0.4987 GB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.1315, allocations: 249.1 kB / 0.4989 GB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1319, allocations: 23.92 kB / 0.499 GB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.1359, allocations: 2.37 MB / 0.5013 GB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1362, allocations: 0.7231 MB / 0.502 GB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.1363, allocations: 21.53 kB / 0.502 GB, free: 5.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.1364, allocations: 43.42 kB / 0.5021 GB, free: 5.762 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1364, allocations: 0 / 0.5021 GB, free: 5.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/0.1866, allocations: 5.997 MB / 0.5079 GB, free: 15.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.04, allocations: 15.98 kB / 0.5079 GB, free: 15.86 MB / 382.1 MB " [Timeout remaining time 648] (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.128200560997357] Failed to read output from testmodel.py, exit status != 0: 12.135728522989666 12.160438154 12.046575017 Calling exit ...