Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001292/0.001292, 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.001321/0.001321, allocations: 193.2 kB / 22.23 MB, free: 5.156 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.41/1.41, allocations: 225.6 MB / 251 MB, free: 12.99 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.002473/0.002473, allocations: 283.1 kB / 306.5 MB, free: 8.32 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.53 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N")
translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 102.8 kB / 0.7309 GB, free: 38.93 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1525, allocations: 94.19 MB / 0.8228 GB, free: 1.773 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0291/0.1816, allocations: 24.44 MB / 0.8467 GB, free: 9.25 MB / 0.5919 GB
Notification: Performance of NFInst.instExpressions: time 0.01191/0.1936, allocations: 6.656 MB / 0.8532 GB, free: 2.574 MB / 0.5919 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.1951, allocations: 131.1 kB / 0.8533 GB, free: 2.445 MB / 0.5919 GB
Notification: Performance of NFTyping.typeComponents: time 0.004168/0.1993, allocations: 1.565 MB / 0.8549 GB, free: 0.875 MB / 0.5919 GB
Notification: Performance of NFTyping.typeBindings: time 0.004257/0.2036, allocations: 1.937 MB / 0.8568 GB, free: 14.93 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.2073, allocations: 1.519 MB / 0.8582 GB, free: 13.41 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 0.008023/0.2153, allocations: 6.908 MB / 0.865 GB, free: 6.484 MB / 0.6075 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.005119/0.2204, allocations: 3.482 MB / 0.8684 GB, free: 2.91 MB / 0.6075 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.2243, allocations: 2.913 MB / 0.8712 GB, free: 15.99 MB / 0.6231 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.005088/0.2294, allocations: 3.739 MB / 0.8749 GB, free: 12.24 MB / 0.6231 GB
Notification: Performance of NFPackage.collectConstants: time 0.000948/0.2303, allocations: 0.5273 MB / 0.8754 GB, free: 11.71 MB / 0.6231 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.2328, allocations: 1.19 MB / 0.8766 GB, free: 10.52 MB / 0.6231 GB
Notification: Performance of NFScalarize.scalarize: time 0.002699/0.2355, allocations: 2.529 MB / 0.879 GB, free: 7.984 MB / 0.6231 GB
Notification: Performance of NFVerifyModel.verify: time 0.003158/0.2386, allocations: 2.532 MB / 0.8815 GB, free: 5.441 MB / 0.6231 GB
Notification: Performance of NFConvertDAE.convert: time 0.009615/0.2482, allocations: 8.542 MB / 0.8898 GB, free: 12.87 MB / 0.6387 GB
Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2482, allocations: 4 kB / 0.8899 GB, free: 12.87 MB / 0.6387 GB
Notification: Performance of FrontEnd: time 1.503e-06/0.2482, allocations: 4 kB / 0.8899 GB, free: 12.86 MB / 0.6387 GB
Notification: Performance of Transformations before backend: time 0.0001847/0.2484, allocations: 0 / 0.8899 GB, free: 12.86 MB / 0.6387 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1053
 * Number of variables: 1053
Notification: Performance of Generate backend data structure: time 0.009212/0.2576, allocations: 4.464 MB / 0.8942 GB, free: 8.344 MB / 0.6387 GB
Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2577, allocations: 8.625 kB / 0.8942 GB, free: 8.336 MB / 0.6387 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00877/0.2665, allocations: 1.711 MB / 0.8959 GB, free: 6.621 MB / 0.6387 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005843/0.2723, allocations: 2.672 MB / 0.8985 GB, free: 3.906 MB / 0.6387 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.2725, allocations: 275.7 kB / 0.8988 GB, free: 3.637 MB / 0.6387 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000821/0.2734, allocations: 364.2 kB / 0.8991 GB, free: 3.281 MB / 0.6387 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.2861, allocations: 7.495 MB / 0.9064 GB, free: 11.52 MB / 0.6544 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/0.2862, allocations: 11.88 kB / 0.9064 GB, free: 11.51 MB / 0.6544 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004656/0.2867, allocations: 163.9 kB / 0.9066 GB, free: 11.35 MB / 0.6544 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006183/0.2873, allocations: 483.3 kB / 0.9071 GB, free: 10.88 MB / 0.6544 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009528/0.2968, allocations: 5.693 MB / 0.9126 GB, free: 5.176 MB / 0.6544 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03504/0.3318, allocations: 31.27 MB / 0.9432 GB, free: 3.121 MB / 0.6856 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.3349, allocations: 2.024 MB / 0.9451 GB, free: 1.086 MB / 0.6856 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/0.338, allocations: 2.1 MB / 0.9472 GB, free: 14.97 MB / 0.7012 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.3381, allocations: 13.31 kB / 0.9472 GB, free: 14.96 MB / 0.7012 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.3382, allocations: 47.88 kB / 0.9472 GB, free: 14.9 MB / 0.7012 GB
Notification: Performance of pre-optimization done (n=146): time 3.086e-06/0.3382, allocations: 0 / 0.9472 GB, free: 14.9 MB / 0.7012 GB
Notification: Performance of matching and sorting (n=251): time 0.6547/0.9929, allocations: 76.72 MB / 1.022 GB, free: 172.6 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.993, allocations: 81.38 kB / 1.022 GB, free: 172.5 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.9956, allocations: 1.671 MB / 1.024 GB, free: 171.6 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003437/0.9959, allocations: 67.05 kB / 1.024 GB, free: 171.5 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0007343/0.9967, allocations: 1.792 MB / 1.026 GB, free: 170.2 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006193/0.9973, allocations: 0.8944 MB / 1.027 GB, free: 169.6 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009126/0.9982, allocations: 488 kB / 1.027 GB, free: 169.3 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 3.434e-05/0.9982, allocations: 301.1 kB / 1.027 GB, free: 169 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/1.001, allocations: 2.728 MB / 1.03 GB, free: 167.6 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/1.004, allocations: 3.332 MB / 1.033 GB, free: 165.4 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006368/1.011, allocations: 6.398 MB / 1.039 GB, free: 161.6 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.011, allocations: 8.297 kB / 1.039 GB, free: 161.6 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=331) (initialization): time 0.02741/1.038, allocations: 14.41 MB / 1.054 GB, free: 148.6 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/1.038, allocations: 16.25 kB / 1.054 GB, free: 148.6 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.038, allocations: 20 kB / 1.054 GB, free: 148.5 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.02633/1.065, allocations: 9.237 MB / 1.063 GB, free: 139.3 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.066, allocations: 303.9 kB / 1.063 GB, free: 139 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06461/1.13, allocations: 51.8 MB / 1.113 GB, free: 86.57 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.134, allocations: 227.6 kB / 1.114 GB, free: 86.35 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/1.134, allocations: 96 kB / 1.114 GB, free: 86.26 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 (157):
 * Single equations (assignments): 151
 * 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
   {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002362/1.136, allocations: 1.59 MB / 1.115 GB, free: 84.66 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/1.137, allocations: 250.6 kB / 1.116 GB, free: 84.41 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02842/1.165, allocations: 14.47 MB / 1.13 GB, free: 69.89 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/1.165, allocations: 27.94 kB / 1.13 GB, free: 69.86 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001492/1.165, allocations: 44 kB / 1.13 GB, free: 69.82 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.434e-05/1.165, allocations: 11.95 kB / 1.13 GB, free: 69.8 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03671/1.202, allocations: 20.22 MB / 1.15 GB, free: 49.45 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.202, allocations: 4 kB / 1.15 GB, free: 49.45 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/1.203, allocations: 166.2 kB / 1.15 GB, free: 49.29 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.02543/1.228, allocations: 8.997 MB / 1.158 GB, free: 40.26 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000356/1.229, allocations: 48 kB / 1.159 GB, free: 40.21 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07035/1.299, allocations: 51.35 MB / 1.209 GB, free: 4.191 MB / 0.7637 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/1.299, allocations: 12.66 kB / 1.209 GB, free: 4.18 MB / 0.7637 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03443/1.333, allocations: 14.09 MB / 1.222 GB, free: 5.949 MB / 0.7794 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002557/1.336, allocations: 0.7909 MB / 1.223 GB, free: 5.156 MB / 0.7794 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/1.337, allocations: 55.92 kB / 1.223 GB, free: 5.102 MB / 0.7794 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.339, allocations: 206.7 kB / 1.223 GB, free: 4.902 MB / 0.7794 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/1.34, allocations: 249.7 kB / 1.224 GB, free: 4.66 MB / 0.7794 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/1.34, allocations: 64 kB / 1.224 GB, free: 4.598 MB / 0.7794 GB
Notification: Performance of sorting global known variables: time 0.001748/1.342, allocations: 1.125 MB / 1.225 GB, free: 3.449 MB / 0.7794 GB
Notification: Performance of sort global known variables: time 1.1e-07/1.342, allocations: 3.938 kB / 1.225 GB, free: 3.445 MB / 0.7794 GB
Notification: Performance of remove unused functions: time 0.004765/1.347, allocations: 1.613 MB / 1.226 GB, free: 1.832 MB / 0.7794 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 (80):
 * Single equations (assignments): 74
 * 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
   {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/1.347, allocations: 167 kB / 1.227 GB, free: 1.66 MB / 0.7794 GB
Notification: Performance of simCode: created initialization part: time 0.02466/1.372, allocations: 10.2 MB / 1.237 GB, free: 7.395 MB / 0.795 GB
Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.372, allocations: 4 kB / 1.237 GB, free: 7.391 MB / 0.795 GB
Notification: Performance of simCode: created simulation system equations: time 0.01977/1.392, allocations: 7.003 MB / 1.243 GB, free: 340 kB / 0.795 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.395, allocations: 0.5449 MB / 1.244 GB, free: 15.8 MB / 0.8106 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/1.411, allocations: 8.925 MB / 1.253 GB, free: 6.824 MB / 0.8106 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004271/1.415, allocations: 3.231 MB / 1.256 GB, free: 3.555 MB / 0.8106 GB
Notification: Performance of simCode: alias equations: time 0.001117/1.416, allocations: 395.3 kB / 1.256 GB, free: 3.164 MB / 0.8106 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/1.416, allocations: 95.44 kB / 1.256 GB, free: 3.07 MB / 0.8106 GB
Notification: Performance of SimCode: time 1.012e-06/1.416, allocations: 0 / 1.256 GB, free: 3.07 MB / 0.8106 GB
Notification: Performance of Templates: time 0.1455/1.562, allocations: 96.09 MB / 1.35 GB, free: 3.312 MB / 0.9044 GB
"
[Timeout remaining time 658]
make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 9.04732192773372]
Failed to read output from testmodel.py, exit status != 0:
1.9762619519606233 1.989092344 1.737568917
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f819df457b0>