Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001509/0.001509, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001768/0.001768, allocations: 190.5 kB / 22.23 MB, free: 5.133 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.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.04 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.002465/0.002465, allocations: 290.8 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.212/1.212, allocations: 180.9 MB / 0.53 GB, free: 14.49 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N")
translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 95.44 kB / 0.7309 GB, free: 38.86 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1584, allocations: 94.2 MB / 0.8228 GB, free: 1.836 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04181/0.2002, allocations: 34.8 MB / 0.8568 GB, free: 14.92 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.02429/0.2245, allocations: 15.27 MB / 0.8717 GB, free: 15.61 MB / 0.6231 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.2276, allocations: 202.4 kB / 0.8719 GB, free: 15.41 MB / 0.6231 GB
Notification: Performance of NFTyping.typeComponents: time 0.009771/0.2374, allocations: 3.817 MB / 0.8757 GB, free: 11.59 MB / 0.6231 GB
Notification: Performance of NFTyping.typeBindings: time 0.00865/0.246, allocations: 3.015 MB / 0.8786 GB, free: 8.559 MB / 0.6231 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006074/0.2521, allocations: 2.389 MB / 0.8809 GB, free: 6.168 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.0115/0.2636, allocations: 8.831 MB / 0.8896 GB, free: 13.3 MB / 0.6387 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.008579/0.2722, allocations: 5.088 MB / 0.8945 GB, free: 8.098 MB / 0.6387 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006408/0.2786, allocations: 4.074 MB / 0.8985 GB, free: 4.012 MB / 0.6387 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006748/0.2853, allocations: 4.264 MB / 0.9027 GB, free: 15.73 MB / 0.6544 GB
Notification: Performance of NFPackage.collectConstants: time 0.001685/0.287, allocations: 0.7148 MB / 0.9034 GB, free: 15.02 MB / 0.6544 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.2913, allocations: 1.748 MB / 0.9051 GB, free: 13.27 MB / 0.6544 GB
Notification: Performance of NFScalarize.scalarize: time 0.003395/0.2947, allocations: 2.895 MB / 0.9079 GB, free: 10.37 MB / 0.6544 GB
Notification: Performance of NFVerifyModel.verify: time 0.004778/0.2995, allocations: 3.388 MB / 0.9112 GB, free: 6.965 MB / 0.6544 GB
Notification: Performance of NFConvertDAE.convert: time 0.01284/0.3123, allocations: 11.23 MB / 0.9222 GB, free: 11.7 MB / 0.67 GB
Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3123, allocations: 3.938 kB / 0.9222 GB, free: 11.7 MB / 0.67 GB
Notification: Performance of FrontEnd: time 1.542e-06/0.3123, allocations: 0 / 0.9222 GB, free: 11.7 MB / 0.67 GB
Notification: Performance of Transformations before backend: time 0.000274/0.3126, allocations: 0 / 0.9222 GB, free: 11.7 MB / 0.67 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1338
 * Number of variables: 1338
Notification: Performance of Generate backend data structure: time 0.01342/0.326, allocations: 6.06 MB / 0.9281 GB, free: 5.566 MB / 0.67 GB
Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3261, allocations: 8.625 kB / 0.9281 GB, free: 5.559 MB / 0.67 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/0.3327, allocations: 1.168 MB / 0.9292 GB, free: 4.387 MB / 0.67 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008937/0.3416, allocations: 3.462 MB / 0.9326 GB, free: 0.8359 MB / 0.67 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.342, allocations: 374.4 kB / 0.933 GB, free: 480 kB / 0.67 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.3434, allocations: 0.4883 MB / 0.9335 GB, free: 15.98 MB / 0.6856 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.3616, allocations: 8.005 MB / 0.9413 GB, free: 7.699 MB / 0.6856 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002294/0.3619, allocations: 23.83 kB / 0.9413 GB, free: 7.676 MB / 0.6856 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/0.3633, allocations: 216 kB / 0.9415 GB, free: 7.465 MB / 0.6856 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.3645, allocations: 441.5 kB / 0.9419 GB, free: 7.031 MB / 0.6856 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.378, allocations: 6.089 MB / 0.9479 GB, free: 0.9297 MB / 0.6856 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05515/0.4331, allocations: 34.65 MB / 0.9817 GB, free: 11.09 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.4365, allocations: 1.916 MB / 0.9836 GB, free: 9.172 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002891/0.4393, allocations: 1.748 MB / 0.9853 GB, free: 7.422 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.4395, allocations: 18 kB / 0.9853 GB, free: 7.406 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/0.4396, allocations: 60.5 kB / 0.9854 GB, free: 7.336 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=171): time 3.967e-06/0.4396, allocations: 0 / 0.9854 GB, free: 7.336 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=276): time 0.5217/0.9613, allocations: 38.69 MB / 1.023 GB, free: 168 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.9613, allocations: 77.17 kB / 1.023 GB, free: 167.9 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.9641, allocations: 2.276 MB / 1.025 GB, free: 167.1 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003474/0.9645, allocations: 73.55 kB / 1.026 GB, free: 167 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.9656, allocations: 2.342 MB / 1.028 GB, free: 165.6 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007164/0.9663, allocations: 0.9786 MB / 1.029 GB, free: 164.9 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007898/0.9671, allocations: 0.5128 MB / 1.029 GB, free: 164.7 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 4.296e-05/0.9671, allocations: 309 kB / 1.03 GB, free: 164.4 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.9694, allocations: 1.97 MB / 1.031 GB, free: 163.6 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.972, allocations: 2.602 MB / 1.034 GB, free: 161.8 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004971/0.977, allocations: 4.93 MB / 1.039 GB, free: 158.7 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.977, allocations: 3.75 kB / 1.039 GB, free: 158.7 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=376) (initialization): time 0.01206/0.9891, allocations: 7.653 MB / 1.046 GB, free: 152.9 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.9891, allocations: 12.55 kB / 1.046 GB, free: 152.9 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.9891, allocations: 16 kB / 1.046 GB, free: 152.9 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.008024/0.9971, allocations: 3.222 MB / 1.049 GB, free: 149.6 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.9987, allocations: 405.2 kB / 1.05 GB, free: 149.2 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03473/1.033, allocations: 33.29 MB / 1.082 GB, free: 115.3 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/1.037, allocations: 165.6 kB / 1.083 GB, free: 115.1 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/1.037, allocations: 108 kB / 1.083 GB, free: 115 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 78
 * 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 (202):
 * Single equations (assignments): 196
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002732/1.04, allocations: 1.799 MB / 1.084 GB, free: 113.2 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/1.04, allocations: 345.8 kB / 1.085 GB, free: 112.9 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/1.052, allocations: 7.228 MB / 1.092 GB, free: 105.6 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/1.052, allocations: 28 kB / 1.092 GB, free: 105.5 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.935e-05/1.052, allocations: 31.98 kB / 1.092 GB, free: 105.5 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/1.052, allocations: 15.95 kB / 1.092 GB, free: 105.5 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/1.073, allocations: 12.8 MB / 1.104 GB, free: 92.58 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.073, allocations: 5.719 kB / 1.104 GB, free: 92.58 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008602/1.074, allocations: 231.6 kB / 1.105 GB, free: 92.35 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.007225/1.081, allocations: 2.841 MB / 1.107 GB, free: 89.49 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/1.081, allocations: 56 kB / 1.107 GB, free: 89.44 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03279/1.114, allocations: 32.09 MB / 1.139 GB, free: 56.68 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.114, allocations: 7.938 kB / 1.139 GB, free: 56.68 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.124, allocations: 6.783 MB / 1.145 GB, free: 49.68 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002189/1.127, allocations: 0.7241 MB / 1.146 GB, free: 48.95 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/1.127, allocations: 59.98 kB / 1.146 GB, free: 48.89 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.129, allocations: 167.6 kB / 1.146 GB, free: 48.73 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/1.129, allocations: 273.2 kB / 1.147 GB, free: 48.47 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.13, allocations: 76 kB / 1.147 GB, free: 48.39 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.001667/1.131, allocations: 1.525 MB / 1.148 GB, free: 46.87 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 4.656 kB / 1.148 GB, free: 46.86 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.003776/1.135, allocations: 1.371 MB / 1.149 GB, free: 45.49 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 28
 * 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 (105):
 * Single equations (assignments): 99
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000318/1.135, allocations: 171 kB / 1.15 GB, free: 45.31 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.009402/1.145, allocations: 6.568 MB / 1.156 GB, free: 38.66 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.145, allocations: 0 / 1.156 GB, free: 38.66 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.006591/1.151, allocations: 4.249 MB / 1.16 GB, free: 34.35 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/1.156, allocations: 1.117 MB / 1.161 GB, free: 33.32 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.171, allocations: 10.38 MB / 1.171 GB, free: 22.85 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/1.174, allocations: 3.643 MB / 1.175 GB, free: 19.18 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001826/1.176, allocations: 0.5641 MB / 1.176 GB, free: 18.62 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.176, allocations: 159.4 kB / 1.176 GB, free: 18.46 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.353e-06/1.176, allocations: 0 / 1.176 GB, free: 18.46 MB / 0.7481 GB
Notification: Performance of Templates: time 0.1277/1.304, allocations: 79.48 MB / 1.253 GB, free: 4.129 MB / 0.8106 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 9.118773403577507]
Failed to read output from testmodel.py, exit status != 0:
1.3122095940634608 1.328565077 1.012877418
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3a6a1517b0>