Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001307/0.001307, allocations: 110 kB / 18.94 MB, free: 2.953 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.001422/0.001422, allocations: 190.1 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.396/1.396, allocations: 225.6 MB / 251 MB, free: 13.03 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.002516/0.002516, allocations: 287.7 kB / 306.6 MB, free: 8.434 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.45 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL")
translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 107.8 kB / 0.7308 GB, free: 38.94 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.171, 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_RL): time 0.008342/0.1794, allocations: 5.666 MB / 0.8284 GB, free: 12.17 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.005062/0.1844, allocations: 2.728 MB / 0.831 GB, free: 9.43 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.1848, allocations: 27.75 kB / 0.8311 GB, free: 9.402 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.001937/0.1868, allocations: 0.708 MB / 0.8317 GB, free: 8.691 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0009623/0.1877, allocations: 421.8 kB / 0.8321 GB, free: 8.277 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1887, allocations: 401.9 kB / 0.8325 GB, free: 7.887 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.00108/0.1898, allocations: 0.9555 MB / 0.8335 GB, free: 6.926 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.1903, allocations: 335 kB / 0.8338 GB, free: 6.598 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/0.1908, allocations: 382.7 kB / 0.8341 GB, free: 6.223 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.1914, allocations: 426.3 kB / 0.8346 GB, free: 5.805 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 7.952e-05/0.1914, allocations: 48 kB / 0.8346 GB, free: 5.758 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.1921, allocations: 371.2 kB / 0.835 GB, free: 5.395 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.000264/0.1924, allocations: 251.2 kB / 0.8352 GB, free: 5.148 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.1928, allocations: 350.2 kB / 0.8355 GB, free: 4.805 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1939, allocations: 0.9806 MB / 0.8365 GB, free: 3.82 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1939, allocations: 0 / 0.8365 GB, free: 3.82 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.183e-06/0.1939, allocations: 0 / 0.8365 GB, free: 3.82 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 9.618e-06/0.194, allocations: 4 kB / 0.8365 GB, free: 3.816 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: 140
 * Number of variables: 140
Notification: Performance of Generate backend data structure: time 0.001667/0.1956, allocations: 0.9169 MB / 0.8374 GB, free: 2.863 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1957, allocations: 8.031 kB / 0.8374 GB, free: 2.855 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.1971, allocations: 208.2 kB / 0.8376 GB, free: 2.652 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.1979, allocations: 451.7 kB / 0.838 GB, free: 2.188 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.198, allocations: 33.38 kB / 0.8381 GB, free: 2.156 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.1981, allocations: 68.47 kB / 0.8381 GB, free: 2.09 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1994, allocations: 0.8241 MB / 0.8389 GB, free: 1.184 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.1994, allocations: 7.922 kB / 0.8389 GB, free: 1.176 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.1994, allocations: 28 kB / 0.839 GB, free: 1.148 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.1996, allocations: 60.95 kB / 0.839 GB, free: 1.086 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/0.2006, allocations: 0.5697 MB / 0.8396 GB, free: 0.5195 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004769/0.2053, allocations: 4.493 MB / 0.844 GB, free: 11.68 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.2058, allocations: 287.2 kB / 0.8442 GB, free: 11.39 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.2061, allocations: 213.3 kB / 0.8444 GB, free: 11.18 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.2062, allocations: 288 / 0.8444 GB, free: 11.18 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.2062, allocations: 38.84 kB / 0.8445 GB, free: 11.14 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.2062, allocations: 0 / 0.8445 GB, free: 11.14 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=40): time 0.005597/0.2118, allocations: 2.34 MB / 0.8468 GB, free: 8.746 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2118, allocations: 55.41 kB / 0.8468 GB, free: 8.68 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.2123, allocations: 462 kB / 0.8473 GB, free: 8.219 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.2124, allocations: 29.7 kB / 0.8473 GB, free: 8.184 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.2126, allocations: 348.5 kB / 0.8476 GB, free: 7.836 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.2128, allocations: 146.8 kB / 0.8478 GB, free: 7.691 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.2129, allocations: 114.2 kB / 0.8479 GB, free: 7.574 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001681/0.2131, allocations: 358.8 kB / 0.8482 GB, free: 7.215 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.2135, allocations: 241.2 kB / 0.8484 GB, free: 6.98 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.214, allocations: 415.3 kB / 0.8488 GB, free: 6.496 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.2149, allocations: 0.675 MB / 0.8495 GB, free: 5.75 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2149, allocations: 0 / 0.8495 GB, free: 5.75 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.001748/0.2167, allocations: 0.914 MB / 0.8504 GB, free: 4.82 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2167, allocations: 8 kB / 0.8504 GB, free: 4.812 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2167, allocations: 4 kB / 0.8504 GB, free: 4.809 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008231/0.2175, allocations: 226.5 kB / 0.8506 GB, free: 4.578 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.218, allocations: 115.8 kB / 0.8507 GB, free: 4.465 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.2236, allocations: 5.035 MB / 0.8556 GB, free: 15.08 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.2241, allocations: 31.97 kB / 0.8557 GB, free: 15.05 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.2241, allocations: 20 kB / 0.8557 GB, free: 15.03 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 24
 * 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 (58):
 * Single equations (assignments): 55
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(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.0003317/0.2244, allocations: 225.7 kB / 0.8559 GB, free: 14.8 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.2245, allocations: 67.55 kB / 0.856 GB, free: 14.73 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.2262, allocations: 0.7579 MB / 0.8567 GB, free: 13.96 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.2262, allocations: 4 kB / 0.8567 GB, free: 13.96 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2262, allocations: 7.984 kB / 0.8567 GB, free: 13.95 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2262, allocations: 0 / 0.8567 GB, free: 13.95 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.2288, allocations: 1.458 MB / 0.8581 GB, free: 12.41 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2288, allocations: 4.219 kB / 0.8581 GB, free: 12.41 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.2292, allocations: 71.89 kB / 0.8582 GB, free: 12.34 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007118/0.2299, allocations: 206.5 kB / 0.8584 GB, free: 12.12 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.23, allocations: 12 kB / 0.8584 GB, free: 12.11 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/0.2352, allocations: 4.972 MB / 0.8633 GB, free: 6.797 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2352, allocations: 0 / 0.8633 GB, free: 6.797 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.2372, allocations: 1.135 MB / 0.8644 GB, free: 5.613 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.2374, allocations: 99.45 kB / 0.8645 GB, free: 5.516 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.2375, allocations: 19.98 kB / 0.8645 GB, free: 5.496 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.2379, allocations: 27.97 kB / 0.8645 GB, free: 5.469 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.2379, allocations: 35.88 kB / 0.8646 GB, free: 5.434 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.238, allocations: 16 kB / 0.8646 GB, free: 5.418 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 0.000377/0.2384, allocations: 306.9 kB / 0.8649 GB, free: 5.121 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 1e-07/0.2384, allocations: 0 / 0.8649 GB, free: 5.121 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.0007085/0.2391, allocations: 168 kB / 0.865 GB, free: 4.957 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2])
 * 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 (30):
 * 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: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.2392, allocations: 116.5 kB / 0.8651 GB, free: 4.836 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 0.001717/0.2409, allocations: 0.9731 MB / 0.8661 GB, free: 3.824 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2409, allocations: 0 / 0.8661 GB, free: 3.824 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 0.001028/0.242, allocations: 0.6642 MB / 0.8667 GB, free: 3.121 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.2429, allocations: 173.2 kB / 0.8669 GB, free: 2.953 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2451, allocations: 1.275 MB / 0.8682 GB, free: 1.629 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.2458, allocations: 0.9532 MB / 0.8691 GB, free: 0.6484 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 0.0003334/0.2461, allocations: 113 kB / 0.8692 GB, free: 0.5352 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2462, allocations: 35.44 kB / 0.8692 GB, free: 0.5 MB / 0.6075 GB
Notification: Performance of SimCode: time 1.122e-06/0.2462, allocations: 0 / 0.8692 GB, free: 0.5 MB / 0.6075 GB
Notification: Performance of Templates: time 0.0176/0.2638, allocations: 9.405 MB / 0.8784 GB, free: 7.219 MB / 0.6231 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.130454391241074]
Failed to read output from testmodel.py, exit status != 0:
0.27126113791018724 0.286353701 0.08922168200000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5e76c9d7b0>