Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.001361/0.001361, allocations: 111.5 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.001413/0.001413, 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.51/1.51, 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.05984/0.05984, allocations: 6.134 MB / 315.7 MB, free: 1.141 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.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 52.41 kB / 439.2 MB, free: 40.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.113, allocations: 54.98 MB / 494.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.00345/0.1165, allocations: 3.636 MB / 497.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1187, allocations: 1.855 MB / 499.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.1189, allocations: 12 kB / 499.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.1194, allocations: 214.7 kB / 499.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005772/0.1199, allocations: 329.8 kB / 0.4885 GB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.1218, allocations: 1.287 MB / 0.4898 GB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006727/0.1224, allocations: 0.6959 MB / 0.4905 GB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.1227, allocations: 173.6 kB / 0.4906 GB, free: 2.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1229, allocations: 294.9 kB / 0.4909 GB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.1233, allocations: 358.5 kB / 0.4913 GB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.1233, allocations: 60 kB / 0.4913 GB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004826/0.1238, allocations: 303.7 kB / 0.4916 GB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.1239, allocations: 155.4 kB / 0.4918 GB, free: 1.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1241, allocations: 334.3 kB / 0.4921 GB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008645/0.125, allocations: 0.8756 MB / 0.4929 GB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.125, allocations: 0 / 0.4929 GB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.125, allocations: 0 / 0.4929 GB, free: 15.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.125, allocations: 0 / 0.4929 GB, free: 15.8 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.007988/0.133, allocations: 1.933 MB / 0.4948 GB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.133, allocations: 12.03 kB / 0.4948 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.1331, allocations: 90.7 kB / 0.4949 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1333, allocations: 76.47 kB / 0.495 GB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.134, allocations: 442.2 kB / 0.4954 GB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.1341, allocations: 45.38 kB / 0.4955 GB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1342, allocations: 64.31 kB / 0.4955 GB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.1357, allocations: 0.757 MB / 0.4963 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1357, allocations: 0 / 0.4963 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.1358, allocations: 24 kB / 0.4963 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1358, allocations: 12 kB / 0.4963 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.1369, allocations: 0.6833 MB / 0.497 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.1409, allocations: 2.328 MB / 0.4992 GB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1426, allocations: 1.217 MB / 0.5004 GB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.1432, allocations: 402.7 kB / 0.5008 GB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.1433, allocations: 20.62 kB / 0.5008 GB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.1434, allocations: 47.22 kB / 0.5009 GB, free: 7.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.005e-06/0.1434, allocations: 0 / 0.5009 GB, free: 7.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01429/0.1576, allocations: 3.413 MB / 0.5042 GB, free: 3.867 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.1577, allocations: 111.5 kB / 0.5043 GB, free: 3.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.1583, allocations: 381.5 kB / 0.5047 GB, free: 3.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.1584, allocations: 45.64 kB / 0.5047 GB, free: 3.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1586, allocations: 237.5 kB / 0.5049 GB, free: 3.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.1589, allocations: 257.7 kB / 0.5052 GB, free: 2.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.1592, allocations: 154.6 kB / 0.5053 GB, free: 2.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1593, allocations: 358.8 kB / 0.5057 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.1601, allocations: 449.8 kB / 0.5061 GB, free: 1.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.1609, allocations: 0.5053 MB / 0.5066 GB, free: 1.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.1626, allocations: 0.9939 MB / 0.5076 GB, free: 356 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1626, allocations: 4 kB / 0.5076 GB, free: 352 kB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005771/0.1684, allocations: 1.926 MB / 0.5095 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.1684, allocations: 8 kB / 0.5095 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1685, allocations: 4 kB / 0.5095 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006067/0.1745, allocations: 1.453 MB / 0.5109 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.1751, allocations: 131.8 kB / 0.511 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.1878, allocations: 5.969 MB / 0.5168 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.1885, allocations: 79.53 kB / 0.5169 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.1886, allocations: 27.98 kB / 0.5169 GB, free: 6.605 MB / 382.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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003576/0.1889, allocations: 192.9 kB / 0.5171 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.1891, allocations: 59.67 kB / 0.5172 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/0.1946, allocations: 1.877 MB / 0.519 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.1946, allocations: 8 kB / 0.519 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1946, allocations: 4 kB / 0.519 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.1947, allocations: 3.984 kB / 0.519 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/0.2012, allocations: 2.721 MB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2012, allocations: 0 / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.2015, allocations: 95.89 kB / 0.5218 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/0.2072, allocations: 1.285 MB / 0.523 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.2072, allocations: 16 kB / 0.5231 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.219, allocations: 5.874 MB / 0.5288 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.219, allocations: 4 kB / 0.5288 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005327/0.2243, allocations: 1.859 MB / 0.5306 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.2245, allocations: 144.6 kB / 0.5307 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.2246, allocations: 19.94 kB / 0.5308 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.2252, allocations: 43.97 kB / 0.5308 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.2254, allocations: 64.91 kB / 0.5309 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.2255, allocations: 24 kB / 0.5309 GB, free: 8.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.2258, allocations: 259.2 kB / 0.5311 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2258, allocations: 0 / 0.5311 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008947/0.2267, allocations: 291.8 kB / 0.5314 GB, free: 7.508 MB / 398.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 (55): * Single equations (assignments): 54 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005777/0.2325, allocations: 2.43 MB / 0.5338 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004197/0.2367, allocations: 1.542 MB / 0.5353 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.2367, allocations: 7.859 kB / 0.5353 GB, free: 3.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.2397, allocations: 1.027 MB / 0.5363 GB, free: 2.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.2403, allocations: 69.53 kB / 0.5364 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/0.2572, allocations: 7.631 MB / 0.5438 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.2579, allocations: 0.8848 MB / 0.5447 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.2582, allocations: 72.36 kB / 0.5448 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.2585, allocations: 219.3 kB / 0.545 GB, free: 9.465 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2585, allocations: 4 kB / 0.545 GB, free: 9.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06144/0.32, allocations: 23.38 MB / 0.5678 GB, free: 2.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.56, allocations: 7.938 kB / 0.5678 GB, free: 2.27 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses_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_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.4540096540004] Failed to read output from testmodel.py, exit status != 0: 13.660521579004126 13.688849462 13.558529958 Calling exit ...