Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001539/0.001539, allocations: 108.8 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.001671/0.001671, allocations: 191.4 kB / 22.23 MB, free: 5.16 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.411/1.411, allocations: 225.6 MB / 251 MB, free: 13.02 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.002553/0.002553, allocations: 290.3 kB / 306.6 MB, free: 8.309 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.202/1.202, allocations: 180.9 MB / 0.53 GB, free: 14.44 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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized")
translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003242/0.003242, allocations: 101.9 kB / 0.7309 GB, free: 38.93 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1602, allocations: 94.21 MB / 0.8229 GB, free: 1.766 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02931/0.1895, allocations: 23.48 MB / 0.8458 GB, free: 10.2 MB / 0.5919 GB
Notification: Performance of NFInst.instExpressions: time 0.02815/0.2176, allocations: 18.16 MB / 0.8635 GB, free: 7.988 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.2206, allocations: 150.8 kB / 0.8637 GB, free: 7.84 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.0114/0.232, allocations: 4.347 MB / 0.8679 GB, free: 3.484 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 0.01093/0.2429, allocations: 3.592 MB / 0.8714 GB, free: 15.89 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.2465, allocations: 1.344 MB / 0.8727 GB, free: 14.55 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.008584/0.2551, allocations: 5.789 MB / 0.8784 GB, free: 8.742 MB / 0.6231 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.2588, allocations: 2.466 MB / 0.8808 GB, free: 6.195 MB / 0.6231 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.2627, allocations: 2.523 MB / 0.8833 GB, free: 3.664 MB / 0.6231 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.003986/0.2667, allocations: 2.51 MB / 0.8857 GB, free: 1.145 MB / 0.6231 GB
Notification: Performance of NFPackage.collectConstants: time 0.0006925/0.2674, allocations: 376 kB / 0.8861 GB, free: 0.7773 MB / 0.6231 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.2696, allocations: 1.049 MB / 0.8871 GB, free: 15.73 MB / 0.6387 GB
Notification: Performance of NFScalarize.scalarize: time 0.001202/0.2708, allocations: 1.234 MB / 0.8883 GB, free: 14.49 MB / 0.6387 GB
Notification: Performance of NFVerifyModel.verify: time 0.002238/0.273, allocations: 1.99 MB / 0.8902 GB, free: 12.49 MB / 0.6387 GB
Notification: Performance of NFConvertDAE.convert: time 0.006047/0.2791, allocations: 5.218 MB / 0.8953 GB, free: 7.25 MB / 0.6387 GB
Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2791, allocations: 0 / 0.8953 GB, free: 7.25 MB / 0.6387 GB
Notification: Performance of FrontEnd: time 1.943e-06/0.2791, allocations: 0 / 0.8953 GB, free: 7.25 MB / 0.6387 GB
Notification: Performance of Transformations before backend: time 6.808e-05/0.2791, allocations: 0 / 0.8953 GB, free: 7.25 MB / 0.6387 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 635
 * Number of variables: 635
Notification: Performance of Generate backend data structure: time 0.01002/0.2892, allocations: 4.647 MB / 0.8999 GB, free: 2.504 MB / 0.6387 GB
Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2892, allocations: 8.031 kB / 0.8999 GB, free: 2.496 MB / 0.6387 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.3053, allocations: 3.283 MB / 0.9031 GB, free: 15.21 MB / 0.6544 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.3097, allocations: 2.139 MB / 0.9052 GB, free: 12.99 MB / 0.6544 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.3101, allocations: 466.3 kB / 0.9056 GB, free: 12.47 MB / 0.6544 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.3106, allocations: 243.9 kB / 0.9059 GB, free: 12.23 MB / 0.6544 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.3213, allocations: 4.806 MB / 0.9106 GB, free: 7.281 MB / 0.6544 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.3214, allocations: 4 kB / 0.9106 GB, free: 7.277 MB / 0.6544 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/0.3217, allocations: 108 kB / 0.9107 GB, free: 7.172 MB / 0.6544 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.3219, allocations: 168.8 kB / 0.9108 GB, free: 7.004 MB / 0.6544 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.3361, allocations: 5.194 MB / 0.9159 GB, free: 1.793 MB / 0.6544 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02221/0.3583, allocations: 14.35 MB / 0.9299 GB, free: 2.266 MB / 0.67 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.3685, allocations: 3.262 MB / 0.9331 GB, free: 15 MB / 0.6856 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003854/0.3724, allocations: 1.373 MB / 0.9344 GB, free: 13.62 MB / 0.6856 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.3725, allocations: 29.28 kB / 0.9345 GB, free: 13.6 MB / 0.6856 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004516/0.377, allocations: 1.783 MB / 0.9362 GB, free: 11.75 MB / 0.6856 GB
Notification: Performance of pre-optimization done (n=163): time 3.276e-06/0.377, allocations: 0 / 0.9362 GB, free: 11.75 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=250): time 0.1332/0.5102, allocations: 27.54 MB / 0.9631 GB, free: 156 kB / 0.7012 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003541/0.5105, allocations: 0.4889 MB / 0.9636 GB, free: 15.55 MB / 0.7169 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/0.514, allocations: 2.3 MB / 0.9658 GB, free: 13.24 MB / 0.7169 GB
Notification: Performance of collectPreVariables (initialization): time 0.000373/0.5143, allocations: 77.7 kB / 0.9659 GB, free: 13.16 MB / 0.7169 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.5157, allocations: 1.456 MB / 0.9673 GB, free: 11.69 MB / 0.7169 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009472/0.5166, allocations: 0.8637 MB / 0.9682 GB, free: 10.82 MB / 0.7169 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008922/0.5175, allocations: 412.5 kB / 0.9686 GB, free: 10.41 MB / 0.7169 GB
Notification: Performance of setup shared object (initialization): time 0.0001345/0.5177, allocations: 305.1 kB / 0.9689 GB, free: 10.11 MB / 0.7169 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005471/0.5231, allocations: 1.925 MB / 0.9707 GB, free: 8.176 MB / 0.7169 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005784/0.5289, allocations: 2.235 MB / 0.9729 GB, free: 5.855 MB / 0.7169 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/0.5401, allocations: 4.161 MB / 0.977 GB, free: 1.559 MB / 0.7169 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5401, allocations: 0 / 0.977 GB, free: 1.559 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=299) (initialization): time 0.01963/0.5597, allocations: 6.475 MB / 0.9833 GB, free: 11 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.5598, allocations: 152.5 kB / 0.9834 GB, free: 10.82 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.5598, allocations: 4 kB / 0.9835 GB, free: 10.81 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/0.5703, allocations: 2.932 MB / 0.9863 GB, free: 7.871 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.5731, allocations: 487.2 kB / 0.9868 GB, free: 7.395 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04227/0.6154, allocations: 18.65 MB / 1.005 GB, free: 4.543 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.6194, allocations: 319.6 kB / 1.005 GB, free: 4.23 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/0.6197, allocations: 91.97 kB / 1.005 GB, free: 4.141 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 24
 * Number of states: 0 ()
 * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (162):
 * Single equations (assignments): 155
 * Array equations: 0
 * Algorithm blocks: 5
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(10,52,45.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(8,64)}
Notification: Performance of prepare postOptimizeDAE: time 0.001506/0.6212, allocations: 0.703 MB / 1.006 GB, free: 3.43 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/0.6218, allocations: 345.9 kB / 1.006 GB, free: 3.09 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.6226, allocations: 384.1 kB / 1.007 GB, free: 2.707 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-05/0.6226, allocations: 24 kB / 1.007 GB, free: 2.684 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.604e-05/0.6227, allocations: 12 kB / 1.007 GB, free: 2.672 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.6227, allocations: 11.95 kB / 1.007 GB, free: 2.66 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3633/0.986, allocations: 3.599 MB / 1.01 GB, free: 172.1 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/0.986, allocations: 0.5625 kB / 1.01 GB, free: 172.1 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/0.9888, allocations: 415.6 kB / 1.011 GB, free: 172.1 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/0.999, allocations: 2.863 MB / 1.014 GB, free: 172.1 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004627/0.9994, allocations: 53 kB / 1.014 GB, free: 172.1 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03802/1.037, allocations: 18.43 MB / 1.032 GB, free: 164.9 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.037, allocations: 5.906 kB / 1.032 GB, free: 164.9 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/1.054, allocations: 6.103 MB / 1.038 GB, free: 163.2 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.055, allocations: 0.6348 MB / 1.038 GB, free: 163 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004878/1.056, allocations: 52.12 kB / 1.038 GB, free: 163 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.059, allocations: 313.2 kB / 1.039 GB, free: 162.9 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.06, allocations: 373.2 kB / 1.039 GB, free: 162.8 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.06, allocations: 71.11 kB / 1.039 GB, free: 162.8 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.001671/1.062, allocations: 1.532 MB / 1.04 GB, free: 162.2 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 7e-08/1.062, allocations: 3.906 kB / 1.04 GB, free: 162.2 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.002178/1.064, allocations: 1.044 MB / 1.041 GB, free: 162.1 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count)
 * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (118):
 * Single equations (assignments): 106
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 10
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(10,52,60.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(10,62)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003306/1.064, allocations: 166.7 kB / 1.042 GB, free: 162 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.02181/1.086, allocations: 6.328 MB / 1.048 GB, free: 156.7 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.086, allocations: 0 / 1.048 GB, free: 156.7 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.0161/1.102, allocations: 3.922 MB / 1.052 GB, free: 152.8 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/1.106, allocations: 1.136 MB / 1.053 GB, free: 151.8 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.118, allocations: 6.834 MB / 1.059 GB, free: 144.9 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.119, allocations: 2.231 MB / 1.062 GB, free: 142.7 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001853/1.121, allocations: 0.5102 MB / 1.062 GB, free: 142.2 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000603/1.122, allocations: 183.4 kB / 1.062 GB, free: 142 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.002e-06/1.122, allocations: 0 / 1.062 GB, free: 142 MB / 0.7481 GB
Notification: Performance of Templates: time 0.09282/1.214, allocations: 78.39 MB / 1.139 GB, free: 64.64 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 9.404624914750457]
Failed to read output from testmodel.py, exit status != 0:
1.2222648728638887 1.231084178 0.949667644
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f65ac6b97b0>