Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002483/0.002483, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00272/0.00272, allocations: 230.4 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.128/1.128, allocations: 138.4 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.482e-05, allocations: 5.828 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01076/0.01079, allocations: 6.443 MB / 0.5606 GB, free: 10.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.01693, allocations: 3.032 MB / 0.5636 GB, free: 7.324 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.01759, allocations: 43.62 kB / 0.5636 GB, free: 7.281 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.02053, allocations: 0.9529 MB / 0.5646 GB, free: 6.324 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.02207, allocations: 0.5396 MB / 0.5651 GB, free: 5.781 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.02339, allocations: 450.8 kB / 0.5655 GB, free: 5.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.02571, allocations: 1.271 MB / 0.5668 GB, free: 4.062 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.02681, allocations: 0.5334 MB / 0.5673 GB, free: 3.523 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.02817, allocations: 0.6624 MB / 0.5679 GB, free: 2.859 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009434/0.02912, allocations: 474.7 kB / 0.5684 GB, free: 2.395 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.02929, allocations: 72 kB / 0.5685 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.03006, allocations: 351.1 kB / 0.5688 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004377/0.0305, allocations: 331 kB / 0.5691 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.03102, allocations: 311.2 kB / 0.5694 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.03286, allocations: 1.258 MB / 0.5706 GB, free: 92 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.03286, allocations: 0 / 0.5706 GB, free: 92 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03286, allocations: 0 / 0.5706 GB, free: 92 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.811e-05/0.0329, allocations: 3.984 kB / 0.5706 GB, free: 88 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002429/0.03533, allocations: 1.1 MB / 0.5717 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.03537, allocations: 12.75 kB / 0.5717 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.03716, allocations: 355.7 kB / 0.5721 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.03829, allocations: 0.5626 MB / 0.5726 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.03834, allocations: 45.69 kB / 0.5727 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.03848, allocations: 68.36 kB / 0.5727 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.04061, allocations: 1.344 MB / 0.574 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.04063, allocations: 8.125 kB / 0.574 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.04072, allocations: 32.38 kB / 0.5741 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.0409, allocations: 85.19 kB / 0.5742 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.04233, allocations: 0.7543 MB / 0.5749 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005766/0.04809, allocations: 4.523 MB / 0.5793 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.04921, allocations: 0.5098 MB / 0.5798 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.04977, allocations: 282.2 kB / 0.5801 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.04981, allocations: 16.48 kB / 0.5801 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.04986, allocations: 43.06 kB / 0.5801 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.04986, allocations: 0 / 0.5801 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.004268/0.05413, allocations: 1.689 MB / 0.5818 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.05418, allocations: 59.91 kB / 0.5818 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/0.05489, allocations: 0.5144 MB / 0.5823 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.05494, allocations: 33.7 kB / 0.5824 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.05532, allocations: 435.8 kB / 0.5828 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.0555, allocations: 178.5 kB / 0.583 GB, free: 3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.05572, allocations: 122.6 kB / 0.5831 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.05596, allocations: 370.8 kB / 0.5834 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.05644, allocations: 273.8 kB / 0.5837 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/0.05713, allocations: 492.9 kB / 0.5842 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.05843, allocations: 0.8125 MB / 0.585 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.05844, allocations: 8 kB / 0.585 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002194/0.06063, allocations: 1.101 MB / 0.586 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.06065, allocations: 8 kB / 0.586 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.06067, allocations: 8.875 kB / 0.5861 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.06234, allocations: 371 kB / 0.5864 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.06287, allocations: 127.8 kB / 0.5865 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/0.07111, allocations: 6.625 MB / 0.593 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.07169, allocations: 35.97 kB / 0.593 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.07177, allocations: 31.94 kB / 0.5931 GB, free: 8.004 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.07218, allocations: 257.5 kB / 0.5933 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.07237, allocations: 87.58 kB / 0.5934 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.07431, allocations: 0.878 MB / 0.5942 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.07432, allocations: 4 kB / 0.5943 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.07433, allocations: 4 kB / 0.5943 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.07434, allocations: 3.984 kB / 0.5943 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.07732, allocations: 1.525 MB / 0.5957 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.07732, allocations: 4 kB / 0.5958 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.07761, allocations: 59.89 kB / 0.5958 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.07919, allocations: 359.2 kB / 0.5962 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.07924, allocations: 12 kB / 0.5962 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1893/0.2686, allocations: 6.595 MB / 0.6026 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.2686, allocations: 4.375 kB / 0.6026 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.2701, allocations: 0.9919 MB / 0.6036 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.2704, allocations: 113.1 kB / 0.6037 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.2706, allocations: 13.28 kB / 0.6037 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.271, allocations: 25.23 kB / 0.6037 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.2711, allocations: 50.83 kB / 0.6038 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.2712, allocations: 17.59 kB / 0.6038 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003707/0.2715, allocations: 344.6 kB / 0.6041 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2715, allocations: 3.438 kB / 0.6041 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008523/0.2724, allocations: 225.8 kB / 0.6043 GB, free: 96.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.2725, allocations: 110.8 kB / 0.6044 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.2742, allocations: 1.234 MB / 0.6056 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.2742, allocations: 5.312 kB / 0.6057 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.2753, allocations: 0.8665 MB / 0.6065 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2763, allocations: 191.4 kB / 0.6067 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.2782, allocations: 1.364 MB / 0.608 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.2786, allocations: 418.7 kB / 0.6084 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.279, allocations: 117.2 kB / 0.6085 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2791, allocations: 40.33 kB / 0.6086 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/0.2791, allocations: 1.156 kB / 0.6086 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.01998/0.2991, allocations: 11.36 MB / 0.6197 GB, free: 94.02 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.181097598047927]