Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001712/0.001712, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.001849/0.001849, allocations: 192.7 kB / 22.23 MB, free: 5.227 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.002503/0.002503, allocations: 283.5 kB / 306.5 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.225/1.225, allocations: 180.9 MB / 0.53 GB, free: 14.41 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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance")
translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 107.8 kB / 0.7308 GB, free: 38.8 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.155, allocations: 94.2 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005706/0.1607, allocations: 3.848 MB / 0.8266 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.003191/0.1639, allocations: 1.851 MB / 0.8284 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1641, allocations: 19.81 kB / 0.8284 GB, free: 12.09 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.1651, allocations: 274.6 kB / 0.8287 GB, free: 11.82 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.000713/0.1658, allocations: 310.5 kB / 0.829 GB, free: 11.52 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.1664, allocations: 262.1 kB / 0.8292 GB, free: 11.27 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0007799/0.1672, allocations: 0.6013 MB / 0.8298 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.1675, allocations: 198.8 kB / 0.83 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.1679, allocations: 251 kB / 0.8302 GB, free: 10.21 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.1682, allocations: 246.9 kB / 0.8305 GB, free: 9.969 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.1683, allocations: 28 kB / 0.8305 GB, free: 9.941 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.1688, allocations: 275.4 kB / 0.8308 GB, free: 9.672 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1689, allocations: 123.6 kB / 0.8309 GB, free: 9.551 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1691, allocations: 218.8 kB / 0.8311 GB, free: 9.336 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.1699, allocations: 0.5836 MB / 0.8317 GB, free: 8.75 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1699, allocations: 3.938 kB / 0.8317 GB, free: 8.746 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.332e-06/0.1699, allocations: 4 kB / 0.8317 GB, free: 8.742 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.12e-05/0.1699, allocations: 0 / 0.8317 GB, free: 8.742 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: 85
 * Number of variables: 85
Notification: Performance of Generate backend data structure: time 0.001181/0.1711, allocations: 0.6681 MB / 0.8323 GB, free: 8.043 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1711, allocations: 12.03 kB / 0.8323 GB, free: 8.031 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/0.172, allocations: 140.4 kB / 0.8325 GB, free: 7.895 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.1725, allocations: 353.3 kB / 0.8328 GB, free: 7.523 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.1726, allocations: 25.02 kB / 0.8328 GB, free: 7.5 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.1726, allocations: 28.38 kB / 0.8329 GB, free: 7.473 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.1735, allocations: 0.5511 MB / 0.8334 GB, free: 6.848 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1735, allocations: 4 kB / 0.8334 GB, free: 6.844 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.1736, allocations: 15.98 kB / 0.8334 GB, free: 6.828 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-05/0.1736, allocations: 44.56 kB / 0.8335 GB, free: 6.785 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.1744, allocations: 410.1 kB / 0.8339 GB, free: 6.383 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.1776, allocations: 3.267 MB / 0.837 GB, free: 2.879 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.1783, allocations: 318.4 kB / 0.8373 GB, free: 2.559 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.1786, allocations: 160.8 kB / 0.8375 GB, free: 2.398 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1786, allocations: 4 kB / 0.8375 GB, free: 2.395 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1786, allocations: 30.56 kB / 0.8375 GB, free: 2.355 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.1786, allocations: 0 / 0.8375 GB, free: 2.355 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=27): time 0.002085/0.1807, allocations: 0.8415 MB / 0.8384 GB, free: 1.5 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1808, allocations: 59.64 kB / 0.8384 GB, free: 1.43 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1811, allocations: 345.5 kB / 0.8387 GB, free: 1.086 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1812, allocations: 29.7 kB / 0.8388 GB, free: 1.051 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1813, allocations: 252.1 kB / 0.839 GB, free: 0.8008 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.1814, allocations: 103.2 kB / 0.8391 GB, free: 0.6992 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1816, allocations: 70.09 kB / 0.8392 GB, free: 0.625 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001644/0.1817, allocations: 350.8 kB / 0.8395 GB, free: 280 kB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.182, allocations: 148.8 kB / 0.8397 GB, free: 132 kB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.1824, allocations: 291.7 kB / 0.8399 GB, free: 15.78 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.1832, allocations: 484.6 kB / 0.8404 GB, free: 15.24 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1832, allocations: 0 / 0.8404 GB, free: 15.24 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.001065/0.1843, allocations: 0.5745 MB / 0.841 GB, free: 14.65 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1843, allocations: 4 kB / 0.841 GB, free: 14.65 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1843, allocations: 8 kB / 0.841 GB, free: 14.64 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.1846, allocations: 82.95 kB / 0.841 GB, free: 14.55 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.185, allocations: 87.88 kB / 0.8411 GB, free: 14.46 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.185, allocations: 11.94 kB / 0.8411 GB, free: 14.45 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1852, allocations: 35.91 kB / 0.8412 GB, free: 14.42 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.1853, allocations: 16 kB / 0.8412 GB, free: 14.4 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 21
 * 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 (45):
 * Single equations (assignments): 42
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 3
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 3 systems
   {(2,100.0%), (2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.1855, allocations: 180.7 kB / 0.8414 GB, free: 14.22 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1856, allocations: 39.77 kB / 0.8414 GB, free: 14.18 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009609/0.1865, allocations: 472.5 kB / 0.8418 GB, free: 13.7 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1865, allocations: 7.938 kB / 0.8419 GB, free: 13.7 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1865, allocations: 0 / 0.8419 GB, free: 13.7 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1865, allocations: 3.984 kB / 0.8419 GB, free: 13.69 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.1881, allocations: 0.9315 MB / 0.8428 GB, free: 12.7 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1881, allocations: 0 / 0.8428 GB, free: 12.7 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.1883, allocations: 55.89 kB / 0.8428 GB, free: 12.64 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.1886, allocations: 78.52 kB / 0.8429 GB, free: 12.55 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1886, allocations: 8.094 kB / 0.8429 GB, free: 12.55 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.1886, allocations: 7.984 kB / 0.8429 GB, free: 12.54 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1886, allocations: 0 / 0.8429 GB, free: 12.54 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.1895, allocations: 0.5353 MB / 0.8434 GB, free: 11.97 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.1897, allocations: 67.67 kB / 0.8435 GB, free: 11.9 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.1897, allocations: 11.97 kB / 0.8435 GB, free: 11.89 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.19, allocations: 19.98 kB / 0.8435 GB, free: 11.87 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.19, allocations: 23.89 kB / 0.8436 GB, free: 11.85 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.19, allocations: 12 kB / 0.8436 GB, free: 11.84 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0002443/0.1903, allocations: 235.2 kB / 0.8438 GB, free: 11.61 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 1e-07/0.1903, allocations: 4 kB / 0.8438 GB, free: 11.6 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0003987/0.1907, allocations: 84 kB / 0.8439 GB, free: 11.52 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * 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 (25):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 3
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 3 systems
   {(2,100.0%), (2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.1908, allocations: 107.2 kB / 0.844 GB, free: 11.4 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.0008222/0.1916, allocations: 390.7 kB / 0.8443 GB, free: 11.01 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1916, allocations: 4 kB / 0.8444 GB, free: 11.01 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.192, allocations: 197.8 kB / 0.8445 GB, free: 10.81 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.1927, allocations: 136.8 kB / 0.8447 GB, free: 10.68 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1939, allocations: 0.7347 MB / 0.8454 GB, free: 9.906 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.1943, allocations: 0.8195 MB / 0.8462 GB, free: 9.062 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0002199/0.1946, allocations: 87.33 kB / 0.8463 GB, free: 8.977 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.1946, allocations: 31.44 kB / 0.8463 GB, free: 8.949 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.11e-07/0.1946, allocations: 0 / 0.8463 GB, free: 8.949 MB / 0.5919 GB
Notification: Performance of Templates: time 0.01002/0.2047, allocations: 4.973 MB / 0.8512 GB, free: 4.043 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.080673785880208]
Failed to read output from testmodel.py, exit status != 0:
0.21188429929316044 0.226660082 0.053751306000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff3e6add7b0>