Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001269/0.001269, 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.001358/0.001358, allocations: 188.9 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.359/1.359, 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.002475/0.002475, allocations: 299.3 kB / 306.6 MB, free: 8.305 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.188/1.188, allocations: 180.9 MB / 0.53 GB, free: 14.4 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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance")
translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 106.3 kB / 0.7308 GB, free: 38.89 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1507, allocations: 94.19 MB / 0.8228 GB, free: 1.793 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006927/0.1577, allocations: 4.989 MB / 0.8277 GB, free: 12.78 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.004326/0.162, allocations: 2.53 MB / 0.8302 GB, free: 10.24 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004231/0.1624, allocations: 35.62 kB / 0.8302 GB, free: 10.21 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1637, allocations: 417.9 kB / 0.8306 GB, free: 9.797 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1648, allocations: 461.7 kB / 0.831 GB, free: 9.344 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.1657, allocations: 386.2 kB / 0.8314 GB, free: 8.969 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.001207/0.1669, allocations: 0.9216 MB / 0.8323 GB, free: 8.043 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.1674, allocations: 263.4 kB / 0.8326 GB, free: 7.777 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.1678, allocations: 354.6 kB / 0.8329 GB, free: 7.43 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.1683, allocations: 362.5 kB / 0.8333 GB, free: 7.074 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.1684, allocations: 40 kB / 0.8333 GB, free: 7.035 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.1691, allocations: 415 kB / 0.8337 GB, free: 6.629 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.1693, allocations: 187.3 kB / 0.8339 GB, free: 6.445 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.1696, allocations: 322.2 kB / 0.8342 GB, free: 6.129 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1707, allocations: 0.8793 MB / 0.835 GB, free: 5.246 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1707, allocations: 0 / 0.835 GB, free: 5.246 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 3.136e-06/0.1707, allocations: 4 kB / 0.835 GB, free: 5.242 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 8.827e-06/0.1707, allocations: 4 kB / 0.835 GB, free: 5.238 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: 129
 * Number of variables: 129
Notification: Performance of Generate backend data structure: time 0.001425/0.1721, allocations: 0.8779 MB / 0.8359 GB, free: 4.328 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1722, allocations: 19.97 kB / 0.8359 GB, free: 4.309 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.1734, allocations: 204.3 kB / 0.8361 GB, free: 4.109 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008198/0.1742, allocations: 480.8 kB / 0.8366 GB, free: 3.617 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.1743, allocations: 33.36 kB / 0.8366 GB, free: 3.582 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.1744, allocations: 44.38 kB / 0.8366 GB, free: 3.539 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1755, allocations: 0.8523 MB / 0.8375 GB, free: 2.551 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.1755, allocations: 11.92 kB / 0.8375 GB, free: 2.539 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.1756, allocations: 23.98 kB / 0.8375 GB, free: 2.516 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.947e-05/0.1757, allocations: 68.95 kB / 0.8376 GB, free: 2.449 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008646/0.1766, allocations: 0.5656 MB / 0.8381 GB, free: 1.883 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/0.1813, allocations: 5.574 MB / 0.8436 GB, free: 11.93 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.182, allocations: 430.3 kB / 0.844 GB, free: 11.5 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.1823, allocations: 200.7 kB / 0.8442 GB, free: 11.3 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1823, allocations: 4 kB / 0.8442 GB, free: 11.3 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1823, allocations: 30.56 kB / 0.8442 GB, free: 11.26 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=32): time 1.522e-06/0.1823, allocations: 0 / 0.8442 GB, free: 11.26 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=33): time 0.002455/0.1848, allocations: 1.13 MB / 0.8453 GB, free: 10.11 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1848, allocations: 55.69 kB / 0.8454 GB, free: 10.04 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.1854, allocations: 0.4989 MB / 0.8458 GB, free: 9.527 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.1854, allocations: 29.7 kB / 0.8459 GB, free: 9.492 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.1857, allocations: 363.8 kB / 0.8462 GB, free: 9.133 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.1858, allocations: 126.9 kB / 0.8463 GB, free: 9.008 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1859, allocations: 114.2 kB / 0.8465 GB, free: 8.891 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001718/0.1861, allocations: 358.8 kB / 0.8468 GB, free: 8.531 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.1864, allocations: 197.2 kB / 0.847 GB, free: 8.336 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.1869, allocations: 447 kB / 0.8474 GB, free: 7.785 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008864/0.1878, allocations: 0.6954 MB / 0.8481 GB, free: 6.973 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1878, allocations: 3.938 kB / 0.8481 GB, free: 6.969 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=71) (initialization): time 0.001348/0.1891, allocations: 0.8094 MB / 0.8489 GB, free: 6.137 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1892, allocations: 8 kB / 0.8489 GB, free: 6.129 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.1892, allocations: 11.98 kB / 0.8489 GB, free: 6.117 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.1897, allocations: 152.8 kB / 0.849 GB, free: 5.953 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.1901, allocations: 123.8 kB / 0.8492 GB, free: 5.832 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.1937, allocations: 4.047 MB / 0.8531 GB, free: 1.445 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.1941, allocations: 35.97 kB / 0.8532 GB, free: 1.41 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.1941, allocations: 32.14 kB / 0.8532 GB, free: 1.379 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 38
 * 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 (66):
 * Single equations (assignments): 61
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.1944, allocations: 214.2 kB / 0.8534 GB, free: 1.16 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.552e-05/0.1945, allocations: 59.62 kB / 0.8534 GB, free: 1.102 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.1955, allocations: 0.5968 MB / 0.854 GB, free: 492 kB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1955, allocations: 4 kB / 0.854 GB, free: 488 kB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1955, allocations: 4 kB / 0.854 GB, free: 484 kB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1955, allocations: 3.984 kB / 0.854 GB, free: 480 kB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.1975, allocations: 1.234 MB / 0.8552 GB, free: 15.15 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.1975, allocations: 4 kB / 0.8552 GB, free: 15.14 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.1978, allocations: 55.89 kB / 0.8553 GB, free: 15.09 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/0.1982, allocations: 144.4 kB / 0.8554 GB, free: 14.93 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1982, allocations: 11.94 kB / 0.8554 GB, free: 14.92 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.2016, allocations: 4.03 MB / 0.8594 GB, free: 10.55 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2016, allocations: 4.031 kB / 0.8594 GB, free: 10.55 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2027, allocations: 0.7124 MB / 0.8601 GB, free: 9.781 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.2029, allocations: 91.58 kB / 0.8602 GB, free: 9.691 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.203, allocations: 8 kB / 0.8602 GB, free: 9.684 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.2032, allocations: 23.97 kB / 0.8602 GB, free: 9.66 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.2033, allocations: 35.88 kB / 0.8602 GB, free: 9.625 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.2033, allocations: 15.94 kB / 0.8603 GB, free: 9.609 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 0.0003649/0.2037, allocations: 330.8 kB / 0.8606 GB, free: 9.289 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 7e-08/0.2037, allocations: 4 kB / 0.8606 GB, free: 9.285 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.0005988/0.2043, allocations: 140 kB / 0.8607 GB, free: 9.148 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * 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 (29):
 * Single equations (assignments): 24
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.2044, allocations: 110.6 kB / 0.8608 GB, free: 9.031 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 0.001386/0.2058, allocations: 0.8553 MB / 0.8616 GB, free: 8.133 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2058, allocations: 4.125 kB / 0.8616 GB, free: 8.129 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.2066, allocations: 0.5806 MB / 0.8622 GB, free: 7.504 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.2076, allocations: 203.5 kB / 0.8624 GB, free: 7.312 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2092, allocations: 1.049 MB / 0.8634 GB, free: 6.211 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.2097, allocations: 0.9058 MB / 0.8643 GB, free: 5.277 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 0.0002918/0.21, allocations: 121.3 kB / 0.8644 GB, free: 5.156 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.2101, allocations: 39.44 kB / 0.8645 GB, free: 5.117 MB / 0.6075 GB
Notification: Performance of SimCode: time 3.01e-07/0.2101, allocations: 0 / 0.8645 GB, free: 5.117 MB / 0.6075 GB
Notification: Performance of Templates: time 0.01493/0.225, allocations: 8.052 MB / 0.8723 GB, free: 13.16 MB / 0.6231 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.093120226636529]
Failed to read output from testmodel.py, exit status != 0:
0.23276088666170835 0.24787140799999996 0.074098813
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa4f84417b0>