Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001264/0.001264, 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.001486/0.001486, allocations: 189.3 kB / 22.22 MB, free: 5.105 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.389/1.389, 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.002511/0.002511, allocations: 290.5 kB / 306.6 MB, free: 8.34 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.178/1.178, allocations: 180.9 MB / 0.53 GB, free: 14.46 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad")
translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 105.2 kB / 0.7308 GB, free: 38.7 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1619, allocations: 94.2 MB / 0.8228 GB, free: 1.91 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005113/0.167, allocations: 3.166 MB / 0.8259 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.003281/0.1703, allocations: 1.976 MB / 0.8278 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1704, allocations: 7.938 kB / 0.8278 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009661/0.1714, allocations: 301.3 kB / 0.8281 GB, free: 12.44 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.1718, allocations: 195.1 kB / 0.8283 GB, free: 12.25 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.1724, allocations: 243.3 kB / 0.8286 GB, free: 12.01 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.000481/0.1729, allocations: 330.7 kB / 0.8289 GB, free: 11.68 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.1732, allocations: 129.2 kB / 0.829 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.1734, allocations: 139.5 kB / 0.8291 GB, free: 11.41 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.1737, allocations: 159.4 kB / 0.8293 GB, free: 11.26 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.1737, allocations: 24 kB / 0.8293 GB, free: 11.23 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.1744, allocations: 407.2 kB / 0.8297 GB, free: 10.84 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1745, allocations: 87.73 kB / 0.8298 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.1746, allocations: 123.5 kB / 0.8299 GB, free: 10.63 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006583/0.1753, allocations: 494.2 kB / 0.8304 GB, free: 10.14 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1753, allocations: 0 / 0.8304 GB, free: 10.14 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.1753, allocations: 0 / 0.8304 GB, free: 10.14 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.49e-06/0.1753, allocations: 0 / 0.8304 GB, free: 10.14 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: 55
 * Number of variables: 55
Notification: Performance of Generate backend data structure: time 0.0008963/0.1762, allocations: 0.4932 MB / 0.8308 GB, free: 9.617 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1762, allocations: 8.031 kB / 0.8309 GB, free: 9.609 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008348/0.177, allocations: 116.7 kB / 0.831 GB, free: 9.496 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1774, allocations: 208.5 kB / 0.8312 GB, free: 9.27 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1774, allocations: 16.8 kB / 0.8312 GB, free: 9.254 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.1775, allocations: 16.38 kB / 0.8312 GB, free: 9.238 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.178, allocations: 357 kB / 0.8315 GB, free: 8.871 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.178, allocations: 0 / 0.8315 GB, free: 8.871 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.1781, allocations: 11.94 kB / 0.8315 GB, free: 8.859 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.1781, allocations: 24.42 kB / 0.8316 GB, free: 8.836 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.1786, allocations: 297.5 kB / 0.8319 GB, free: 8.543 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1808, allocations: 1.623 MB / 0.8334 GB, free: 6.781 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.1813, allocations: 248.9 kB / 0.8337 GB, free: 6.52 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1815, allocations: 100.9 kB / 0.8338 GB, free: 6.418 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.73e-05/0.1816, allocations: 19.91 kB / 0.8338 GB, free: 6.398 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1816, allocations: 38.56 kB / 0.8338 GB, free: 6.352 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1816, allocations: 0 / 0.8338 GB, free: 6.352 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=23): time 0.00253/0.1841, allocations: 0.8943 MB / 0.8347 GB, free: 5.438 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1842, allocations: 85.05 kB / 0.8348 GB, free: 5.336 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1844, allocations: 217 kB / 0.835 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1845, allocations: 29.7 kB / 0.835 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1846, allocations: 172.5 kB / 0.8352 GB, free: 4.906 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.1847, allocations: 87.27 kB / 0.8353 GB, free: 4.82 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.1848, allocations: 65.64 kB / 0.8353 GB, free: 4.75 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001456/0.1849, allocations: 326.8 kB / 0.8356 GB, free: 4.422 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1851, allocations: 131.9 kB / 0.8358 GB, free: 4.293 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.1854, allocations: 211.1 kB / 0.836 GB, free: 4.055 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.1859, allocations: 366.5 kB / 0.8363 GB, free: 3.664 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1859, allocations: 4 kB / 0.8363 GB, free: 3.66 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009101/0.1868, allocations: 0.5039 MB / 0.8368 GB, free: 3.141 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1868, allocations: 12 kB / 0.8368 GB, free: 3.129 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1868, allocations: 4 kB / 0.8368 GB, free: 3.125 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.1874, allocations: 151.2 kB / 0.837 GB, free: 2.965 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1876, allocations: 55.91 kB / 0.837 GB, free: 2.91 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.191, allocations: 3.996 MB / 0.8409 GB, free: 14.63 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.1912, allocations: 15.98 kB / 0.8409 GB, free: 14.62 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.1913, allocations: 12 kB / 0.841 GB, free: 14.61 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * 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 (32):
 * Single equations (assignments): 28
 * 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): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.1915, allocations: 169.8 kB / 0.8411 GB, free: 14.43 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.1915, allocations: 23.86 kB / 0.8411 GB, free: 14.41 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.1925, allocations: 474.5 kB / 0.8416 GB, free: 13.93 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1925, allocations: 4 kB / 0.8416 GB, free: 13.92 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1925, allocations: 0 / 0.8416 GB, free: 13.92 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1925, allocations: 0 / 0.8416 GB, free: 13.92 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.1941, allocations: 0.9736 MB / 0.8425 GB, free: 12.86 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1941, allocations: 4 kB / 0.8425 GB, free: 12.86 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1943, allocations: 32.17 kB / 0.8426 GB, free: 12.83 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/0.1947, allocations: 151.2 kB / 0.8427 GB, free: 12.67 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1947, allocations: 8 kB / 0.8427 GB, free: 12.66 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/0.1979, allocations: 3.96 MB / 0.8466 GB, free: 8.418 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1979, allocations: 7.938 kB / 0.8466 GB, free: 8.41 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.1988, allocations: 0.619 MB / 0.8472 GB, free: 7.738 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.199, allocations: 55.83 kB / 0.8473 GB, free: 7.684 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.199, allocations: 11.94 kB / 0.8473 GB, free: 7.672 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1992, allocations: 15.98 kB / 0.8473 GB, free: 7.656 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.1993, allocations: 27.89 kB / 0.8473 GB, free: 7.629 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1993, allocations: 8 kB / 0.8473 GB, free: 7.621 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0001556/0.1995, allocations: 157.5 kB / 0.8475 GB, free: 7.469 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.1995, allocations: 4 kB / 0.8475 GB, free: 7.465 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0005219/0.2, allocations: 87.92 kB / 0.8476 GB, free: 7.379 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * 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 (21):
 * Single equations (assignments): 17
 * 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): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002003/0.2002, allocations: 128.1 kB / 0.8477 GB, free: 7.242 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.001024/0.2012, allocations: 0.5672 MB / 0.8482 GB, free: 6.652 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2012, allocations: 4 kB / 0.8482 GB, free: 6.648 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005499/0.2018, allocations: 390.1 kB / 0.8486 GB, free: 6.242 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.2023, allocations: 49.31 kB / 0.8487 GB, free: 6.195 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2034, allocations: 0.6323 MB / 0.8493 GB, free: 5.512 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.2038, allocations: 0.787 MB / 0.85 GB, free: 4.699 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0001594/0.204, allocations: 58.25 kB / 0.8501 GB, free: 4.645 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.204, allocations: 19.44 kB / 0.8501 GB, free: 4.625 MB / 0.5919 GB
Notification: Performance of SimCode: time 4.91e-07/0.204, allocations: 0 / 0.8501 GB, free: 4.625 MB / 0.5919 GB
Notification: Performance of Templates: time 0.009298/0.2133, allocations: 4.459 MB / 0.8545 GB, free: 204 kB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.105110479518771]
Failed to read output from testmodel.py, exit status != 0:
0.22086856048554182 0.23595209700000003 0.057696695000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f45949e97b0>