Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001243/0.001243, allocations: 93.06 kB / 19.65 MB, free: 276 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.001042/0.001042, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.8808/0.8808, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.001689/0.001689, allocations: 233.6 kB / 260.2 MB, free: 12.84 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 0.733/0.733, allocations: 138.4 MB / 455.2 MB, free: 29.87 MB / 410.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5551 GB, free: 156 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.036e-05, allocations: 2.312 kB / 0.5551 GB, free: 152 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005623/0.005643, allocations: 4.211 MB / 0.5592 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.008475, allocations: 1.559 MB / 0.5607 GB, free: 10.35 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.008837, allocations: 47.56 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000822/0.009659, allocations: 186.7 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007612/0.01042, allocations: 413.4 kB / 0.5614 GB, free: 9.715 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.01095, allocations: 383.2 kB / 0.5617 GB, free: 9.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009913/0.01194, allocations: 1.147 MB / 0.5628 GB, free: 8.191 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006906/0.01263, allocations: 0.5061 MB / 0.5633 GB, free: 7.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.01335, allocations: 0.6079 MB / 0.5639 GB, free: 7.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005437/0.01389, allocations: 458.8 kB / 0.5644 GB, free: 6.621 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.296e-05/0.01397, allocations: 60 kB / 0.5644 GB, free: 6.562 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.01417, allocations: 131.7 kB / 0.5645 GB, free: 6.434 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.01437, allocations: 311.1 kB / 0.5648 GB, free: 6.129 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.01465, allocations: 271.3 kB / 0.5651 GB, free: 5.863 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.01527, allocations: 0.6656 MB / 0.5658 GB, free: 5.195 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01527, allocations: 0 / 0.5658 GB, free: 5.195 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01527, allocations: 0 / 0.5658 GB, free: 5.195 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.01528, allocations: 8 kB / 0.5658 GB, free: 5.188 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009611/0.01625, allocations: 1.052 MB / 0.5668 GB, free: 4.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.01628, allocations: 8.75 kB / 0.5668 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.01716, allocations: 311.7 kB / 0.5671 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.01771, allocations: 0.5485 MB / 0.5676 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.01773, allocations: 41.69 kB / 0.5677 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.01781, allocations: 76.3 kB / 0.5677 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.01857, allocations: 0.8936 MB / 0.5686 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.01859, allocations: 16.06 kB / 0.5686 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.01863, allocations: 24.38 kB / 0.5687 GB, free: 1.992 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/0.0187, allocations: 77.2 kB / 0.5687 GB, free: 1.918 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.01914, allocations: 335.2 kB / 0.569 GB, free: 1.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.02223, allocations: 5.642 MB / 0.5746 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.02261, allocations: 256.5 kB / 0.5748 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.02297, allocations: 247.5 kB / 0.575 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.02299, allocations: 8 kB / 0.575 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.02302, allocations: 45.38 kB / 0.5751 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 1.744e-06/0.02302, allocations: 0 / 0.5751 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.001908/0.02493, allocations: 1.144 MB / 0.5762 GB, free: 10 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.02495, allocations: 59.34 kB / 0.5763 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.02525, allocations: 486.4 kB / 0.5767 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.02527, allocations: 33.7 kB / 0.5768 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.02547, allocations: 442.7 kB / 0.5772 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.02591, allocations: 154.7 kB / 0.5773 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.02603, allocations: 123.8 kB / 0.5774 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.02618, allocations: 0.5313 MB / 0.578 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.02631, allocations: 101.2 kB / 0.5781 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.0266, allocations: 405.5 kB / 0.5784 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.02707, allocations: 0.5487 MB / 0.579 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.02708, allocations: 0 / 0.579 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008886/0.02797, allocations: 0.7297 MB / 0.5797 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.02798, allocations: 8 kB / 0.5797 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.02799, allocations: 8 kB / 0.5797 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.02862, allocations: 262.7 kB / 0.58 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.02881, allocations: 95.81 kB / 0.5801 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.03286, allocations: 7.724 MB / 0.5876 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.03303, allocations: 31.97 kB / 0.5876 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.03305, allocations: 24 kB / 0.5877 GB, free: 13.42 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.03318, allocations: 200.3 kB / 0.5878 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.03324, allocations: 67.67 kB / 0.5879 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008244/0.03407, allocations: 0.5752 MB / 0.5885 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.03407, allocations: 4 kB / 0.5885 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.03408, allocations: 8 kB / 0.5885 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.03408, allocations: 3.938 kB / 0.5885 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.03525, allocations: 1.149 MB / 0.5896 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.03526, allocations: 4 kB / 0.5896 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.03534, allocations: 35.97 kB / 0.5896 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005165/0.03586, allocations: 250.9 kB / 0.5899 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.03588, allocations: 8 kB / 0.5899 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/0.03978, allocations: 7.713 MB / 0.5974 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.03978, allocations: 4 kB / 0.5974 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.0408, allocations: 0.7387 MB / 0.5981 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.04091, allocations: 95.56 kB / 0.5982 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.04094, allocations: 11.98 kB / 0.5983 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.04106, allocations: 19.98 kB / 0.5983 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.04115, allocations: 43.86 kB / 0.5983 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.04117, allocations: 12 kB / 0.5983 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001682/0.04134, allocations: 298.8 kB / 0.5986 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.04134, allocations: 4 kB / 0.5986 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004632/0.0418, allocations: 200 kB / 0.5988 GB, free: 1.316 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.04191, allocations: 103.2 kB / 0.5989 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009706/0.04288, allocations: 1.152 MB / 0.6 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.04288, allocations: 0 / 0.6 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.04347, allocations: 0.9481 MB / 0.601 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.04403, allocations: 198 kB / 0.6011 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.04549, allocations: 1.179 MB / 0.6023 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.04576, allocations: 210.2 kB / 0.6025 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002484/0.04601, allocations: 88.94 kB / 0.6026 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.04607, allocations: 32.5 kB / 0.6026 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/0.04607, allocations: 4 kB / 0.6026 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.01361/0.05968, allocations: 10.99 MB / 0.6133 GB, free: 2.445 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5540901077911258]