Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.00156/0.00156, allocations: 114.2 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.001724/0.001724, allocations: 188.3 kB / 22.23 MB, free: 5.098 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.4/1.4, 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.002554/0.002554, allocations: 292.3 kB / 306.6 MB, free: 8.352 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.174/1.174, allocations: 180.8 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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R")
translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 98.67 kB / 0.7308 GB, free: 38.62 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1764, allocations: 94.19 MB / 0.8228 GB, free: 1.855 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009774/0.1861, allocations: 6.994 MB / 0.8297 GB, free: 10.84 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.005903/0.192, allocations: 3.157 MB / 0.8327 GB, free: 7.668 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.1925, allocations: 35.69 kB / 0.8328 GB, free: 7.633 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.002619/0.1952, allocations: 0.9876 MB / 0.8337 GB, free: 6.645 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.001315/0.1965, allocations: 0.5246 MB / 0.8343 GB, free: 6.117 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1977, allocations: 430.9 kB / 0.8347 GB, free: 5.695 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.001632/0.1993, allocations: 1.225 MB / 0.8359 GB, free: 4.465 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008769/0.2002, allocations: 482.8 kB / 0.8363 GB, free: 3.992 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006886/0.2009, allocations: 486.3 kB / 0.8368 GB, free: 3.516 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008112/0.2017, allocations: 0.5487 MB / 0.8373 GB, free: 2.965 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.2018, allocations: 68 kB / 0.8374 GB, free: 2.898 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009645/0.2028, allocations: 395.2 kB / 0.8378 GB, free: 2.512 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.2032, allocations: 315 kB / 0.8381 GB, free: 2.203 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.2037, allocations: 453.7 kB / 0.8385 GB, free: 1.758 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.001612/0.2053, allocations: 1.222 MB / 0.8397 GB, free: 0.5312 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2053, allocations: 0 / 0.8397 GB, free: 0.5312 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.853e-06/0.2053, allocations: 0 / 0.8397 GB, free: 0.5312 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.403e-05/0.2053, allocations: 0 / 0.8397 GB, free: 0.5312 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 183
 * Number of variables: 183
Notification: Performance of Generate backend data structure: time 0.002192/0.2075, allocations: 1.104 MB / 0.8408 GB, free: 15.39 MB / 0.5919 GB
Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2076, allocations: 11.97 kB / 0.8408 GB, free: 15.38 MB / 0.5919 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.2092, allocations: 248.1 kB / 0.841 GB, free: 15.14 MB / 0.5919 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2103, allocations: 0.5153 MB / 0.8415 GB, free: 14.59 MB / 0.5919 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.2103, allocations: 53.67 kB / 0.8416 GB, free: 14.54 MB / 0.5919 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2104, allocations: 64.36 kB / 0.8416 GB, free: 14.48 MB / 0.5919 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.212, allocations: 1.093 MB / 0.8427 GB, free: 13.27 MB / 0.5919 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.2121, allocations: 0 / 0.8427 GB, free: 13.27 MB / 0.5919 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/0.2121, allocations: 31.98 kB / 0.8427 GB, free: 13.24 MB / 0.5919 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.2123, allocations: 85.25 kB / 0.8428 GB, free: 13.16 MB / 0.5919 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2135, allocations: 0.7503 MB / 0.8435 GB, free: 12.41 MB / 0.5919 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005964/0.2195, allocations: 5.811 MB / 0.8492 GB, free: 6.184 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/0.2204, allocations: 0.5085 MB / 0.8497 GB, free: 5.668 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.2209, allocations: 282 kB / 0.85 GB, free: 5.391 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.2209, allocations: 12.44 kB / 0.85 GB, free: 5.379 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2209, allocations: 35 kB / 0.85 GB, free: 5.336 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=47): time 1.734e-06/0.2209, allocations: 0 / 0.85 GB, free: 5.336 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=48): time 0.003738/0.2247, allocations: 1.682 MB / 0.8517 GB, free: 3.637 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.2247, allocations: 59.83 kB / 0.8517 GB, free: 3.566 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.2254, allocations: 0.5548 MB / 0.8523 GB, free: 3.004 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.2254, allocations: 33.7 kB / 0.8523 GB, free: 2.965 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.2257, allocations: 428 kB / 0.8527 GB, free: 2.543 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.2259, allocations: 182.5 kB / 0.8529 GB, free: 2.363 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.2261, allocations: 122.6 kB / 0.853 GB, free: 2.234 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001905/0.2262, allocations: 382.7 kB / 0.8534 GB, free: 1.852 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.2267, allocations: 273.8 kB / 0.8536 GB, free: 1.586 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.2273, allocations: 492.9 kB / 0.8541 GB, free: 1.008 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2284, allocations: 0.8122 MB / 0.8549 GB, free: 108 kB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2284, allocations: 0 / 0.8549 GB, free: 108 kB / 0.5919 GB
Notification: Performance of matching and sorting (n=85) (initialization): time 0.001884/0.2303, allocations: 1.082 MB / 0.8559 GB, free: 15 MB / 0.6075 GB
Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2303, allocations: 8 kB / 0.856 GB, free: 14.99 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.2303, allocations: 4 kB / 0.856 GB, free: 14.99 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/0.2311, allocations: 283.8 kB / 0.8562 GB, free: 14.7 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.2316, allocations: 131.7 kB / 0.8564 GB, free: 14.57 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006968/0.2386, allocations: 6.726 MB / 0.8629 GB, free: 7.379 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.2391, allocations: 35.97 kB / 0.863 GB, free: 7.344 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.2391, allocations: 35.98 kB / 0.863 GB, free: 7.309 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 31
 * 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 (67):
 * Single equations (assignments): 63
 * 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
   {(2,6,100.0%), (2,4,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.000343/0.2395, allocations: 254.2 kB / 0.8632 GB, free: 7.051 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2396, allocations: 75.53 kB / 0.8633 GB, free: 6.977 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.2413, allocations: 0.8806 MB / 0.8642 GB, free: 6.07 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2413, allocations: 8 kB / 0.8642 GB, free: 6.062 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2413, allocations: 4 kB / 0.8642 GB, free: 6.059 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2413, allocations: 3.938 kB / 0.8642 GB, free: 6.055 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.244, allocations: 1.684 MB / 0.8658 GB, free: 4.289 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.244, allocations: 3.984 kB / 0.8658 GB, free: 4.285 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.2443, allocations: 63.83 kB / 0.8659 GB, free: 4.223 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007574/0.245, allocations: 267.4 kB / 0.8661 GB, free: 3.949 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.2451, allocations: 8 kB / 0.8662 GB, free: 3.941 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006759/0.2518, allocations: 6.725 MB / 0.8727 GB, free: 12.76 MB / 0.6231 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2518, allocations: 0 / 0.8727 GB, free: 12.76 MB / 0.6231 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.2534, allocations: 0.9841 MB / 0.8737 GB, free: 11.73 MB / 0.6231 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.2537, allocations: 111.7 kB / 0.8738 GB, free: 11.62 MB / 0.6231 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.2537, allocations: 12 kB / 0.8738 GB, free: 11.61 MB / 0.6231 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.2541, allocations: 27.91 kB / 0.8738 GB, free: 11.59 MB / 0.6231 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2542, allocations: 51.89 kB / 0.8739 GB, free: 11.54 MB / 0.6231 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.2542, allocations: 16 kB / 0.8739 GB, free: 11.52 MB / 0.6231 GB
Notification: Performance of sorting global known variables: time 0.0004272/0.2547, allocations: 387 kB / 0.8743 GB, free: 11.15 MB / 0.6231 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.2547, allocations: 0 / 0.8743 GB, free: 11.15 MB / 0.6231 GB
Notification: Performance of remove unused functions: time 0.0007337/0.2554, allocations: 228 kB / 0.8745 GB, free: 10.93 MB / 0.6231 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * 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 (31):
 * Single equations (assignments): 27
 * 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
   {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001496/0.2556, allocations: 116.2 kB / 0.8746 GB, free: 10.8 MB / 0.6231 GB
Notification: Performance of simCode: created initialization part: time 0.001975/0.2575, allocations: 1.244 MB / 0.8758 GB, free: 9.512 MB / 0.6231 GB
Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2575, allocations: 4 kB / 0.8758 GB, free: 9.508 MB / 0.6231 GB
Notification: Performance of simCode: created simulation system equations: time 0.001251/0.2588, allocations: 0.8542 MB / 0.8766 GB, free: 8.602 MB / 0.6231 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.2598, allocations: 221.7 kB / 0.8769 GB, free: 8.391 MB / 0.6231 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2619, allocations: 1.364 MB / 0.8782 GB, free: 6.977 MB / 0.6231 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.2626, allocations: 1.009 MB / 0.8792 GB, free: 5.938 MB / 0.6231 GB
Notification: Performance of simCode: alias equations: time 0.0003237/0.2629, allocations: 114 kB / 0.8793 GB, free: 5.824 MB / 0.6231 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.2631, allocations: 43.44 kB / 0.8793 GB, free: 5.781 MB / 0.6231 GB
Notification: Performance of SimCode: time 3.1e-07/0.2631, allocations: 0 / 0.8793 GB, free: 5.781 MB / 0.6231 GB
Notification: Performance of Templates: time 0.01989/0.283, allocations: 11.84 MB / 0.8909 GB, free: 10.07 MB / 0.6387 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.211973358877003]
Failed to read output from testmodel.py, exit status != 0:
0.29064799193292856 0.304811174 0.096469804
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f69951257b0>