Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008294/0.0008294, allocations: 92.22 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.0009272/0.0009272, allocations: 173 kB / 23.03 MB, free: 1.543 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.9426/0.9426, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001554/0.001554, allocations: 242 kB / 260.2 MB, free: 12.82 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.689/0.689, allocations: 138.4 MB / 455.2 MB, free: 1.508 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.098e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009756/0.009787, allocations: 10.57 MB / 0.5654 GB, free: 5.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008464/0.01825, allocations: 6.928 MB / 0.5722 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.01952, allocations: 75.31 kB / 0.5723 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.02065, allocations: 400.9 kB / 0.5727 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.02432, allocations: 1.702 MB / 0.5743 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.0256, allocations: 0.6627 MB / 0.575 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.02894, allocations: 2.843 MB / 0.5777 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.03087, allocations: 1.2 MB / 0.5789 GB, free: 8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.03357, allocations: 2.106 MB / 0.581 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.03504, allocations: 0.9894 MB / 0.5819 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000359/0.0354, allocations: 160 kB / 0.5821 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000722/0.03612, allocations: 315.6 kB / 0.5824 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.03661, allocations: 0.6425 MB / 0.583 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008396/0.03745, allocations: 0.6468 MB / 0.5837 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.03934, allocations: 1.538 MB / 0.5852 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.03934, allocations: 0 / 0.5852 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.03934, allocations: 0 / 0.5852 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.184e-05/0.0394, allocations: 0 / 0.5852 GB, free: 1.598 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003001/0.04241, allocations: 2.194 MB / 0.5873 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.04245, allocations: 12.75 kB / 0.5873 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.04707, allocations: 1.766 MB / 0.589 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.04878, allocations: 1.197 MB / 0.5902 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.04883, allocations: 86.69 kB / 0.5903 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.04904, allocations: 116.4 kB / 0.5904 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.05156, allocations: 1.959 MB / 0.5923 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.05159, allocations: 11.89 kB / 0.5923 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000406/0.052, allocations: 55.92 kB / 0.5924 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/0.05238, allocations: 194.1 kB / 0.5926 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.05386, allocations: 0.8524 MB / 0.5934 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008319/0.06218, allocations: 8.433 MB / 0.6016 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2138/0.276, allocations: 0.8284 MB / 0.6024 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.2766, allocations: 362.8 kB / 0.6028 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-05/0.2767, allocations: 17.03 kB / 0.6028 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.2767, allocations: 47.23 kB / 0.6028 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 3.968e-06/0.2767, allocations: 0 / 0.6028 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.01151/0.2882, allocations: 6.071 MB / 0.6088 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2882, allocations: 66.66 kB / 0.6088 GB, free: 82.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.2891, allocations: 1.012 MB / 0.6098 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.2892, allocations: 49.58 kB / 0.6099 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.2895, allocations: 0.8098 MB / 0.6107 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.2898, allocations: 0.5486 MB / 0.6112 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.2902, allocations: 284.5 kB / 0.6115 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.2902, allocations: 478.1 kB / 0.6119 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.291, allocations: 491.8 kB / 0.6124 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000879/0.2919, allocations: 0.8596 MB / 0.6132 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.2935, allocations: 1.383 MB / 0.6146 GB, free: 80.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.2935, allocations: 6.438 kB / 0.6146 GB, free: 80.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005776/0.2993, allocations: 2.856 MB / 0.6174 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.2993, allocations: 8.219 kB / 0.6174 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.2994, allocations: 7.266 kB / 0.6174 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005643/0.305, allocations: 1.836 MB / 0.6192 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/0.3059, allocations: 301.6 kB / 0.6195 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.3192, allocations: 19.46 MB / 0.6385 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.3206, allocations: 200.9 kB / 0.6387 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.3207, allocations: 68.3 kB / 0.6387 GB, free: 64.48 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 (82): * 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: 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 {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004807/0.3212, allocations: 242.5 kB / 0.639 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.3215, allocations: 223 kB / 0.6392 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004919/0.3264, allocations: 2.773 MB / 0.6419 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3264, allocations: 19.06 kB / 0.6419 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/0.3264, allocations: 17.88 kB / 0.6419 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3264, allocations: 8.641 kB / 0.6419 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006407/0.3329, allocations: 4.206 MB / 0.646 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3329, allocations: 3.594 kB / 0.646 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.3334, allocations: 244.7 kB / 0.6463 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004566/0.338, allocations: 1.797 MB / 0.648 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.3381, allocations: 43.91 kB / 0.6481 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.3492, allocations: 19.38 MB / 0.667 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3492, allocations: 7.25 kB / 0.667 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.3534, allocations: 2.701 MB / 0.6697 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/0.354, allocations: 402.7 kB / 0.67 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.3542, allocations: 24 kB / 0.6701 GB, free: 41.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007595/0.3549, allocations: 203.7 kB / 0.6703 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.3553, allocations: 160.5 kB / 0.6704 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.3554, allocations: 51.97 kB / 0.6705 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004415/0.3558, allocations: 0.6206 MB / 0.6711 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3558, allocations: 0 / 0.6711 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001597/0.3574, allocations: 0.6735 MB / 0.6717 GB, free: 40.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.3577, allocations: 143.6 kB / 0.6719 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00348/0.3612, allocations: 3.435 MB / 0.6752 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3612, allocations: 0 / 0.6752 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.3635, allocations: 2.796 MB / 0.6779 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.3648, allocations: 0.5407 MB / 0.6785 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.3688, allocations: 3.211 MB / 0.6816 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3692, allocations: 0.5043 MB / 0.6821 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007859/0.37, allocations: 319 kB / 0.6824 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3702, allocations: 100.4 kB / 0.6825 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of SimCode: time 1.963e-06/0.3702, allocations: 4 kB / 0.6825 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.0487/0.4189, allocations: 50.81 MB / 0.7321 GB, free: 10.88 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.511874033138156]