Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.00159/0.00159, allocations: 110 kB / 18.93 MB, free: 2.945 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.001672/0.001672, allocations: 188 kB / 22.22 MB, free: 5.164 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.396/1.396, allocations: 225.6 MB / 251 MB, free: 13.01 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.002442/0.002442, allocations: 293.2 kB / 306.6 MB, free: 8.312 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.21/1.21, allocations: 180.9 MB / 0.53 GB, free: 14.64 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine")
translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 99.16 kB / 0.7309 GB, free: 38.78 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1515, allocations: 94.2 MB / 0.8229 GB, free: 1.953 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04011/0.1916, allocations: 32.11 MB / 0.8542 GB, free: 1.727 MB / 0.5919 GB
Notification: Performance of NFInst.instExpressions: time 0.02605/0.2176, allocations: 13.98 MB / 0.8679 GB, free: 3.711 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.005034/0.2227, allocations: 190.5 kB / 0.8681 GB, free: 3.523 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.01017/0.2328, allocations: 3.336 MB / 0.8713 GB, free: 184 kB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 0.009441/0.2423, allocations: 2.78 MB / 0.874 GB, free: 13.39 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007083/0.2494, allocations: 2.077 MB / 0.8761 GB, free: 11.31 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.01184/0.2612, allocations: 7.633 MB / 0.8835 GB, free: 3.652 MB / 0.6231 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.008864/0.2701, allocations: 4.247 MB / 0.8877 GB, free: 15.29 MB / 0.6387 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.007082/0.2771, allocations: 3.506 MB / 0.8911 GB, free: 11.77 MB / 0.6387 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006607/0.2837, allocations: 3.578 MB / 0.8946 GB, free: 8.184 MB / 0.6387 GB
Notification: Performance of NFPackage.collectConstants: time 0.002109/0.2858, allocations: 0.5938 MB / 0.8952 GB, free: 7.59 MB / 0.6387 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004659/0.2905, allocations: 1.517 MB / 0.8966 GB, free: 6.07 MB / 0.6387 GB
Notification: Performance of NFScalarize.scalarize: time 0.004263/0.2948, allocations: 2.431 MB / 0.899 GB, free: 3.633 MB / 0.6387 GB
Notification: Performance of NFVerifyModel.verify: time 0.006648/0.3014, allocations: 2.882 MB / 0.9018 GB, free: 0.7383 MB / 0.6387 GB
Notification: Performance of NFConvertDAE.convert: time 0.01876/0.3202, allocations: 9.496 MB / 0.9111 GB, free: 7.211 MB / 0.6544 GB
Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.3202, allocations: 0 / 0.9111 GB, free: 7.211 MB / 0.6544 GB
Notification: Performance of FrontEnd: time 3.337e-06/0.3202, allocations: 0 / 0.9111 GB, free: 7.211 MB / 0.6544 GB
Notification: Performance of Transformations before backend: time 0.0005291/0.3207, allocations: 0 / 0.9111 GB, free: 7.211 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: 1133
 * Number of variables: 1133
Notification: Performance of Generate backend data structure: time 0.01989/0.3406, allocations: 5.195 MB / 0.9162 GB, free: 1.949 MB / 0.6544 GB
Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3407, allocations: 12.56 kB / 0.9162 GB, free: 1.938 MB / 0.6544 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006855/0.3475, allocations: 1.016 MB / 0.9172 GB, free: 0.918 MB / 0.6544 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008361/0.3559, allocations: 3.033 MB / 0.9201 GB, free: 13.79 MB / 0.67 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/0.3563, allocations: 312.8 kB / 0.9204 GB, free: 13.48 MB / 0.67 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.3581, allocations: 420 kB / 0.9208 GB, free: 13.07 MB / 0.67 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.3769, allocations: 6.788 MB / 0.9275 GB, free: 5.992 MB / 0.67 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002738/0.3771, allocations: 23.81 kB / 0.9275 GB, free: 5.969 MB / 0.67 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001569/0.3787, allocations: 188 kB / 0.9277 GB, free: 5.785 MB / 0.67 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.3797, allocations: 368 kB / 0.928 GB, free: 5.422 MB / 0.67 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.3919, allocations: 5.114 MB / 0.933 GB, free: 296 kB / 0.67 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/0.438, allocations: 30.26 MB / 0.9626 GB, free: 15.27 MB / 0.7169 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.4405, allocations: 1.325 MB / 0.9639 GB, free: 13.93 MB / 0.7169 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.4426, allocations: 1.246 MB / 0.9651 GB, free: 12.69 MB / 0.7169 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.4427, allocations: 13.31 kB / 0.9651 GB, free: 12.67 MB / 0.7169 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.4428, allocations: 47.81 kB / 0.9651 GB, free: 12.62 MB / 0.7169 GB
Notification: Performance of pre-optimization done (n=130): time 3.577e-06/0.4428, allocations: 7.938 kB / 0.9651 GB, free: 12.61 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=199): time 0.09364/0.5364, allocations: 22.85 MB / 0.9874 GB, free: 5.695 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.5365, allocations: 73.41 kB / 0.9875 GB, free: 5.613 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.5407, allocations: 2.062 MB / 0.9895 GB, free: 3.535 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 0.000331/0.541, allocations: 57.7 kB / 0.9896 GB, free: 3.473 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.5428, allocations: 2.063 MB / 0.9916 GB, free: 1.391 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009467/0.5438, allocations: 0.7127 MB / 0.9923 GB, free: 0.6719 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.5448, allocations: 408.4 kB / 0.9927 GB, free: 272 kB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.0001539/0.545, allocations: 313 kB / 0.993 GB, free: 15.96 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.5474, allocations: 1.433 MB / 0.9944 GB, free: 14.52 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/0.5503, allocations: 2.013 MB / 0.9964 GB, free: 12.26 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005418/0.5557, allocations: 3.692 MB / 1 GB, free: 8.328 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/0.5558, allocations: 8 kB / 1 GB, free: 8.32 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=294) (initialization): time 0.01226/0.568, allocations: 5.592 MB / 1.005 GB, free: 2.66 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.5681, allocations: 12 kB / 1.005 GB, free: 2.648 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.5681, allocations: 16 kB / 1.005 GB, free: 2.633 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007301/0.5754, allocations: 2.084 MB / 1.007 GB, free: 0.4922 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.577, allocations: 375.4 kB / 1.008 GB, free: 128 kB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.413/0.99, allocations: 36.61 MB / 1.044 GB, free: 141.5 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.9925, allocations: 130.7 kB / 1.044 GB, free: 141.4 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.9927, allocations: 93.36 kB / 1.044 GB, free: 141.4 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 78
 * 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 (204):
 * Single equations (assignments): 186
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 18
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 18 systems
   {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002052/0.9948, allocations: 1.512 MB / 1.045 GB, free: 140.7 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/0.9953, allocations: 294.7 kB / 1.046 GB, free: 140.7 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/1.004, allocations: 5.138 MB / 1.051 GB, free: 138.6 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.004, allocations: 19.56 kB / 1.051 GB, free: 138.6 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.716e-05/1.004, allocations: 17.64 kB / 1.051 GB, free: 138.6 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/1.004, allocations: 7.781 kB / 1.051 GB, free: 138.6 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.02, allocations: 9.584 MB / 1.06 GB, free: 134 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.02, allocations: 7.812 kB / 1.06 GB, free: 134 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008595/1.02, allocations: 214.8 kB / 1.06 GB, free: 133.9 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005308/1.026, allocations: 1.854 MB / 1.062 GB, free: 132.9 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/1.026, allocations: 39.66 kB / 1.062 GB, free: 132.9 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02769/1.054, allocations: 35.63 MB / 1.097 GB, free: 96.48 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.054, allocations: 11.94 kB / 1.097 GB, free: 96.47 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008231/1.062, allocations: 4.859 MB / 1.102 GB, free: 91.46 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.064, allocations: 0.5596 MB / 1.102 GB, free: 90.9 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007566/1.064, allocations: 40 kB / 1.102 GB, free: 90.86 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.066, allocations: 127.8 kB / 1.102 GB, free: 90.74 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000633/1.067, allocations: 205.4 kB / 1.103 GB, free: 90.54 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.067, allocations: 59.94 kB / 1.103 GB, free: 90.48 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.002114/1.069, allocations: 1.378 MB / 1.104 GB, free: 89.09 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 7e-08/1.069, allocations: 0.75 kB / 1.104 GB, free: 89.09 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.003869/1.073, allocations: 1.047 MB / 1.105 GB, free: 88.05 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 28
 * 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 (112):
 * Single equations (assignments): 94
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 18
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 18 systems
   {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003758/1.074, allocations: 167.1 kB / 1.105 GB, free: 87.88 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.008352/1.082, allocations: 6.005 MB / 1.111 GB, free: 81.65 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.082, allocations: 0.875 kB / 1.111 GB, free: 81.65 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.005812/1.088, allocations: 4.291 MB / 1.115 GB, free: 77.14 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005133/1.093, allocations: 0.9917 MB / 1.116 GB, free: 76.21 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.108, allocations: 8.293 MB / 1.124 GB, free: 67.86 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00415/1.112, allocations: 3.121 MB / 1.127 GB, free: 64.7 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001906/1.114, allocations: 0.5237 MB / 1.128 GB, free: 64.18 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/1.114, allocations: 143.4 kB / 1.128 GB, free: 64.04 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.212e-06/1.114, allocations: 3.938 kB / 1.128 GB, free: 64.03 MB / 0.7481 GB
Notification: Performance of Templates: time 0.08219/1.196, allocations: 60.89 MB / 1.187 GB, free: 4.125 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.580956591293216]
Failed to read output from testmodel.py, exit status != 0:
1.2044267868623137 1.219061882 0.895496099
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd04a58d7b0>