Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001252/0.001252, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001326/0.001326, allocations: 189.3 kB / 22.22 MB, free: 5.102 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.368/1.368, allocations: 225.6 MB / 251 MB, free: 13.05 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.002397/0.002397, allocations: 284.7 kB / 306.5 MB, free: 8.383 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.181/1.181, allocations: 180.9 MB / 0.53 GB, free: 14.38 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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N")
translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 98.56 kB / 0.7309 GB, free: 38.76 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.168, allocations: 94.21 MB / 0.8229 GB, free: 1.82 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04475/0.2127, allocations: 36.64 MB / 0.8586 GB, free: 13.07 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.02026/0.233, allocations: 11.94 MB / 0.8703 GB, free: 1.094 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00373/0.2367, allocations: 210.4 kB / 0.8705 GB, free: 0.8867 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.01206/0.2488, allocations: 4.447 MB / 0.8748 GB, free: 12.43 MB / 0.6231 GB
Notification: Performance of NFTyping.typeBindings: time 0.006736/0.2555, allocations: 2.092 MB / 0.8769 GB, free: 10.33 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007334/0.2628, allocations: 2.469 MB / 0.8793 GB, free: 7.859 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.01176/0.2746, allocations: 8.465 MB / 0.8876 GB, free: 15.37 MB / 0.6387 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.01156/0.2862, allocations: 5.867 MB / 0.8933 GB, free: 9.387 MB / 0.6387 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006328/0.2925, allocations: 3.841 MB / 0.897 GB, free: 5.535 MB / 0.6387 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.007352/0.2998, allocations: 4.428 MB / 0.9014 GB, free: 1.094 MB / 0.6387 GB
Notification: Performance of NFPackage.collectConstants: time 0.002304/0.3022, allocations: 0.7773 MB / 0.9021 GB, free: 324 kB / 0.6387 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005355/0.3075, allocations: 2.063 MB / 0.9041 GB, free: 14.25 MB / 0.6544 GB
Notification: Performance of NFScalarize.scalarize: time 0.00543/0.3129, allocations: 3.141 MB / 0.9072 GB, free: 11.1 MB / 0.6544 GB
Notification: Performance of NFVerifyModel.verify: time 0.007168/0.3201, allocations: 3.396 MB / 0.9105 GB, free: 7.691 MB / 0.6544 GB
Notification: Performance of NFConvertDAE.convert: time 0.02289/0.343, allocations: 12.02 MB / 0.9223 GB, free: 11.64 MB / 0.67 GB
Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.343, allocations: 3.984 kB / 0.9223 GB, free: 11.63 MB / 0.67 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.343, allocations: 0 / 0.9223 GB, free: 11.63 MB / 0.67 GB
Notification: Performance of Transformations before backend: time 0.0003432/0.3434, allocations: 0 / 0.9223 GB, free: 11.63 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: 1488
 * Number of variables: 1488
Notification: Performance of Generate backend data structure: time 0.01458/0.3579, allocations: 5.863 MB / 0.928 GB, free: 5.707 MB / 0.67 GB
Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.358, allocations: 20.55 kB / 0.928 GB, free: 5.688 MB / 0.67 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006732/0.3647, allocations: 1.086 MB / 0.9291 GB, free: 4.598 MB / 0.67 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008162/0.3729, allocations: 3.415 MB / 0.9324 GB, free: 1.113 MB / 0.67 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004841/0.3734, allocations: 419.4 kB / 0.9328 GB, free: 0.7031 MB / 0.67 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/0.3753, allocations: 0.5354 MB / 0.9333 GB, free: 172 kB / 0.67 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.3985, allocations: 9.071 MB / 0.9422 GB, free: 6.777 MB / 0.6856 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002345/0.3988, allocations: 35.77 kB / 0.9422 GB, free: 6.742 MB / 0.6856 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/0.4003, allocations: 236 kB / 0.9424 GB, free: 6.512 MB / 0.6856 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005248/0.4008, allocations: 354.7 kB / 0.9428 GB, free: 6.164 MB / 0.6856 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.4154, allocations: 6.818 MB / 0.9494 GB, free: 15.33 MB / 0.7012 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04943/0.4648, allocations: 39.5 MB / 0.988 GB, free: 4.113 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003814/0.4686, allocations: 2.304 MB / 0.9903 GB, free: 1.809 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.4714, allocations: 1.775 MB / 0.992 GB, free: 36 kB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.4715, allocations: 22 kB / 0.992 GB, free: 16 kB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.4716, allocations: 52.5 kB / 0.9921 GB, free: 15.95 MB / 0.7481 GB
Notification: Performance of pre-optimization done (n=179): time 5.28e-06/0.4716, allocations: 3.984 kB / 0.9921 GB, free: 15.95 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=182): time 0.02456/0.4961, allocations: 9.686 MB / 1.002 GB, free: 6.246 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.4962, allocations: 77.34 kB / 1.002 GB, free: 6.16 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.4985, allocations: 1.526 MB / 1.003 GB, free: 4.59 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.4987, allocations: 53.7 kB / 1.003 GB, free: 4.531 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.5004, allocations: 2.324 MB / 1.005 GB, free: 2.184 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006604/0.5011, allocations: 0.6584 MB / 1.006 GB, free: 1.52 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006707/0.5017, allocations: 416.1 kB / 1.006 GB, free: 1.105 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 0.0001335/0.5019, allocations: 305.1 kB / 1.007 GB, free: 0.8047 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.3675/0.8694, allocations: 1.175 MB / 1.008 GB, free: 167.9 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.8713, allocations: 1.879 MB / 1.01 GB, free: 167.1 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/0.8746, allocations: 3.368 MB / 1.013 GB, free: 165.9 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.8746, allocations: 10.12 kB / 1.013 GB, free: 165.9 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=285) (initialization): time 0.007698/0.8823, allocations: 4.533 MB / 1.017 GB, free: 164.3 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.8823, allocations: 15.14 kB / 1.017 GB, free: 164.3 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.373e-05/0.8824, allocations: 22.97 kB / 1.018 GB, free: 164.3 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/0.8865, allocations: 1.59 MB / 1.019 GB, free: 163.9 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.8879, allocations: 351.7 kB / 1.019 GB, free: 163.8 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/0.9064, allocations: 18.19 MB / 1.037 GB, free: 153.3 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.908, allocations: 120.2 kB / 1.037 GB, free: 153.2 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.9081, allocations: 98.03 kB / 1.037 GB, free: 153.2 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 (177):
 * Single equations (assignments): 173
 * 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
   {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.00243/0.9106, allocations: 1.892 MB / 1.039 GB, free: 152.4 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.9109, allocations: 237.9 kB / 1.039 GB, free: 152.4 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/0.9161, allocations: 4.037 MB / 1.043 GB, free: 150.4 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.9161, allocations: 15.22 kB / 1.043 GB, free: 150.4 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.9161, allocations: 18.69 kB / 1.043 GB, free: 150.4 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.9161, allocations: 11.95 kB / 1.043 GB, free: 150.4 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.9267, allocations: 9.398 MB / 1.053 GB, free: 142.2 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.9267, allocations: 4.625 kB / 1.053 GB, free: 142.2 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.9274, allocations: 183.7 kB / 1.053 GB, free: 142 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.93, allocations: 1.357 MB / 1.054 GB, free: 140.7 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/0.9301, allocations: 40 kB / 1.054 GB, free: 140.6 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.9448, allocations: 16.97 MB / 1.071 GB, free: 123.5 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9448, allocations: 4 kB / 1.071 GB, free: 123.4 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/0.9499, allocations: 4.038 MB / 1.075 GB, free: 119.3 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.951, allocations: 476.2 kB / 1.075 GB, free: 118.9 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.9512, allocations: 36 kB / 1.075 GB, free: 118.9 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.952, allocations: 87.89 kB / 1.075 GB, free: 118.8 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.9524, allocations: 169.5 kB / 1.075 GB, free: 118.6 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.9525, allocations: 48 kB / 1.075 GB, free: 118.6 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.001027/0.9535, allocations: 1.001 MB / 1.076 GB, free: 117.5 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 9e-08/0.9535, allocations: 0 / 1.076 GB, free: 117.5 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.002633/0.9561, allocations: 0.9883 MB / 1.077 GB, free: 116.5 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 (85):
 * Single equations (assignments): 81
 * 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
   {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.9563, allocations: 154.8 kB / 1.078 GB, free: 116.4 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.005144/0.9615, allocations: 4.166 MB / 1.082 GB, free: 112.2 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9615, allocations: 0 / 1.082 GB, free: 112.2 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.003112/0.9646, allocations: 2.586 MB / 1.084 GB, free: 109.6 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.9673, allocations: 0.7811 MB / 1.085 GB, free: 108.8 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.9787, allocations: 8.877 MB / 1.094 GB, free: 99.9 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/0.9814, allocations: 3.569 MB / 1.097 GB, free: 96.3 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001151/0.9826, allocations: 471.6 kB / 1.097 GB, free: 95.85 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.9828, allocations: 115.4 kB / 1.098 GB, free: 95.73 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.112e-06/0.9828, allocations: 0 / 1.098 GB, free: 95.73 MB / 0.7481 GB
Notification: Performance of Templates: time 0.05808/1.041, allocations: 46.84 MB / 1.143 GB, free: 49.43 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.504173373803496]
Failed to read output from testmodel.py, exit status != 0:
1.0482439054176211 1.057063457 0.711781741
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd1710097b0>