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.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.001844/0.001844, 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.002301/0.002301, allocations: 189.2 kB / 23.02 MB, free: 5.02 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.466/1.466, 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.056/0.056, allocations: 8.232 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.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 67.89 kB / 439.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.154, allocations: 54.4 MB / 494.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.005522/0.1596, allocations: 3.758 MB / 497.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.1632, allocations: 1.827 MB / 499.7 MB, free: 108 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.1634, allocations: 12 kB / 499.7 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.164, allocations: 218.8 kB / 499.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007641/0.1648, allocations: 329.8 kB / 0.4885 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.1674, allocations: 1.31 MB / 0.4898 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.1684, allocations: 0.7114 MB / 0.4905 GB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.1687, allocations: 182 kB / 0.4907 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.169, allocations: 302.9 kB / 0.491 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.1695, allocations: 374.5 kB / 0.4913 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.1696, allocations: 56 kB / 0.4914 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006129/0.1702, allocations: 295.7 kB / 0.4917 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1704, allocations: 147.5 kB / 0.4918 GB, free: 12.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.1707, allocations: 354.2 kB / 0.4922 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1718, allocations: 0.8678 MB / 0.493 GB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1718, allocations: 0 / 0.493 GB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1718, allocations: 0 / 0.493 GB, free: 10.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1718, allocations: 0 / 0.493 GB, free: 10.97 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.007719/0.1795, allocations: 1.862 MB / 0.4948 GB, free: 9.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1796, allocations: 11.89 kB / 0.4948 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.1798, allocations: 80.47 kB / 0.4949 GB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.1805, allocations: 388.4 kB / 0.4953 GB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.1805, allocations: 45.38 kB / 0.4953 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1806, allocations: 56.38 kB / 0.4954 GB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.182, allocations: 0.7689 MB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.182, allocations: 192 / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.1821, allocations: 31.91 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1821, allocations: 12 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1833, allocations: 0.7029 MB / 0.4969 GB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.188, allocations: 2.923 MB / 0.4997 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.1894, allocations: 0.7657 MB / 0.5005 GB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.19, allocations: 410.7 kB / 0.5008 GB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.301e-05/0.1901, allocations: 24.61 kB / 0.5009 GB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.1902, allocations: 47.22 kB / 0.5009 GB, free: 2.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.356e-06/0.1902, allocations: 0 / 0.5009 GB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01443/0.2046, allocations: 3.343 MB / 0.5042 GB, free: 15.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.2047, allocations: 111.5 kB / 0.5043 GB, free: 15.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/0.2053, allocations: 389.4 kB / 0.5047 GB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.2054, allocations: 45.7 kB / 0.5047 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.2056, allocations: 233.4 kB / 0.5049 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.2059, allocations: 261.7 kB / 0.5052 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.2062, allocations: 154.6 kB / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2063, allocations: 370.6 kB / 0.5057 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.2071, allocations: 449.9 kB / 0.5061 GB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/0.2078, allocations: 0.5092 MB / 0.5066 GB, free: 12.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.2094, allocations: 1.006 MB / 0.5076 GB, free: 11.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2094, allocations: 4.031 kB / 0.5076 GB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005492/0.2149, allocations: 1.937 MB / 0.5095 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2149, allocations: 8 kB / 0.5095 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2149, allocations: 7.938 kB / 0.5095 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005877/0.2208, allocations: 1.519 MB / 0.511 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.2214, allocations: 131.8 kB / 0.5111 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.2334, allocations: 5.869 MB / 0.5168 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.2342, allocations: 79.59 kB / 0.5169 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.2343, allocations: 28 kB / 0.5169 GB, free: 1.895 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.0003625/0.2347, allocations: 193.7 kB / 0.5171 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2348, allocations: 63.61 kB / 0.5172 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3123/0.5471, allocations: 1.869 MB / 0.519 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.5471, allocations: 9.719 kB / 0.519 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5471, allocations: 2.25 kB / 0.519 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-05/0.5471, allocations: 6.656 kB / 0.519 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007467/0.5546, allocations: 2.709 MB / 0.5217 GB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5546, allocations: 0 / 0.5217 GB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.555, allocations: 93.78 kB / 0.5218 GB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005873/0.5609, allocations: 1.288 MB / 0.523 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.561, allocations: 18.97 kB / 0.523 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.5718, allocations: 5.776 MB / 0.5287 GB, free: 31.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5719, allocations: 2.172 kB / 0.5287 GB, free: 31.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/0.5774, allocations: 1.867 MB / 0.5305 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.5775, allocations: 67.56 kB / 0.5306 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.5776, allocations: 16.42 kB / 0.5306 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.5782, allocations: 46.58 kB / 0.5306 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.5784, allocations: 67.42 kB / 0.5307 GB, free: 30.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.5784, allocations: 26.69 kB / 0.5307 GB, free: 30.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.5788, allocations: 267.1 kB / 0.531 GB, free: 30.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5788, allocations: 1.094 kB / 0.531 GB, free: 30.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000962/0.5798, allocations: 292.6 kB / 0.5313 GB, free: 30.48 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.0002546/0.58, allocations: 142.1 kB / 0.5314 GB, free: 30.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003971/0.584, allocations: 1.561 MB / 0.5329 GB, free: 29.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.584, allocations: 4.922 kB / 0.5329 GB, free: 29.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.5869, allocations: 1.029 MB / 0.5339 GB, free: 29.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.5875, allocations: 65.52 kB / 0.534 GB, free: 29.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.5897, allocations: 1.188 MB / 0.5351 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.5901, allocations: 0.8938 MB / 0.536 GB, free: 27.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.5904, allocations: 79.08 kB / 0.5361 GB, free: 27.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.5905, allocations: 47.42 kB / 0.5361 GB, free: 27.88 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5905, allocations: 1.125 kB / 0.5361 GB, free: 27.88 MB / 382.1 MB Notification: Performance of Templates: time 0.02402/0.6145, allocations: 18.97 MB / 0.5547 GB, free: 15.68 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.593503940850496] Failed to read output from testmodel.py, exit status != 0: 0.6229755161330104 0.632279906 0.45824164199999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3f9cc157b0>