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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111.3 kB / 19.74 MB, free: 2.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 187.7 kB / 23.02 MB, free: 5.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05674/0.05674, allocations: 8.244 MB / 315.3 MB, free: 400 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 439.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1238, allocations: 54.4 MB / 494.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.006387/0.1302, allocations: 3.889 MB / 498 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.1343, allocations: 1.96 MB / 500 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1346, allocations: 12 kB / 500 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.1353, allocations: 226.5 kB / 0.4885 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009719/0.1362, allocations: 389.5 kB / 0.4889 GB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.139, allocations: 1.349 MB / 0.4902 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1404, allocations: 0.7892 MB / 0.491 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.1409, allocations: 178 kB / 0.4911 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.1413, allocations: 342.7 kB / 0.4914 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.1419, allocations: 422.3 kB / 0.4918 GB, free: 12.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.142, allocations: 63.94 kB / 0.4919 GB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007193/0.1427, allocations: 295.8 kB / 0.4922 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1429, allocations: 163.3 kB / 0.4923 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.1433, allocations: 382.1 kB / 0.4927 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.1446, allocations: 0.9495 MB / 0.4936 GB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1446, allocations: 3.938 kB / 0.4936 GB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1446, allocations: 0 / 0.4936 GB, free: 10.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.1446, allocations: 4 kB / 0.4936 GB, free: 10.31 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.0092/0.1538, allocations: 2.068 MB / 0.4957 GB, free: 8.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.1539, allocations: 11.89 kB / 0.4957 GB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.1541, allocations: 88.42 kB / 0.4958 GB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008902/0.155, allocations: 416.3 kB / 0.4962 GB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.1551, allocations: 45.38 kB / 0.4962 GB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.1552, allocations: 60.38 kB / 0.4963 GB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.1568, allocations: 0.8547 MB / 0.4971 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1568, allocations: 192 / 0.4971 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.1569, allocations: 35.92 kB / 0.4971 GB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1569, allocations: 15.94 kB / 0.4971 GB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.1582, allocations: 0.8083 MB / 0.4979 GB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/0.1634, allocations: 3.3 MB / 0.5012 GB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.1652, allocations: 0.965 MB / 0.5021 GB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.1661, allocations: 0.5114 MB / 0.5026 GB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.1662, allocations: 20.97 kB / 0.5026 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.1662, allocations: 51.56 kB / 0.5027 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.617e-06/0.1662, allocations: 0 / 0.5027 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.0175/0.1837, allocations: 3.85 MB / 0.5064 GB, free: 12.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1838, allocations: 111.8 kB / 0.5065 GB, free: 12.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.1847, allocations: 437.8 kB / 0.507 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002177/0.185, allocations: 49.7 kB / 0.507 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1852, allocations: 241.6 kB / 0.5072 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.1856, allocations: 317.2 kB / 0.5075 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004245/0.186, allocations: 178.6 kB / 0.5077 GB, free: 11.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1862, allocations: 370.8 kB / 0.5081 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.1873, allocations: 0.5486 MB / 0.5086 GB, free: 10.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.1885, allocations: 0.6263 MB / 0.5092 GB, free: 9.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.191, allocations: 1.228 MB / 0.5104 GB, free: 8.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.191, allocations: 0 / 0.5104 GB, free: 8.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.007642/0.1986, allocations: 2.343 MB / 0.5127 GB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.1987, allocations: 4 kB / 0.5127 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1987, allocations: 0 / 0.5127 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007494/0.2062, allocations: 1.773 MB / 0.5144 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.207, allocations: 147.8 kB / 0.5146 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2811/0.4881, allocations: 7.247 MB / 0.5216 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.489, allocations: 94.52 kB / 0.5217 GB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/0.4891, allocations: 34.89 kB / 0.5218 GB, free: 33.01 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.0003205/0.4894, allocations: 203.3 kB / 0.522 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4896, allocations: 68.91 kB / 0.522 GB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006543/0.4961, allocations: 2.297 MB / 0.5243 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.4961, allocations: 14.38 kB / 0.5243 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4961, allocations: 1.375 kB / 0.5243 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4961, allocations: 5.625 kB / 0.5243 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/0.504, allocations: 3.261 MB / 0.5275 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.504, allocations: 0 / 0.5275 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.5045, allocations: 110.2 kB / 0.5276 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006789/0.5113, allocations: 1.502 MB / 0.529 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.5114, allocations: 23.75 kB / 0.5291 GB, free: 30.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.5249, allocations: 7.134 MB / 0.536 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5249, allocations: 1.062 kB / 0.536 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006338/0.5312, allocations: 2.245 MB / 0.5382 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.5315, allocations: 81.23 kB / 0.5383 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.5317, allocations: 20.98 kB / 0.5383 GB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.5324, allocations: 54.23 kB / 0.5384 GB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.5328, allocations: 79.8 kB / 0.5385 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.5329, allocations: 31.88 kB / 0.5385 GB, free: 25.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004221/0.5333, allocations: 291.4 kB / 0.5388 GB, free: 25.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5333, allocations: 0 / 0.5388 GB, free: 25.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001427/0.5347, allocations: 352.3 kB / 0.5391 GB, free: 25.22 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.0002652/0.535, allocations: 141.3 kB / 0.5392 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004436/0.5394, allocations: 1.87 MB / 0.5411 GB, free: 24.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.5394, allocations: 7.938 kB / 0.5411 GB, free: 24.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003296/0.5427, allocations: 1.243 MB / 0.5423 GB, free: 23.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.5435, allocations: 80.53 kB / 0.5424 GB, free: 23.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.5462, allocations: 1.39 MB / 0.5437 GB, free: 22.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.5466, allocations: 0.9214 MB / 0.5446 GB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003473/0.547, allocations: 92.53 kB / 0.5447 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.5471, allocations: 57.94 kB / 0.5448 GB, free: 22.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.664e-06/0.5471, allocations: 0 / 0.5448 GB, free: 22.22 MB / 382.1 MB Notification: Performance of Templates: time 0.02926/0.5764, allocations: 23.69 MB / 0.5679 GB, free: 1.516 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.848018693737686] Failed to read output from testmodel.py, exit status != 0: 0.5854190597310662 0.6014018320000001 0.453235365 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1e84bbd7b0>