Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00169/0.00169, allocations: 113.9 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.002031/0.002031, allocations: 189.6 kB / 22.23 MB, free: 5.094 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.399/1.399, allocations: 225.6 MB / 251 MB, free: 13.2 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.002491/0.002491, allocations: 287.6 kB / 306.6 MB, free: 8.363 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.199/1.199, allocations: 180.9 MB / 0.53 GB, free: 14.57 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R")
translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 98.59 kB / 0.7309 GB, free: 38.89 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1698, allocations: 94.2 MB / 0.8229 GB, free: 1.824 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0446/0.2144, allocations: 36.79 MB / 0.8588 GB, free: 12.92 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.01821/0.2326, allocations: 10.31 MB / 0.8688 GB, free: 2.578 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/0.2358, allocations: 190.6 kB / 0.869 GB, free: 2.391 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.01068/0.2465, allocations: 3.976 MB / 0.8729 GB, free: 14.41 MB / 0.6231 GB
Notification: Performance of NFTyping.typeBindings: time 0.006348/0.2528, allocations: 2.146 MB / 0.875 GB, free: 12.25 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005772/0.2586, allocations: 2.042 MB / 0.877 GB, free: 10.21 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.01092/0.2695, allocations: 7.972 MB / 0.8848 GB, free: 2.215 MB / 0.6231 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.007946/0.2775, allocations: 4.904 MB / 0.8896 GB, free: 13.19 MB / 0.6387 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005857/0.2833, allocations: 3.467 MB / 0.893 GB, free: 9.715 MB / 0.6387 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.007305/0.2906, allocations: 3.933 MB / 0.8968 GB, free: 5.77 MB / 0.6387 GB
Notification: Performance of NFPackage.collectConstants: time 0.002222/0.2928, allocations: 0.6797 MB / 0.8975 GB, free: 5.09 MB / 0.6387 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004256/0.2971, allocations: 1.467 MB / 0.8989 GB, free: 3.621 MB / 0.6387 GB
Notification: Performance of NFScalarize.scalarize: time 0.00456/0.3017, allocations: 2.685 MB / 0.9015 GB, free: 0.9297 MB / 0.6387 GB
Notification: Performance of NFVerifyModel.verify: time 0.007595/0.3092, allocations: 3.101 MB / 0.9045 GB, free: 13.82 MB / 0.6544 GB
Notification: Performance of NFConvertDAE.convert: time 0.01578/0.325, allocations: 10.42 MB / 0.9147 GB, free: 3.363 MB / 0.6544 GB
Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.325, allocations: 0 / 0.9147 GB, free: 3.363 MB / 0.6544 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.325, allocations: 0 / 0.9147 GB, free: 3.363 MB / 0.6544 GB
Notification: Performance of Transformations before backend: time 0.0003676/0.3254, allocations: 0 / 0.9147 GB, free: 3.363 MB / 0.6544 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1286
 * Number of variables: 1286
Notification: Performance of Generate backend data structure: time 0.01444/0.3398, allocations: 5.463 MB / 0.9201 GB, free: 13.84 MB / 0.67 GB
Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3399, allocations: 8.625 kB / 0.9201 GB, free: 13.83 MB / 0.67 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/0.3448, allocations: 0.9889 MB / 0.921 GB, free: 12.84 MB / 0.67 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007222/0.352, allocations: 3.132 MB / 0.9241 GB, free: 9.641 MB / 0.67 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/0.3524, allocations: 357.9 kB / 0.9244 GB, free: 9.289 MB / 0.67 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.3537, allocations: 464.3 kB / 0.9249 GB, free: 8.836 MB / 0.67 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/0.371, allocations: 7.918 MB / 0.9326 GB, free: 0.5547 MB / 0.67 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/0.3711, allocations: 23.81 kB / 0.9326 GB, free: 0.5312 MB / 0.67 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006419/0.3717, allocations: 208 kB / 0.9328 GB, free: 336 kB / 0.67 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005755/0.3723, allocations: 361.1 kB / 0.9332 GB, free: 15.97 MB / 0.6856 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.3846, allocations: 5.941 MB / 0.939 GB, free: 10.02 MB / 0.6856 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/0.428, allocations: 35.69 MB / 0.9738 GB, free: 3.086 MB / 0.7169 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.4315, allocations: 1.998 MB / 0.9758 GB, free: 1.074 MB / 0.7169 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.4336, allocations: 1.34 MB / 0.9771 GB, free: 15.73 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/0.4337, allocations: 25.22 kB / 0.9771 GB, free: 15.71 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.4338, allocations: 55.81 kB / 0.9772 GB, free: 15.65 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=157): time 3.066e-06/0.4338, allocations: 0 / 0.9772 GB, free: 15.65 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=160): time 0.01464/0.4484, allocations: 6.663 MB / 0.9837 GB, free: 8.938 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.4485, allocations: 72.66 kB / 0.9837 GB, free: 8.855 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.4513, allocations: 1.864 MB / 0.9856 GB, free: 6.965 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.4516, allocations: 53.7 kB / 0.9856 GB, free: 6.906 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.4533, allocations: 2.184 MB / 0.9877 GB, free: 4.703 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007514/0.454, allocations: 0.5849 MB / 0.9883 GB, free: 4.113 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007155/0.4548, allocations: 407.9 kB / 0.9887 GB, free: 3.707 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.000129/0.4549, allocations: 309.1 kB / 0.989 GB, free: 3.402 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.4566, allocations: 1.062 MB / 0.99 GB, free: 2.336 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.459, allocations: 1.772 MB / 0.9918 GB, free: 252 kB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.4632, allocations: 3.037 MB / 0.9947 GB, free: 12.9 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.4632, allocations: 8 kB / 0.9947 GB, free: 12.89 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=281) (initialization): time 0.007198/0.4704, allocations: 3.91 MB / 0.9986 GB, free: 8.934 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.4704, allocations: 12 kB / 0.9986 GB, free: 8.922 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/0.4705, allocations: 24 kB / 0.9986 GB, free: 8.898 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/0.4732, allocations: 0.9392 MB / 0.9995 GB, free: 7.922 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.475, allocations: 423.3 kB / 0.9999 GB, free: 7.508 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3992/0.8742, allocations: 21.53 MB / 1.021 GB, free: 157.1 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.8762, allocations: 124.5 kB / 1.021 GB, free: 157.1 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.8764, allocations: 98.05 kB / 1.021 GB, free: 157.1 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 (227):
 * Single equations (assignments): 215
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 12
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 12 systems
   {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002686/0.8791, allocations: 1.643 MB / 1.023 GB, free: 156.4 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/0.8796, allocations: 270.9 kB / 1.023 GB, free: 156.4 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/0.8852, allocations: 3.235 MB / 1.026 GB, free: 155 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.8852, allocations: 15.53 kB / 1.026 GB, free: 155 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/0.8852, allocations: 9.688 kB / 1.026 GB, free: 155 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.8852, allocations: 9.531 kB / 1.026 GB, free: 155 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.8973, allocations: 7.517 MB / 1.034 GB, free: 152 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.8973, allocations: 3.969 kB / 1.034 GB, free: 152 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/0.8981, allocations: 218.4 kB / 1.034 GB, free: 151.9 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/0.9002, allocations: 0.895 MB / 1.035 GB, free: 151.6 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.9003, allocations: 31.88 kB / 1.035 GB, free: 151.6 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/0.9147, allocations: 21.51 MB / 1.056 GB, free: 133.6 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9147, allocations: 11.62 kB / 1.056 GB, free: 133.6 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/0.9194, allocations: 3.361 MB / 1.059 GB, free: 131.7 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.9207, allocations: 475.8 kB / 1.059 GB, free: 131.5 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.9211, allocations: 35.08 kB / 1.059 GB, free: 131.5 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.9222, allocations: 98.77 kB / 1.06 GB, free: 131.4 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/0.9225, allocations: 144.8 kB / 1.06 GB, free: 131.3 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/0.9226, allocations: 50.59 kB / 1.06 GB, free: 131.3 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.001562/0.9242, allocations: 1.229 MB / 1.061 GB, free: 130.6 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 9e-08/0.9242, allocations: 0 / 1.061 GB, free: 130.6 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.003242/0.9274, allocations: 0.9049 MB / 1.062 GB, free: 130.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 (109):
 * Single equations (assignments): 97
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 12
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 12 systems
   {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003118/0.9277, allocations: 156.3 kB / 1.062 GB, free: 130.4 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.005297/0.933, allocations: 4.297 MB / 1.066 GB, free: 126.2 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.9331, allocations: 10.19 kB / 1.066 GB, free: 126.2 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.003378/0.9364, allocations: 2.896 MB / 1.069 GB, free: 123.1 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/0.94, allocations: 0.8253 MB / 1.07 GB, free: 122.3 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.9503, allocations: 7.841 MB / 1.077 GB, free: 114.4 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/0.9527, allocations: 3.209 MB / 1.081 GB, free: 111.2 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001547/0.9543, allocations: 0.5278 MB / 1.081 GB, free: 110.7 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.9546, allocations: 143.4 kB / 1.081 GB, free: 110.5 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.172e-06/0.9546, allocations: 0 / 1.081 GB, free: 110.5 MB / 0.7481 GB
Notification: Performance of Templates: time 0.05902/1.014, allocations: 43.53 MB / 1.124 GB, free: 67.71 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.073177246376872]
Failed to read output from testmodel.py, exit status != 0:
1.021855995990336 1.031325702 0.703698192
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb7ffb857b0>