Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001253/0.001253, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.001501/0.001501, allocations: 222.7 kB / 23.05 MB, free: 4.996 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.03716/0.03716, allocations: 6.134 MB / 319.4 MB, free: 13.08 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.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 47.91 kB / 444.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 55.03 MB / 499.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004993/0.108, allocations: 3.755 MB / 0.4915 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.1115, allocations: 1.999 MB / 0.4934 GB, free: 8.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1117, allocations: 12 kB / 0.4935 GB, free: 8.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.1122, allocations: 230.5 kB / 0.4937 GB, free: 8.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007915/0.113, allocations: 377.6 kB / 0.494 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.1157, allocations: 1.327 MB / 0.4953 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1168, allocations: 0.7697 MB / 0.4961 GB, free: 5.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.1171, allocations: 174.1 kB / 0.4963 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.1175, allocations: 338.7 kB / 0.4966 GB, free: 5.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.1181, allocations: 414.3 kB / 0.497 GB, free: 4.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1182, allocations: 64 kB / 0.497 GB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006322/0.1188, allocations: 303.8 kB / 0.4973 GB, free: 4.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1189, allocations: 163.3 kB / 0.4975 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.1193, allocations: 370.1 kB / 0.4978 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1204, allocations: 0.93 MB / 0.4987 GB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1205, allocations: 4 kB / 0.4987 GB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1205, allocations: 0 / 0.4987 GB, free: 3.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1205, allocations: 4 kB / 0.4987 GB, free: 3.156 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008604/0.1291, allocations: 2.076 MB / 0.5008 GB, free: 1.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1291, allocations: 11.97 kB / 0.5008 GB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.1293, allocations: 102.6 kB / 0.5009 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.1294, allocations: 80.47 kB / 0.501 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.1302, allocations: 420.2 kB / 0.5014 GB, free: 416 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.1302, allocations: 45.38 kB / 0.5014 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1303, allocations: 60.38 kB / 0.5015 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.1318, allocations: 0.847 MB / 0.5023 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.1318, allocations: 7.938 kB / 0.5023 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.1319, allocations: 24 kB / 0.5023 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1319, allocations: 12 kB / 0.5023 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.1332, allocations: 0.8121 MB / 0.5031 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/0.1378, allocations: 2.62 MB / 0.5057 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.1396, allocations: 0.965 MB / 0.5066 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000844/0.1404, allocations: 0.5152 MB / 0.5071 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.1405, allocations: 24.97 kB / 0.5072 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.1406, allocations: 47.56 kB / 0.5072 GB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.527e-06/0.1406, allocations: 0 / 0.5072 GB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.01542/0.156, allocations: 3.85 MB / 0.511 GB, free: 6.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.1562, allocations: 115.8 kB / 0.5111 GB, free: 6.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/0.1569, allocations: 433.7 kB / 0.5115 GB, free: 5.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.1572, allocations: 49.7 kB / 0.5115 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1574, allocations: 233.8 kB / 0.5118 GB, free: 5.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.1578, allocations: 313.2 kB / 0.5121 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/0.1582, allocations: 182.6 kB / 0.5122 GB, free: 5.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1584, allocations: 370.8 kB / 0.5126 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009221/0.1593, allocations: 0.5408 MB / 0.5131 GB, free: 4.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.1603, allocations: 0.6224 MB / 0.5137 GB, free: 3.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.1622, allocations: 1.232 MB / 0.5149 GB, free: 2.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1622, allocations: 0 / 0.5149 GB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.1966/0.3589, allocations: 2.34 MB / 0.5172 GB, free: 28.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3589, allocations: 5.953 kB / 0.5172 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3589, allocations: 4.703 kB / 0.5172 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006601/0.3655, allocations: 1.696 MB / 0.5189 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.3662, allocations: 151.5 kB / 0.519 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.3795, allocations: 7.24 MB / 0.5261 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/0.3803, allocations: 92.52 kB / 0.5262 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.3804, allocations: 34.03 kB / 0.5262 GB, free: 26.2 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.3807, allocations: 206.1 kB / 0.5264 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3808, allocations: 66.77 kB / 0.5265 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006256/0.3871, allocations: 2.287 MB / 0.5287 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3871, allocations: 16.34 kB / 0.5287 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3871, allocations: 1.688 kB / 0.5287 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.3871, allocations: 4.828 kB / 0.5287 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007477/0.3946, allocations: 3.263 MB / 0.5319 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.3946, allocations: 1.906 kB / 0.5319 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.395, allocations: 113.6 kB / 0.532 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006452/0.4014, allocations: 1.49 MB / 0.5335 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.4016, allocations: 22.72 kB / 0.5335 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.414, allocations: 7.134 MB / 0.5405 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.414, allocations: 3.938 kB / 0.5405 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/0.4197, allocations: 2.24 MB / 0.5427 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.4199, allocations: 85.91 kB / 0.5427 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.42, allocations: 17.5 kB / 0.5427 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.4207, allocations: 52.42 kB / 0.5428 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.4209, allocations: 83.62 kB / 0.5429 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.421, allocations: 32.62 kB / 0.5429 GB, free: 18.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003447/0.4213, allocations: 289.9 kB / 0.5432 GB, free: 18.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4213, allocations: 0 / 0.5432 GB, free: 18.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001018/0.4223, allocations: 334.5 kB / 0.5435 GB, free: 17.99 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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005657/0.428, allocations: 2.822 MB / 0.5463 GB, free: 16.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.432, allocations: 1.873 MB / 0.5481 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.432, allocations: 0 / 0.5481 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002918/0.4349, allocations: 1.235 MB / 0.5493 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.4355, allocations: 87.61 kB / 0.5494 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.4516, allocations: 9.004 MB / 0.5582 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4519, allocations: 0.9215 MB / 0.5591 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003137/0.4522, allocations: 96.03 kB / 0.5592 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.4525, allocations: 235.3 kB / 0.5594 GB, free: 5.215 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4525, allocations: 0 / 0.5594 GB, free: 5.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06986/0.5224, allocations: 29.54 MB / 0.5882 GB, free: 7.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.51, allocations: 3.984 kB / 0.5882 GB, free: 7.859 MB / 414.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network_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_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.305103873004555] Failed to read output from testmodel.py, exit status != 0: 14.640735101995233 14.670541964 14.544729686 Calling exit ...