Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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: 112.2 kB / 17.17 MB, free: 5.879 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.00144/0.00144, allocations: 208 kB / 20.14 MB, free: 2.918 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.03837/0.03837, allocations: 6.133 MB / 315.7 MB, free: 1.148 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 50.22 kB / 439.2 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 54.99 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.00213/0.1211, allocations: 1.231 MB / 495.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1223, allocations: 1.326 MB / 496.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.1224, allocations: 4 kB / 496.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1226, allocations: 67.64 kB / 496.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1227, allocations: 51.67 kB / 496.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.1233, allocations: 330.7 kB / 497.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1234, allocations: 127.4 kB / 497.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1235, allocations: 46.14 kB / 497.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.1236, allocations: 59.78 kB / 497.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1237, allocations: 63.75 kB / 497.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1237, allocations: 12 kB / 497.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1239, allocations: 111.9 kB / 497.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.1239, allocations: 31.84 kB / 497.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.124, allocations: 63.67 kB / 497.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1242, allocations: 227.1 kB / 497.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1242, allocations: 0 / 497.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1242, allocations: 0 / 497.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1242, allocations: 0 / 497.9 MB, free: 6.738 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008582/0.1251, allocations: 482.7 kB / 498.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1251, allocations: 8.031 kB / 498.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.1252, allocations: 46.73 kB / 498.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.1252, allocations: 16.89 kB / 498.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1253, allocations: 192.1 kB / 498.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1253, allocations: 8.375 kB / 498.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1254, allocations: 16.36 kB / 498.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1255, allocations: 138.2 kB / 498.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1256, allocations: 3.938 kB / 498.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1256, allocations: 8 kB / 498.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1256, allocations: 0 / 498.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.1257, allocations: 95.95 kB / 498.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.1263, allocations: 0.4885 MB / 499.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1266, allocations: 94.61 kB / 499.5 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1266, allocations: 24.8 kB / 499.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.1267, allocations: 89.23 kB / 499.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.1267, allocations: 38.56 kB / 499.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1267, allocations: 4 kB / 499.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005343/0.1273, allocations: 211.6 kB / 499.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1273, allocations: 59.34 kB / 499.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1274, allocations: 133.8 kB / 0.4884 GB, free: 4.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1274, allocations: 29.7 kB / 0.4884 GB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.1275, allocations: 126.6 kB / 0.4885 GB, free: 4.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1275, allocations: 31.73 kB / 0.4885 GB, free: 4.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1275, allocations: 25.7 kB / 0.4886 GB, free: 4.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.1276, allocations: 318.8 kB / 0.4889 GB, free: 3.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.1276, allocations: 31.98 kB / 0.4889 GB, free: 3.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.1276, allocations: 23.98 kB / 0.4889 GB, free: 3.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.1277, allocations: 69.03 kB / 0.489 GB, free: 3.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1277, allocations: 0 / 0.489 GB, free: 3.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002265/0.128, allocations: 134.4 kB / 0.4891 GB, free: 3.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.128, allocations: 11.98 kB / 0.4891 GB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.128, allocations: 0 / 0.4891 GB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.1282, allocations: 40.77 kB / 0.4892 GB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.1283, allocations: 12 kB / 0.4892 GB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008442/0.1291, allocations: 1.414 MB / 0.4905 GB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.1292, allocations: 20.08 kB / 0.4906 GB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1292, allocations: 0 / 0.4906 GB, free: 1.918 MB / 350.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 7.337e-05/0.1293, allocations: 126.3 kB / 0.4907 GB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.1293, allocations: 4 kB / 0.4907 GB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1296, allocations: 126.8 kB / 0.4908 GB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1296, allocations: 0 / 0.4908 GB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1296, allocations: 0 / 0.4908 GB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1296, allocations: 4 kB / 0.4908 GB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1297, allocations: 217.5 kB / 0.491 GB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1297, allocations: 3.984 kB / 0.491 GB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.1298, allocations: 11.94 kB / 0.491 GB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.1299, allocations: 36.83 kB / 0.4911 GB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1299, allocations: 0 / 0.4911 GB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008238/0.1308, allocations: 1.41 MB / 0.4925 GB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1308, allocations: 4.156 kB / 0.4925 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1311, allocations: 208.2 kB / 0.4927 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.1311, allocations: 89.06 kB / 0.4927 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1311, allocations: 0 / 0.4927 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1312, allocations: 7.984 kB / 0.4927 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1313, allocations: 8 kB / 0.4928 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1313, allocations: 0 / 0.4928 GB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1314, allocations: 119.2 kB / 0.4929 GB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 4 kB / 0.4929 GB, free: 15.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1317, allocations: 35.89 kB / 0.4929 GB, free: 15.27 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.0006855/0.1324, allocations: 0.741 MB / 0.4936 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.1328, allocations: 190.7 kB / 0.4938 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1328, allocations: 4 kB / 0.4938 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.133, allocations: 142.6 kB / 0.494 GB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1334, allocations: 15.98 kB / 0.494 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1354, allocations: 1.608 MB / 0.4955 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1358, allocations: 0.7002 MB / 0.4962 GB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1358, allocations: 16.66 kB / 0.4962 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.1359, allocations: 27.44 kB / 0.4963 GB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1359, allocations: 0 / 0.4963 GB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/0.1745, allocations: 2.952 MB / 0.4991 GB, free: 8.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.31, allocations: 7.734 kB / 0.4992 GB, free: 8.816 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses_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_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.195915142990998] Failed to read output from testmodel.py, exit status != 0: 10.41032343498955 10.436785943 10.307918571 Calling exit ...