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.001351/0.001351, allocations: 111.4 kB / 17.16 MB, free: 5.887 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.001468/0.001468, allocations: 208 kB / 20.14 MB, free: 2.934 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.52/1.52, 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.04236/0.04236, allocations: 6.128 MB / 315.7 MB, free: 1.16 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.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.002378/0.002378, allocations: 49.47 kB / 439.2 MB, free: 40.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1132, allocations: 54.97 MB / 494.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004201/0.1174, allocations: 3.75 MB / 498 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1206, allocations: 2.011 MB / 500 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.1211, allocations: 8 kB / 500 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.1217, allocations: 230.6 kB / 0.4885 GB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008633/0.1226, allocations: 369.6 kB / 0.4888 GB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1246, allocations: 1.315 MB / 0.4901 GB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.1255, allocations: 0.7697 MB / 0.4909 GB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.1257, allocations: 169.6 kB / 0.491 GB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.126, allocations: 338.7 kB / 0.4914 GB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003397/0.1263, allocations: 414.2 kB / 0.4918 GB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/0.1264, allocations: 64 kB / 0.4918 GB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.1269, allocations: 311.8 kB / 0.4921 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.127, allocations: 155.4 kB / 0.4923 GB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.1272, allocations: 370.1 kB / 0.4926 GB, free: 244 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.1284, allocations: 0.9339 MB / 0.4935 GB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1284, allocations: 0 / 0.4935 GB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1284, allocations: 0 / 0.4935 GB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.1284, allocations: 7.938 kB / 0.4935 GB, free: 15.29 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.009146/0.1375, allocations: 2.147 MB / 0.4956 GB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1376, allocations: 8.031 kB / 0.4956 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1377, allocations: 98.7 kB / 0.4957 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.1379, allocations: 84.42 kB / 0.4958 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007495/0.1387, allocations: 478.1 kB / 0.4963 GB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.1387, allocations: 49.38 kB / 0.4963 GB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1388, allocations: 60.38 kB / 0.4964 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1403, allocations: 0.8391 MB / 0.4972 GB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1403, allocations: 3.938 kB / 0.4972 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.1404, allocations: 24 kB / 0.4972 GB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1404, allocations: 12 kB / 0.4972 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1417, allocations: 0.777 MB / 0.498 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.1463, allocations: 2.663 MB / 0.5006 GB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.1482, allocations: 1.251 MB / 0.5018 GB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008519/0.1491, allocations: 0.4997 MB / 0.5023 GB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.1492, allocations: 24.97 kB / 0.5023 GB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.1493, allocations: 43.56 kB / 0.5024 GB, free: 5.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.026e-06/0.1493, allocations: 0 / 0.5024 GB, free: 5.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01609/0.1654, allocations: 3.922 MB / 0.5062 GB, free: 1.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.1654, allocations: 115.8 kB / 0.5063 GB, free: 1.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.1661, allocations: 425.8 kB / 0.5067 GB, free: 1.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.1663, allocations: 45.7 kB / 0.5068 GB, free: 1.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.1664, allocations: 229.8 kB / 0.507 GB, free: 1.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.1668, allocations: 321.2 kB / 0.5073 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.1671, allocations: 182.6 kB / 0.5075 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1673, allocations: 370.8 kB / 0.5078 GB, free: 240 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.1682, allocations: 0.5369 MB / 0.5083 GB, free: 15.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009645/0.1692, allocations: 0.6146 MB / 0.5089 GB, free: 15.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.1712, allocations: 1.213 MB / 0.5101 GB, free: 13.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1712, allocations: 0 / 0.5101 GB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006798/0.178, allocations: 2.331 MB / 0.5124 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.178, allocations: 7.938 kB / 0.5124 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.178, allocations: 4 kB / 0.5124 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007188/0.1852, allocations: 1.687 MB / 0.5141 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007022/0.1859, allocations: 151.8 kB / 0.5142 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.2008, allocations: 7.339 MB / 0.5214 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.2016, allocations: 95.34 kB / 0.5215 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.2017, allocations: 39.88 kB / 0.5215 GB, free: 2.055 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.000381/0.2021, allocations: 208.1 kB / 0.5217 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.2023, allocations: 63.56 kB / 0.5218 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006892/0.2092, allocations: 2.276 MB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.2092, allocations: 15.94 kB / 0.524 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2092, allocations: 0 / 0.524 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.2092, allocations: 11.92 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008315/0.2175, allocations: 3.261 MB / 0.5272 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.2175, allocations: 4 kB / 0.5272 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.2181, allocations: 107.9 kB / 0.5273 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007014/0.2251, allocations: 1.499 MB / 0.5288 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.2253, allocations: 27.92 kB / 0.5288 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/0.2407, allocations: 7.227 MB / 0.5358 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2407, allocations: 4 kB / 0.5358 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006715/0.2474, allocations: 2.231 MB / 0.538 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.2477, allocations: 156.4 kB / 0.5382 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.2478, allocations: 16 kB / 0.5382 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.2485, allocations: 51.95 kB / 0.5382 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.2488, allocations: 80.83 kB / 0.5383 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-05/0.2489, allocations: 31.98 kB / 0.5383 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004293/0.2493, allocations: 287.1 kB / 0.5386 GB, free: 240 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2493, allocations: 4 kB / 0.5386 GB, free: 236 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001135/0.2504, allocations: 331.9 kB / 0.5389 GB, free: 15.9 MB / 414.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.007005/0.2574, allocations: 2.809 MB / 0.5417 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004947/0.2624, allocations: 1.861 MB / 0.5435 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2624, allocations: 8.25 kB / 0.5435 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003572/0.2659, allocations: 1.214 MB / 0.5447 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.2666, allocations: 88.69 kB / 0.5448 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.2872, allocations: 8.938 MB / 0.5535 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.2879, allocations: 0.9218 MB / 0.5544 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.2884, allocations: 96.83 kB / 0.5545 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.2887, allocations: 239.3 kB / 0.5547 GB, free: 15.55 MB / 430.1 MB Notification: Performance of SimCode: time 1.683e-06/0.2887, allocations: 0 / 0.5547 GB, free: 15.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/0.359, allocations: 28.67 MB / 0.5827 GB, free: 3.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.59, allocations: 8 kB / 0.5827 GB, free: 3.02 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.767118852003478] Failed to read output from testmodel.py, exit status != 0: 13.69666180400236 13.996284224 13.86506867 Calling exit ...