Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001301/0.001301, 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.001344/0.001344, allocations: 190.1 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.379/1.379, 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.002568/0.002568, allocations: 288.2 kB / 306.6 MB, free: 8.324 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.191/1.191, allocations: 180.9 MB / 0.53 GB, free: 14.55 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L")
translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 102.3 kB / 0.7308 GB, free: 38.76 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1467, allocations: 94.2 MB / 0.8228 GB, free: 1.82 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008373/0.1551, allocations: 6.329 MB / 0.829 GB, free: 11.46 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.005139/0.1602, allocations: 3.278 MB / 0.8322 GB, free: 8.176 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.1605, allocations: 47.56 kB / 0.8323 GB, free: 8.129 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.002466/0.1629, allocations: 0.961 MB / 0.8332 GB, free: 7.164 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0009608/0.1639, allocations: 497.6 kB / 0.8337 GB, free: 6.676 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1649, allocations: 493.3 kB / 0.8341 GB, free: 6.195 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.001133/0.1661, allocations: 1.1 MB / 0.8352 GB, free: 5.09 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.1668, allocations: 458.8 kB / 0.8357 GB, free: 4.641 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.1673, allocations: 450.4 kB / 0.8361 GB, free: 4.199 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/0.1679, allocations: 0.4981 MB / 0.8366 GB, free: 3.699 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 9.656e-05/0.168, allocations: 64 kB / 0.8366 GB, free: 3.637 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007841/0.1688, allocations: 498.9 kB / 0.8371 GB, free: 3.148 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.000296/0.1691, allocations: 295.2 kB / 0.8374 GB, free: 2.859 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.1695, allocations: 394 kB / 0.8378 GB, free: 2.473 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.001304/0.1708, allocations: 1.183 MB / 0.8389 GB, free: 1.285 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1708, allocations: 0 / 0.8389 GB, free: 1.285 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.443e-06/0.1708, allocations: 0 / 0.8389 GB, free: 1.285 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.467e-05/0.1708, allocations: 0 / 0.8389 GB, free: 1.285 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: 177
 * Number of variables: 177
Notification: Performance of Generate backend data structure: time 0.001636/0.1725, allocations: 1.003 MB / 0.8399 GB, free: 252 kB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1725, allocations: 8.031 kB / 0.8399 GB, free: 244 kB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.174, allocations: 224.2 kB / 0.8401 GB, free: 20 kB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/0.1749, allocations: 0.5165 MB / 0.8406 GB, free: 15.48 MB / 0.5919 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.175, allocations: 53.67 kB / 0.8407 GB, free: 15.42 MB / 0.5919 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.1751, allocations: 56.38 kB / 0.8407 GB, free: 15.37 MB / 0.5919 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.1766, allocations: 1.038 MB / 0.8417 GB, free: 14.21 MB / 0.5919 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.1766, allocations: 7.922 kB / 0.8418 GB, free: 14.21 MB / 0.5919 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.1767, allocations: 31.98 kB / 0.8418 GB, free: 14.18 MB / 0.5919 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.445e-05/0.1768, allocations: 65.28 kB / 0.8418 GB, free: 14.11 MB / 0.5919 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1779, allocations: 0.6996 MB / 0.8425 GB, free: 13.41 MB / 0.5919 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/0.1833, allocations: 5.658 MB / 0.8481 GB, free: 7.34 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.1841, allocations: 414.3 kB / 0.8485 GB, free: 6.93 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/0.185, allocations: 384.6 kB / 0.8488 GB, free: 6.551 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.185, allocations: 4 kB / 0.8488 GB, free: 6.547 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.185, allocations: 38.5 kB / 0.8489 GB, free: 6.5 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=41): time 1.734e-06/0.185, allocations: 0 / 0.8489 GB, free: 6.5 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=42): time 0.004349/0.1894, allocations: 1.714 MB / 0.8505 GB, free: 4.766 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1894, allocations: 55.41 kB / 0.8506 GB, free: 4.699 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.1899, allocations: 458.8 kB / 0.851 GB, free: 4.246 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.1899, allocations: 29.7 kB / 0.8511 GB, free: 4.211 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.1902, allocations: 396.1 kB / 0.8514 GB, free: 3.816 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1904, allocations: 158.6 kB / 0.8516 GB, free: 3.66 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1905, allocations: 110.3 kB / 0.8517 GB, free: 3.547 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001757/0.1907, allocations: 366.8 kB / 0.852 GB, free: 3.18 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.1911, allocations: 241.2 kB / 0.8523 GB, free: 2.941 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.1916, allocations: 453 kB / 0.8527 GB, free: 2.406 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009938/0.1926, allocations: 0.7487 MB / 0.8534 GB, free: 1.562 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1926, allocations: 0 / 0.8534 GB, free: 1.562 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=73) (initialization): time 0.001911/0.1945, allocations: 1.043 MB / 0.8544 GB, free: 0.5 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1946, allocations: 8 kB / 0.8545 GB, free: 0.4922 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1946, allocations: 4 kB / 0.8545 GB, free: 500 kB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.1956, allocations: 335.1 kB / 0.8548 GB, free: 152 kB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.196, allocations: 95.81 kB / 0.8549 GB, free: 56 kB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007595/0.2036, allocations: 7.068 MB / 0.8618 GB, free: 8.52 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.2039, allocations: 28.02 kB / 0.8618 GB, free: 8.492 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.204, allocations: 28 kB / 0.8618 GB, free: 8.465 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 (53):
 * Single equations (assignments): 49
 * 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
   {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.2043, allocations: 242.2 kB / 0.8621 GB, free: 8.219 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2044, allocations: 67.56 kB / 0.8621 GB, free: 8.152 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.2062, allocations: 0.8765 MB / 0.863 GB, free: 7.258 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2062, allocations: 8 kB / 0.863 GB, free: 7.25 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2062, allocations: 4 kB / 0.863 GB, free: 7.246 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2062, allocations: 3.984 kB / 0.863 GB, free: 7.242 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.209, allocations: 1.629 MB / 0.8646 GB, free: 5.531 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.209, allocations: 7.938 kB / 0.8646 GB, free: 5.523 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.2092, allocations: 35.97 kB / 0.8646 GB, free: 5.488 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009566/0.2101, allocations: 315.4 kB / 0.8649 GB, free: 5.168 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.2102, allocations: 8 kB / 0.8649 GB, free: 5.16 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007527/0.2177, allocations: 7.073 MB / 0.8718 GB, free: 13.63 MB / 0.6231 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.2177, allocations: 7.875 kB / 0.8718 GB, free: 13.62 MB / 0.6231 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.2194, allocations: 0.976 MB / 0.8728 GB, free: 12.6 MB / 0.6231 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.2197, allocations: 95.58 kB / 0.8729 GB, free: 12.5 MB / 0.6231 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.2197, allocations: 15.94 kB / 0.8729 GB, free: 12.49 MB / 0.6231 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.22, allocations: 23.97 kB / 0.8729 GB, free: 12.46 MB / 0.6231 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.2201, allocations: 43.86 kB / 0.873 GB, free: 12.42 MB / 0.6231 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.2201, allocations: 12 kB / 0.873 GB, free: 12.41 MB / 0.6231 GB
Notification: Performance of sorting global known variables: time 0.0003381/0.2205, allocations: 306.9 kB / 0.8733 GB, free: 12.11 MB / 0.6231 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2205, allocations: 0 / 0.8733 GB, free: 12.11 MB / 0.6231 GB
Notification: Performance of remove unused functions: time 0.0007226/0.2212, allocations: 196 kB / 0.8735 GB, free: 11.92 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 (23):
 * Single equations (assignments): 19
 * 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
   {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001417/0.2213, allocations: 111.9 kB / 0.8736 GB, free: 11.8 MB / 0.6231 GB
Notification: Performance of simCode: created initialization part: time 0.001895/0.2232, allocations: 1.156 MB / 0.8747 GB, free: 10.59 MB / 0.6231 GB
Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.2232, allocations: 4.125 kB / 0.8747 GB, free: 10.59 MB / 0.6231 GB
Notification: Performance of simCode: created simulation system equations: time 0.001263/0.2245, allocations: 0.8384 MB / 0.8755 GB, free: 9.699 MB / 0.6231 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.2255, allocations: 201.6 kB / 0.8757 GB, free: 9.512 MB / 0.6231 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.2275, allocations: 1.249 MB / 0.8769 GB, free: 8.215 MB / 0.6231 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.2282, allocations: 0.9881 MB / 0.8779 GB, free: 7.199 MB / 0.6231 GB
Notification: Performance of simCode: alias equations: time 0.0002507/0.2284, allocations: 101.2 kB / 0.878 GB, free: 7.098 MB / 0.6231 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.2285, allocations: 35.44 kB / 0.878 GB, free: 7.062 MB / 0.6231 GB
Notification: Performance of SimCode: time 5.31e-07/0.2285, allocations: 0 / 0.878 GB, free: 7.062 MB / 0.6231 GB
Notification: Performance of Templates: time 0.01834/0.2469, allocations: 10.44 MB / 0.8882 GB, free: 12.73 MB / 0.6387 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.17647205106914]
Failed to read output from testmodel.py, exit status != 0:
0.2541138641536236 0.269461174 0.09536264800000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5a4c3dd7b0>