Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.001239/0.001239, allocations: 113.3 kB / 17.85 MB, free: 5.352 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.001234/0.001234, allocations: 182.1 kB / 20.78 MB, free: 2.426 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.428/1.428, allocations: 225.6 MB / 249.2 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05058/0.05058, allocations: 8.23 MB / 312.3 MB, free: 2.062 MB / 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-master/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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2507, allocations: 54.36 MB / 489.5 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003579/0.2543, allocations: 3.352 MB / 492.9 MB, free: 25.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.2566, allocations: 1.87 MB / 494.7 MB, free: 23.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.2567, allocations: 13.56 kB / 494.7 MB, free: 23.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.2572, allocations: 207.2 kB / 494.9 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005989/0.2578, allocations: 324.8 kB / 495.3 MB, free: 23.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.2597, allocations: 1.293 MB / 496.5 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.2604, allocations: 0.6609 MB / 497.2 MB, free: 21.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2606, allocations: 149.2 kB / 497.4 MB, free: 21.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.2608, allocations: 276.7 kB / 497.6 MB, free: 21.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.2612, allocations: 343.5 kB / 498 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.2613, allocations: 56.06 kB / 498 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.2618, allocations: 288.9 kB / 498.3 MB, free: 21.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.2619, allocations: 127.8 kB / 498.4 MB, free: 21.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.2621, allocations: 326.3 kB / 498.7 MB, free: 20.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.2629, allocations: 0.819 MB / 499.6 MB, free: 20.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2629, allocations: 1.375 kB / 499.6 MB, free: 20.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2629, allocations: 0 / 499.6 MB, free: 20.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2629, allocations: 3.984 kB / 499.6 MB, free: 20.4 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.007002/0.2699, allocations: 1.891 MB / 0.4897 GB, free: 19.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.27, allocations: 14.3 kB / 0.4897 GB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2702, allocations: 71.91 kB / 0.4898 GB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.2706, allocations: 440 kB / 0.4902 GB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.2707, allocations: 42.31 kB / 0.4902 GB, free: 18.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/0.2708, allocations: 49.97 kB / 0.4903 GB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2718, allocations: 0.7146 MB / 0.491 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2718, allocations: 192 / 0.491 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.2719, allocations: 25.91 kB / 0.491 GB, free: 18.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2719, allocations: 10.53 kB / 0.491 GB, free: 18.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/0.2729, allocations: 0.6541 MB / 0.4917 GB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.2764, allocations: 2.856 MB / 0.4945 GB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.2779, allocations: 1 MB / 0.4954 GB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.2785, allocations: 420.6 kB / 0.4958 GB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-05/0.2786, allocations: 25.86 kB / 0.4959 GB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2786, allocations: 44.5 kB / 0.4959 GB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.2786, allocations: 0 / 0.4959 GB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01155/0.2902, allocations: 3.167 MB / 0.499 GB, free: 12.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.2902, allocations: 119.7 kB / 0.4991 GB, free: 12.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.2907, allocations: 383.9 kB / 0.4995 GB, free: 12.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.2908, allocations: 43.2 kB / 0.4995 GB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2909, allocations: 210.2 kB / 0.4997 GB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.291, allocations: 262.6 kB / 0.5 GB, free: 11.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.2913, allocations: 153.9 kB / 0.5001 GB, free: 11.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.2913, allocations: 359.2 kB / 0.5005 GB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.292, allocations: 466.7 kB / 0.5009 GB, free: 11.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.2927, allocations: 0.5263 MB / 0.5014 GB, free: 10.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.294, allocations: 1.022 MB / 0.5024 GB, free: 10.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.294, allocations: 9.047 kB / 0.5024 GB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005206/0.2992, allocations: 1.97 MB / 0.5043 GB, free: 9.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2992, allocations: 6.938 kB / 0.5043 GB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2992, allocations: 1.125 kB / 0.5043 GB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/0.3047, allocations: 1.534 MB / 0.5058 GB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.3052, allocations: 127.8 kB / 0.506 GB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009905/0.3151, allocations: 6.285 MB / 0.5121 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/0.3158, allocations: 79.53 kB / 0.5122 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.3158, allocations: 31.98 kB / 0.5122 GB, free: 0.8555 MB / 366.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.0002462/0.3161, allocations: 193.7 kB / 0.5124 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3162, allocations: 59.56 kB / 0.5125 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00558/0.3218, allocations: 1.947 MB / 0.5144 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3218, allocations: 12 kB / 0.5144 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.3218, allocations: 0 / 0.5144 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3218, allocations: 3.984 kB / 0.5144 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/0.3285, allocations: 2.78 MB / 0.5171 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3285, allocations: 0 / 0.5171 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.3288, allocations: 99.83 kB / 0.5172 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005767/0.3346, allocations: 1.289 MB / 0.5184 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.3346, allocations: 15.98 kB / 0.5185 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.3465, allocations: 6.214 MB / 0.5245 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3465, allocations: 7.922 kB / 0.5245 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005355/0.3519, allocations: 1.906 MB / 0.5264 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.3521, allocations: 144.7 kB / 0.5265 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.3522, allocations: 16 kB / 0.5265 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.3527, allocations: 39.97 kB / 0.5266 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.3529, allocations: 60.91 kB / 0.5266 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/0.353, allocations: 28 kB / 0.5267 GB, free: 1.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003338/0.3533, allocations: 267.1 kB / 0.5269 GB, free: 1.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 4 kB / 0.5269 GB, free: 1.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008497/0.3541, allocations: 283.8 kB / 0.5272 GB, free: 1.234 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 (56): * Single equations (assignments): 55 * 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.0002549/0.3544, allocations: 139 kB / 0.5273 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003979/0.3584, allocations: 1.588 MB / 0.5289 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3584, allocations: 0 / 0.5289 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002924/0.3613, allocations: 1.058 MB / 0.5299 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.3618, allocations: 75.92 kB / 0.53 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3639, allocations: 1.203 MB / 0.5312 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.3644, allocations: 0.8777 MB / 0.532 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3646, allocations: 59.41 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3646, allocations: 0 / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of Templates: time 0.01712/0.3817, allocations: 12.13 MB / 0.5439 GB, free: 48 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.435645442921668] Failed to read output from testmodel.py, exit status != 0: 0.3893939161207527 0.40176147700000003 0.136132824 Calling exit ...