Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001262/0.001262, 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.001305/0.001305, 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.424/1.424, 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.002647/0.002647, allocations: 283.9 kB / 306.5 MB, free: 8.336 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.226/1.226, allocations: 180.9 MB / 0.53 GB, free: 14.47 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases")
translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 106.7 kB / 0.7309 GB, free: 38.89 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1622, allocations: 94.19 MB / 0.8228 GB, free: 1.828 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01453/0.1768, allocations: 11.58 MB / 0.8342 GB, free: 6.203 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.01024/0.187, allocations: 5.992 MB / 0.84 GB, free: 196 kB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.1882, allocations: 71.31 kB / 0.8401 GB, free: 124 kB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.004592/0.1928, allocations: 1.798 MB / 0.8418 GB, free: 14.32 MB / 0.5919 GB
Notification: Performance of NFTyping.typeBindings: time 0.003205/0.196, allocations: 1.182 MB / 0.843 GB, free: 13.13 MB / 0.5919 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.1982, allocations: 0.8161 MB / 0.8438 GB, free: 12.32 MB / 0.5919 GB
Notification: Performance of NFFlatten.flatten: time 0.002963/0.2011, allocations: 2.127 MB / 0.8459 GB, free: 10.18 MB / 0.5919 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.2026, allocations: 0.9052 MB / 0.8467 GB, free: 9.254 MB / 0.5919 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.2041, allocations: 0.8719 MB / 0.8476 GB, free: 8.379 MB / 0.5919 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.2057, allocations: 0.9649 MB / 0.8485 GB, free: 7.41 MB / 0.5919 GB
Notification: Performance of NFPackage.collectConstants: time 0.000348/0.2061, allocations: 112 kB / 0.8486 GB, free: 7.301 MB / 0.5919 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.2085, allocations: 1.208 MB / 0.8498 GB, free: 6.09 MB / 0.5919 GB
Notification: Performance of NFScalarize.scalarize: time 0.00072/0.2092, allocations: 0.549 MB / 0.8504 GB, free: 5.539 MB / 0.5919 GB
Notification: Performance of NFVerifyModel.verify: time 0.001151/0.2104, allocations: 0.7927 MB / 0.8511 GB, free: 4.742 MB / 0.5919 GB
Notification: Performance of NFConvertDAE.convert: time 0.003815/0.2142, allocations: 2.432 MB / 0.8535 GB, free: 2.301 MB / 0.5919 GB
Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2142, allocations: 0 / 0.8535 GB, free: 2.301 MB / 0.5919 GB
Notification: Performance of FrontEnd: time 1.983e-06/0.2142, allocations: 0 / 0.8535 GB, free: 2.301 MB / 0.5919 GB
Notification: Performance of Transformations before backend: time 4.274e-05/0.2143, allocations: 0 / 0.8535 GB, free: 2.301 MB / 0.5919 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 369
 * Number of variables: 369
Notification: Performance of Generate backend data structure: time 0.003001/0.2173, allocations: 1.852 MB / 0.8553 GB, free: 416 kB / 0.5919 GB
Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2173, allocations: 8.625 kB / 0.8553 GB, free: 408 kB / 0.5919 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.2216, allocations: 0.671 MB / 0.856 GB, free: 15.72 MB / 0.6075 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.2237, allocations: 0.9173 MB / 0.8569 GB, free: 14.78 MB / 0.6075 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.671e-05/0.2238, allocations: 98.83 kB / 0.857 GB, free: 14.68 MB / 0.6075 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.224, allocations: 128.4 kB / 0.8571 GB, free: 14.55 MB / 0.6075 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/0.2276, allocations: 2.207 MB / 0.8592 GB, free: 12.12 MB / 0.6075 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.2277, allocations: 15.83 kB / 0.8593 GB, free: 12.11 MB / 0.6075 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.2278, allocations: 59.97 kB / 0.8593 GB, free: 12.05 MB / 0.6075 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/0.2281, allocations: 170.3 kB / 0.8595 GB, free: 11.88 MB / 0.6075 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.2313, allocations: 1.867 MB / 0.8613 GB, free: 10 MB / 0.6075 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.2449, allocations: 11.74 MB / 0.8728 GB, free: 13.47 MB / 0.6231 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004288/0.2492, allocations: 1.874 MB / 0.8746 GB, free: 11.58 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.25, allocations: 0.5581 MB / 0.8752 GB, free: 11.02 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.2502, allocations: 24.97 kB / 0.8752 GB, free: 11 MB / 0.6231 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.2502, allocations: 43.56 kB / 0.8752 GB, free: 10.94 MB / 0.6231 GB
Notification: Performance of pre-optimization done (n=103): time 3.276e-06/0.2502, allocations: 0 / 0.8752 GB, free: 10.94 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=110): time 0.006188/0.2564, allocations: 3.129 MB / 0.8783 GB, free: 7.801 MB / 0.6231 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.2565, allocations: 64.41 kB / 0.8783 GB, free: 7.727 MB / 0.6231 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.2578, allocations: 0.9283 MB / 0.8792 GB, free: 6.781 MB / 0.6231 GB
Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.2579, allocations: 45.7 kB / 0.8793 GB, free: 6.73 MB / 0.6231 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005587/0.2584, allocations: 0.7455 MB / 0.88 GB, free: 5.977 MB / 0.6231 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.2588, allocations: 408.6 kB / 0.8804 GB, free: 5.574 MB / 0.6231 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.2592, allocations: 287.4 kB / 0.8807 GB, free: 5.285 MB / 0.6231 GB
Notification: Performance of setup shared object (initialization): time 0.0001223/0.2593, allocations: 301.1 kB / 0.881 GB, free: 4.988 MB / 0.6231 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/0.2603, allocations: 0.6129 MB / 0.8816 GB, free: 4.375 MB / 0.6231 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.2618, allocations: 1.109 MB / 0.8826 GB, free: 3.051 MB / 0.6231 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.2643, allocations: 1.828 MB / 0.8844 GB, free: 1 MB / 0.6231 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.2643, allocations: 12 kB / 0.8844 GB, free: 0.9883 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=195) (initialization): time 0.003559/0.2679, allocations: 2.097 MB / 0.8865 GB, free: 14.86 MB / 0.6387 GB
Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.2679, allocations: 12 kB / 0.8865 GB, free: 14.85 MB / 0.6387 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.2679, allocations: 19.94 kB / 0.8865 GB, free: 14.83 MB / 0.6387 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008173/0.2687, allocations: 259.1 kB / 0.8868 GB, free: 14.55 MB / 0.6387 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.27, allocations: 367.4 kB / 0.8871 GB, free: 14.2 MB / 0.6387 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009505/0.2795, allocations: 10.78 MB / 0.8976 GB, free: 2.5 MB / 0.6387 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.2805, allocations: 123.8 kB / 0.8978 GB, free: 2.379 MB / 0.6387 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.2807, allocations: 75.92 kB / 0.8978 GB, free: 2.305 MB / 0.6387 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 71
 * 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 (187):
 * Single equations (assignments): 179
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 8
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 8 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0007168/0.2814, allocations: 422.5 kB / 0.8982 GB, free: 1.891 MB / 0.6387 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.2817, allocations: 135.2 kB / 0.8984 GB, free: 1.758 MB / 0.6387 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.2847, allocations: 1.677 MB / 0.9 GB, free: 52 kB / 0.6387 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2847, allocations: 12 kB / 0.9 GB, free: 40 kB / 0.6387 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2847, allocations: 3.938 kB / 0.9 GB, free: 36 kB / 0.6387 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.2847, allocations: 7.969 kB / 0.9 GB, free: 28 kB / 0.6387 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005412/0.2901, allocations: 3.256 MB / 0.9032 GB, free: 12.63 MB / 0.6544 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.2901, allocations: 8 kB / 0.9032 GB, free: 12.62 MB / 0.6544 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008328/0.2909, allocations: 219.6 kB / 0.9034 GB, free: 12.41 MB / 0.6544 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007179/0.2917, allocations: 238.7 kB / 0.9036 GB, free: 12.15 MB / 0.6544 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-05/0.2917, allocations: 35.92 kB / 0.9037 GB, free: 12.11 MB / 0.6544 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009325/0.3011, allocations: 10.75 MB / 0.9142 GB, free: 452 kB / 0.6544 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.3011, allocations: 11.94 kB / 0.9142 GB, free: 440 kB / 0.6544 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.3039, allocations: 1.796 MB / 0.9159 GB, free: 14.53 MB / 0.67 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.3044, allocations: 231 kB / 0.9162 GB, free: 14.3 MB / 0.67 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.3046, allocations: 31.98 kB / 0.9162 GB, free: 14.27 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.3052, allocations: 91.88 kB / 0.9163 GB, free: 14.18 MB / 0.67 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.3054, allocations: 100.7 kB / 0.9164 GB, free: 14.08 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.3055, allocations: 32 kB / 0.9164 GB, free: 14.05 MB / 0.67 GB
Notification: Performance of sorting global known variables: time 0.0008201/0.3063, allocations: 0.6216 MB / 0.917 GB, free: 13.42 MB / 0.67 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.3063, allocations: 0 / 0.917 GB, free: 13.42 MB / 0.67 GB
Notification: Performance of remove unused functions: time 0.001268/0.3076, allocations: 392 kB / 0.9174 GB, free: 13.04 MB / 0.67 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 23
 * 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 (109):
 * Single equations (assignments): 101
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 8
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 8 systems
   {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002119/0.3078, allocations: 146.9 kB / 0.9175 GB, free: 12.88 MB / 0.67 GB
Notification: Performance of simCode: created initialization part: time 0.003527/0.3113, allocations: 2.406 MB / 0.9199 GB, free: 10.38 MB / 0.67 GB
Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3113, allocations: 0 / 0.9199 GB, free: 10.38 MB / 0.67 GB
Notification: Performance of simCode: created simulation system equations: time 0.002097/0.3134, allocations: 1.583 MB / 0.9214 GB, free: 8.691 MB / 0.67 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.3149, allocations: 360 kB / 0.9218 GB, free: 8.348 MB / 0.67 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.3193, allocations: 2.805 MB / 0.9245 GB, free: 5.441 MB / 0.67 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.3203, allocations: 1.331 MB / 0.9258 GB, free: 4.078 MB / 0.67 GB
Notification: Performance of simCode: alias equations: time 0.0009143/0.3213, allocations: 351.3 kB / 0.9261 GB, free: 3.73 MB / 0.67 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.3215, allocations: 103.4 kB / 0.9262 GB, free: 3.629 MB / 0.67 GB
Notification: Performance of SimCode: time 6.81e-07/0.3215, allocations: 0 / 0.9262 GB, free: 3.629 MB / 0.67 GB
Notification: Performance of Templates: time 0.03176/0.3533, allocations: 18.44 MB / 0.9443 GB, free: 1.367 MB / 0.6856 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.576778410002589]
Failed to read output from testmodel.py, exit status != 0:
0.36077124811708927 0.37557518300000003 0.15829636400000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0b1e3e57b0>