Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001225/0.001225, allocations: 110 kB / 18.94 MB, free: 2.949 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.001624/0.001624, allocations: 186.5 kB / 22.23 MB, free: 5.137 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.351/1.351, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 292.6 kB / 306.6 MB, free: 8.316 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.196/1.196, allocations: 180.8 MB / 0.53 GB, free: 14.52 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N")
translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 98.05 kB / 0.7309 GB, free: 39.16 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1543, allocations: 94.2 MB / 0.8229 GB, free: 1.887 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04689/0.2012, allocations: 39.77 MB / 0.8617 GB, free: 9.988 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.01914/0.2203, allocations: 11.4 MB / 0.8728 GB, free: 14.55 MB / 0.6231 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.2235, allocations: 202.5 kB / 0.873 GB, free: 14.36 MB / 0.6231 GB
Notification: Performance of NFTyping.typeComponents: time 0.01162/0.2352, allocations: 4.564 MB / 0.8775 GB, free: 9.781 MB / 0.6231 GB
Notification: Performance of NFTyping.typeBindings: time 0.00745/0.2426, allocations: 2.324 MB / 0.8797 GB, free: 7.445 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006083/0.2487, allocations: 2.258 MB / 0.882 GB, free: 5.191 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.01221/0.2609, allocations: 9.289 MB / 0.891 GB, free: 11.88 MB / 0.6387 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.009431/0.2703, allocations: 5.966 MB / 0.8969 GB, free: 5.793 MB / 0.6387 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006304/0.2766, allocations: 4.102 MB / 0.9009 GB, free: 1.68 MB / 0.6387 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.007853/0.2845, allocations: 4.755 MB / 0.9055 GB, free: 12.91 MB / 0.6544 GB
Notification: Performance of NFPackage.collectConstants: time 0.002047/0.2865, allocations: 0.8242 MB / 0.9063 GB, free: 12.09 MB / 0.6544 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.2904, allocations: 1.607 MB / 0.9079 GB, free: 10.48 MB / 0.6544 GB
Notification: Performance of NFScalarize.scalarize: time 0.004182/0.2946, allocations: 3.235 MB / 0.911 GB, free: 7.234 MB / 0.6544 GB
Notification: Performance of NFVerifyModel.verify: time 0.006027/0.3006, allocations: 3.653 MB / 0.9146 GB, free: 3.566 MB / 0.6544 GB
Notification: Performance of NFConvertDAE.convert: time 0.0142/0.3148, allocations: 12.34 MB / 0.9267 GB, free: 7.188 MB / 0.67 GB
Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.3148, allocations: 11.98 kB / 0.9267 GB, free: 7.176 MB / 0.67 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.3148, allocations: 0 / 0.9267 GB, free: 7.176 MB / 0.67 GB
Notification: Performance of Transformations before backend: time 0.000252/0.3151, allocations: 0 / 0.9267 GB, free: 7.176 MB / 0.67 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1524
 * Number of variables: 1524
Notification: Performance of Generate backend data structure: time 0.01198/0.3271, allocations: 6.395 MB / 0.9329 GB, free: 0.7188 MB / 0.67 GB
Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3271, allocations: 12.62 kB / 0.9329 GB, free: 0.707 MB / 0.67 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.3318, allocations: 1.094 MB / 0.934 GB, free: 15.61 MB / 0.6856 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00754/0.3393, allocations: 3.572 MB / 0.9375 GB, free: 11.97 MB / 0.6856 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.3397, allocations: 431.7 kB / 0.9379 GB, free: 11.55 MB / 0.6856 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009916/0.3406, allocations: 0.5394 MB / 0.9384 GB, free: 11.01 MB / 0.6856 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.3563, allocations: 9.381 MB / 0.9476 GB, free: 1.297 MB / 0.6856 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.3564, allocations: 23.81 kB / 0.9476 GB, free: 1.273 MB / 0.6856 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005661/0.3569, allocations: 244 kB / 0.9478 GB, free: 1.035 MB / 0.6856 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005742/0.3575, allocations: 426.9 kB / 0.9482 GB, free: 0.6172 MB / 0.6856 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.3698, allocations: 7.123 MB / 0.9552 GB, free: 9.484 MB / 0.7012 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04538/0.4152, allocations: 40.71 MB / 0.995 GB, free: 13.03 MB / 0.7481 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00469/0.4199, allocations: 2.905 MB / 0.9978 GB, free: 10.11 MB / 0.7481 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.4229, allocations: 1.934 MB / 0.9997 GB, free: 8.172 MB / 0.7481 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4231, allocations: 22 kB / 0.9997 GB, free: 8.152 MB / 0.7481 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.4231, allocations: 64.5 kB / 0.9998 GB, free: 8.078 MB / 0.7481 GB
Notification: Performance of pre-optimization done (n=209): time 4.028e-06/0.4231, allocations: 4 kB / 0.9998 GB, free: 8.074 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=212): time 0.3568/0.7799, allocations: 10.27 MB / 1.01 GB, free: 168.1 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7799, allocations: 79.72 kB / 1.01 GB, free: 168 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.7823, allocations: 2.003 MB / 1.012 GB, free: 167.4 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.7826, allocations: 66.86 kB / 1.012 GB, free: 167.4 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.7839, allocations: 2.473 MB / 1.014 GB, free: 166.6 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000545/0.7844, allocations: 0.7676 MB / 1.015 GB, free: 166.1 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006927/0.7851, allocations: 481.8 kB / 1.016 GB, free: 165.9 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 3.528e-05/0.7851, allocations: 301.1 kB / 1.016 GB, free: 165.6 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.7871, allocations: 1.378 MB / 1.017 GB, free: 165.1 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.7894, allocations: 2.107 MB / 1.019 GB, free: 163.7 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.794, allocations: 3.767 MB / 1.023 GB, free: 161.5 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/0.794, allocations: 6.562 kB / 1.023 GB, free: 161.5 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=339) (initialization): time 0.007511/0.8015, allocations: 5.031 MB / 1.028 GB, free: 159.5 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.8016, allocations: 17.25 kB / 1.028 GB, free: 159.5 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.8016, allocations: 19.53 kB / 1.028 GB, free: 159.5 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.8045, allocations: 1.588 MB / 1.029 GB, free: 159.1 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.8059, allocations: 452.8 kB / 1.03 GB, free: 159.1 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.8223, allocations: 18.18 MB / 1.048 GB, free: 147.4 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.8243, allocations: 146.9 kB / 1.048 GB, free: 147.3 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.8245, allocations: 106.2 kB / 1.048 GB, free: 147.3 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 101
 * 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 (231):
 * Single equations (assignments): 227
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0023/0.8268, allocations: 1.945 MB / 1.05 GB, free: 146.1 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.8272, allocations: 301.8 kB / 1.05 GB, free: 145.9 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/0.8325, allocations: 4.402 MB / 1.054 GB, free: 141.7 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.8325, allocations: 20.66 kB / 1.054 GB, free: 141.7 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.8325, allocations: 16 kB / 1.054 GB, free: 141.7 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.8326, allocations: 16.45 kB / 1.054 GB, free: 141.6 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.8434, allocations: 9.604 MB / 1.064 GB, free: 132 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.8434, allocations: 7.984 kB / 1.064 GB, free: 131.9 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/0.8443, allocations: 236.1 kB / 1.064 GB, free: 131.7 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.847, allocations: 1.424 MB / 1.065 GB, free: 130.3 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.8471, allocations: 36 kB / 1.065 GB, free: 130.2 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.863, allocations: 18.19 MB / 1.083 GB, free: 111.6 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.863, allocations: 8.969 kB / 1.083 GB, free: 111.6 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/0.8686, allocations: 4.499 MB / 1.088 GB, free: 107 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.87, allocations: 0.5787 MB / 1.088 GB, free: 106.5 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.8703, allocations: 40 kB / 1.088 GB, free: 106.4 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.8714, allocations: 117.8 kB / 1.088 GB, free: 106.3 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004934/0.8719, allocations: 189.5 kB / 1.088 GB, free: 106.1 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.872, allocations: 63.98 kB / 1.089 GB, free: 106.1 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.00148/0.8735, allocations: 1.311 MB / 1.09 GB, free: 104.7 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 9e-08/0.8735, allocations: 0 / 1.09 GB, free: 104.7 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.002509/0.876, allocations: 1.145 MB / 1.091 GB, free: 103.6 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * 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 (107):
 * Single equations (assignments): 103
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.8763, allocations: 164.6 kB / 1.091 GB, free: 103.4 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.005418/0.8817, allocations: 4.536 MB / 1.095 GB, free: 98.86 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.8817, allocations: 4 kB / 1.095 GB, free: 98.85 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.003387/0.8851, allocations: 2.812 MB / 1.098 GB, free: 95.99 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.8881, allocations: 0.8855 MB / 1.099 GB, free: 95.15 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.8996, allocations: 9.565 MB / 1.108 GB, free: 85.53 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/0.9023, allocations: 3.694 MB / 1.112 GB, free: 81.8 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001563/0.9039, allocations: 0.5567 MB / 1.113 GB, free: 81.26 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.9042, allocations: 151.4 kB / 1.113 GB, free: 81.11 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.172e-06/0.9042, allocations: 0 / 1.113 GB, free: 81.11 MB / 0.7481 GB
Notification: Performance of Templates: time 0.06877/0.973, allocations: 54.17 MB / 1.166 GB, free: 27.77 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.005385683849454]
Failed to read output from testmodel.py, exit status != 0:
0.9802207686007023 0.989558539 0.672352471
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4a5f9517b0>