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.001754/0.001754, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002364/0.002364, allocations: 224.9 kB / 23.04 MB, free: 4.621 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.0426/0.0426, allocations: 6.145 MB / 319.4 MB, free: 12.74 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.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.001585/0.001585, allocations: 47.92 kB / 444.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 55.03 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.00462/0.1104, allocations: 3.187 MB / 0.4909 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.1133, allocations: 1.796 MB / 0.4926 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1135, allocations: 12 kB / 0.4926 GB, free: 8.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.114, allocations: 214.6 kB / 0.4928 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007012/0.1147, allocations: 321.9 kB / 0.4931 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.1172, allocations: 1.195 MB / 0.4943 GB, free: 7.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1183, allocations: 0.6842 MB / 0.495 GB, free: 6.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.1187, allocations: 162.1 kB / 0.4951 GB, free: 6.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.1191, allocations: 298.9 kB / 0.4954 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.1196, allocations: 314.5 kB / 0.4957 GB, free: 5.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.1197, allocations: 56 kB / 0.4958 GB, free: 5.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.1204, allocations: 291.7 kB / 0.496 GB, free: 5.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1205, allocations: 143.5 kB / 0.4962 GB, free: 5.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.1208, allocations: 286.6 kB / 0.4965 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.1219, allocations: 0.8834 MB / 0.4973 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1219, allocations: 0 / 0.4973 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1219, allocations: 0 / 0.4973 GB, free: 4.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1219, allocations: 0 / 0.4973 GB, free: 4.121 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.007612/0.1295, allocations: 1.854 MB / 0.4991 GB, free: 2.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1295, allocations: 12.03 kB / 0.4991 GB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.1297, allocations: 94.64 kB / 0.4992 GB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1298, allocations: 76.47 kB / 0.4993 GB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.1305, allocations: 380.4 kB / 0.4997 GB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.1305, allocations: 49.38 kB / 0.4997 GB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.1306, allocations: 52.38 kB / 0.4998 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1322, allocations: 1.132 MB / 0.5009 GB, free: 316 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1322, allocations: 3.938 kB / 0.5009 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.1323, allocations: 27.98 kB / 0.5009 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1323, allocations: 15.98 kB / 0.5009 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1335, allocations: 0.699 MB / 0.5016 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.1373, allocations: 1.755 MB / 0.5033 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.1387, allocations: 0.7693 MB / 0.5041 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.1394, allocations: 410.7 kB / 0.5045 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.356e-05/0.1395, allocations: 16.66 kB / 0.5045 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.1395, allocations: 43.22 kB / 0.5045 GB, free: 12.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 5.059e-06/0.1395, allocations: 3.984 kB / 0.5045 GB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01394/0.1534, allocations: 3.339 MB / 0.5078 GB, free: 9.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.1535, allocations: 115.5 kB / 0.5079 GB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.1541, allocations: 377.5 kB / 0.5082 GB, free: 8.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.1542, allocations: 45.7 kB / 0.5083 GB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1544, allocations: 237.4 kB / 0.5085 GB, free: 8.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.1546, allocations: 257.8 kB / 0.5088 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.1549, allocations: 158.6 kB / 0.5089 GB, free: 7.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1551, allocations: 362.7 kB / 0.5093 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000747/0.1558, allocations: 453.8 kB / 0.5097 GB, free: 7.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.1567, allocations: 0.5632 MB / 0.5102 GB, free: 6.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.1583, allocations: 0.9978 MB / 0.5112 GB, free: 5.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1583, allocations: 0 / 0.5112 GB, free: 5.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005418/0.1637, allocations: 1.941 MB / 0.5131 GB, free: 3.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1637, allocations: 7.938 kB / 0.5131 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1638, allocations: 0 / 0.5131 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005842/0.1696, allocations: 1.449 MB / 0.5145 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.1702, allocations: 127.8 kB / 0.5147 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.223/0.3931, allocations: 5.705 MB / 0.5202 GB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/0.394, allocations: 84.55 kB / 0.5203 GB, free: 28.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/0.394, allocations: 32.14 kB / 0.5203 GB, free: 28.29 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.0003099/0.3943, allocations: 190.5 kB / 0.5205 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3945, allocations: 59.08 kB / 0.5206 GB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/0.4001, allocations: 1.887 MB / 0.5224 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4001, allocations: 8 kB / 0.5224 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4001, allocations: 2.25 kB / 0.5224 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.4002, allocations: 3.703 kB / 0.5224 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/0.4064, allocations: 2.537 MB / 0.5249 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4064, allocations: 1.062 kB / 0.5249 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.4068, allocations: 89.94 kB / 0.525 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005499/0.4123, allocations: 1.281 MB / 0.5262 GB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.4124, allocations: 22.11 kB / 0.5263 GB, free: 26.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.4229, allocations: 5.618 MB / 0.5318 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4229, allocations: 1.375 kB / 0.5318 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006817/0.4297, allocations: 1.869 MB / 0.5336 GB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.4299, allocations: 64.97 kB / 0.5336 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.4301, allocations: 16.11 kB / 0.5337 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008892/0.4309, allocations: 46.86 kB / 0.5337 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.4313, allocations: 68.86 kB / 0.5338 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.743e-05/0.4314, allocations: 28.53 kB / 0.5338 GB, free: 22.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.4319, allocations: 260.9 kB / 0.534 GB, free: 22.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4319, allocations: 0 / 0.534 GB, free: 22.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4333, allocations: 292.2 kB / 0.5343 GB, free: 22.24 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 (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.0084/0.4417, allocations: 2.436 MB / 0.5367 GB, free: 20.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004665/0.4464, allocations: 1.551 MB / 0.5382 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4464, allocations: 4.922 kB / 0.5382 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.4493, allocations: 1.037 MB / 0.5392 GB, free: 19.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.4499, allocations: 69.73 kB / 0.5393 GB, free: 19.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/0.4654, allocations: 7.667 MB / 0.5468 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4657, allocations: 293.5 kB / 0.5471 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.466, allocations: 78.64 kB / 0.5471 GB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.4662, allocations: 211.5 kB / 0.5473 GB, free: 15.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4662, allocations: 0 / 0.5473 GB, free: 15.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/0.5247, allocations: 23.7 MB / 0.5705 GB, free: 9.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.84, allocations: 4.062 kB / 0.5705 GB, free: 9.152 MB / 398.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.775222156662494] Failed to read output from testmodel.py, exit status != 0: 13.972673542331904 14.002219459 13.874965688 Calling exit ...