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.001341/0.001341, allocations: 113.8 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.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.001726/0.001726, allocations: 192.6 kB / 23.03 MB, free: 5.016 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.478/1.478, allocations: 225.6 MB / 251.8 MB, free: 13 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.05451/0.05451, allocations: 8.237 MB / 315.3 MB, free: 460 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.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.001942/0.001942, allocations: 67.88 kB / 439.7 MB, free: 12.23 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 54.39 MB / 494.1 MB, free: 5.75 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.00492/0.1226, allocations: 3.375 MB / 497.5 MB, free: 2.371 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00332/0.1259, allocations: 1.866 MB / 499.4 MB, free: 500 kB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.1261, allocations: 8 kB / 499.4 MB, free: 492 kB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.1267, allocations: 202.7 kB / 499.6 MB, free: 288 kB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.1275, allocations: 333.8 kB / 499.9 MB, free: 15.95 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.13, allocations: 1.301 MB / 0.4895 GB, free: 14.65 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009505/0.131, allocations: 0.6608 MB / 0.4901 GB, free: 13.99 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.1313, allocations: 147.7 kB / 0.4902 GB, free: 13.84 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.1317, allocations: 283 kB / 0.4905 GB, free: 13.56 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.1322, allocations: 354.5 kB / 0.4908 GB, free: 13.21 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.1323, allocations: 52 kB / 0.4909 GB, free: 13.16 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007398/0.133, allocations: 287.7 kB / 0.4912 GB, free: 12.88 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1332, allocations: 131.5 kB / 0.4913 GB, free: 12.75 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.1336, allocations: 322.3 kB / 0.4916 GB, free: 12.43 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001282/0.1349, allocations: 0.8212 MB / 0.4924 GB, free: 11.61 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1349, allocations: 0 / 0.4924 GB, free: 11.61 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.685e-06/0.1349, allocations: 0 / 0.4924 GB, free: 11.61 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 2.072e-05/0.1349, allocations: 0 / 0.4924 GB, free: 11.61 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.00784/0.1427, allocations: 1.819 MB / 0.4942 GB, free: 9.754 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1428, allocations: 15.89 kB / 0.4942 GB, free: 9.738 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.143, allocations: 68.56 kB / 0.4943 GB, free: 9.672 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.1437, allocations: 380.3 kB / 0.4946 GB, free: 9.273 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.1437, allocations: 37.38 kB / 0.4947 GB, free: 9.238 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.965e-05/0.1438, allocations: 52.38 kB / 0.4947 GB, free: 9.188 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.1451, allocations: 0.726 MB / 0.4954 GB, free: 8.445 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1451, allocations: 192 / 0.4954 GB, free: 8.445 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.1451, allocations: 31.88 kB / 0.4955 GB, free: 8.414 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.1452, allocations: 12 kB / 0.4955 GB, free: 8.402 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1462, allocations: 0.6833 MB / 0.4961 GB, free: 7.723 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.1503, allocations: 2.809 MB / 0.4989 GB, free: 4.641 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.1517, allocations: 0.7904 MB / 0.4996 GB, free: 3.848 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.1524, allocations: 426.7 kB / 0.5001 GB, free: 3.43 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.544e-05/0.1524, allocations: 24.61 kB / 0.5001 GB, free: 3.406 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.1525, allocations: 47.16 kB / 0.5001 GB, free: 3.348 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=73): time 2.235e-06/0.1525, allocations: 0 / 0.5001 GB, free: 3.348 MB / 366.1 MB
Notification: Performance of matching and sorting (n=73): time 0.01213/0.1646, allocations: 3.117 MB / 0.5032 GB, free: 228 kB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.1647, allocations: 115.4 kB / 0.5033 GB, free: 84 kB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.1652, allocations: 385.5 kB / 0.5036 GB, free: 15.7 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 9.707e-05/0.1653, allocations: 41.7 kB / 0.5037 GB, free: 15.65 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1655, allocations: 209.6 kB / 0.5039 GB, free: 15.44 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.1657, allocations: 261.7 kB / 0.5041 GB, free: 15.18 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.166, allocations: 154.6 kB / 0.5043 GB, free: 15.02 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001731/0.1662, allocations: 366.8 kB / 0.5046 GB, free: 14.66 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/0.1669, allocations: 469.8 kB / 0.5051 GB, free: 14.2 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/0.1677, allocations: 0.5325 MB / 0.5056 GB, free: 13.66 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.1693, allocations: 1.033 MB / 0.5066 GB, free: 12.63 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1693, allocations: 4 kB / 0.5066 GB, free: 12.62 MB / 382.1 MB
Notification: Performance of matching and sorting (n=104) (initialization): time 0.005562/0.1749, allocations: 1.984 MB / 0.5085 GB, free: 10.62 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1749, allocations: 7.938 kB / 0.5086 GB, free: 10.62 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1749, allocations: 4 kB / 0.5086 GB, free: 10.61 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005894/0.1808, allocations: 1.531 MB / 0.5101 GB, free: 9.078 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.1814, allocations: 119.9 kB / 0.5102 GB, free: 8.961 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.1943, allocations: 6.196 MB / 0.5162 GB, free: 2.656 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008229/0.1951, allocations: 79.53 kB / 0.5163 GB, free: 2.578 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.1952, allocations: 27.98 kB / 0.5163 GB, free: 2.551 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.0003959/0.1956, allocations: 195.2 kB / 0.5165 GB, free: 2.352 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.1958, allocations: 59.62 kB / 0.5166 GB, free: 2.293 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/0.2015, allocations: 1.955 MB / 0.5185 GB, free: 332 kB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.2015, allocations: 11.94 kB / 0.5185 GB, free: 320 kB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2015, allocations: 4 kB / 0.5185 GB, free: 316 kB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2015, allocations: 3.984 kB / 0.5185 GB, free: 312 kB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2833/0.4848, allocations: 2.766 MB / 0.5212 GB, free: 35.02 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.4849, allocations: 3.688 kB / 0.5212 GB, free: 35.02 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.4852, allocations: 93.98 kB / 0.5213 GB, free: 35.01 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005947/0.4912, allocations: 1.288 MB / 0.5225 GB, free: 35 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.771e-05/0.4913, allocations: 19.89 kB / 0.5226 GB, free: 35 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.5036, allocations: 6.103 MB / 0.5285 GB, free: 31.68 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5036, allocations: 0 / 0.5285 GB, free: 31.68 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/0.5096, allocations: 1.913 MB / 0.5304 GB, free: 30.9 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.51, allocations: 67.27 kB / 0.5305 GB, free: 30.87 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.5101, allocations: 16.97 kB / 0.5305 GB, free: 30.86 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.5109, allocations: 48.47 kB / 0.5305 GB, free: 30.84 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.5113, allocations: 66.16 kB / 0.5306 GB, free: 30.83 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.5114, allocations: 26.88 kB / 0.5306 GB, free: 30.82 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0004954/0.5119, allocations: 258.6 kB / 0.5309 GB, free: 30.69 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.5119, allocations: 3 kB / 0.5309 GB, free: 30.69 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001524/0.5134, allocations: 285.2 kB / 0.5311 GB, free: 30.65 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.0002918/0.5137, allocations: 136.8 kB / 0.5313 GB, free: 30.54 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.004685/0.5184, allocations: 1.6 MB / 0.5328 GB, free: 29.87 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.5184, allocations: 5.5 kB / 0.5328 GB, free: 29.87 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003381/0.5218, allocations: 1.055 MB / 0.5339 GB, free: 29.43 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.5225, allocations: 69.58 kB / 0.5339 GB, free: 29.39 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.5253, allocations: 1.175 MB / 0.5351 GB, free: 28.76 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.526, allocations: 0.8788 MB / 0.5359 GB, free: 28.05 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003533/0.5263, allocations: 80.55 kB / 0.536 GB, free: 28.05 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.5265, allocations: 53.27 kB / 0.5361 GB, free: 28.03 MB / 382.1 MB
Notification: Performance of SimCode: time 1.523e-06/0.5265, allocations: 0 / 0.5361 GB, free: 28.03 MB / 382.1 MB
Notification: Performance of Templates: time 0.03211/0.5586, allocations: 19.6 MB / 0.5552 GB, free: 15.16 MB / 382.1 MB
"
[Timeout remaining time 659]
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: 5.456066362559795]
Failed to read output from testmodel.py, exit status != 0:
0.5663062185049057 0.57727039 0.440020564
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f16999f57b0>