Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.0009202/0.0009202, allocations: 79.69 kB / 21.74 MB, free: 2.512 MB / 18.57 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.001747/0.001747, allocations: 173.4 kB / 25.18 MB, free: 9.105 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.8947/0.8947, allocations: 177.2 MB / 205.6 MB, free: 4.379 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.88/1.88, allocations: 389.6 MB / 0.6364 GB, free: 13.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7755 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.52e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006632/0.006657, allocations: 4.337 MB / 0.7798 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005125/0.01178, allocations: 3.041 MB / 0.7827 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.01215, allocations: 19.88 kB / 0.7828 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.01317, allocations: 294.3 kB / 0.783 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008601/0.01403, allocations: 456.8 kB / 0.7835 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.01449, allocations: 235.3 kB / 0.7837 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009013/0.01539, allocations: 0.7313 MB / 0.7844 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.01581, allocations: 366 kB / 0.7848 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000545/0.01636, allocations: 0.5069 MB / 0.7853 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.01672, allocations: 295.3 kB / 0.7855 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.261e-05/0.01677, allocations: 44 kB / 0.7856 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.01711, allocations: 211.6 kB / 0.7858 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.01724, allocations: 191.5 kB / 0.786 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.01737, allocations: 167.6 kB / 0.7861 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.01794, allocations: 0.5452 MB / 0.7867 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01794, allocations: 0 / 0.7867 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01794, allocations: 0 / 0.7867 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.01795, allocations: 4 kB / 0.7867 GB, free: 3.156 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0008373/0.01879, allocations: 0.6584 MB / 0.7873 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.01882, allocations: 8.031 kB / 0.7873 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008927/0.01971, allocations: 244.5 kB / 0.7876 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.02011, allocations: 321.5 kB / 0.7879 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.02013, allocations: 25.02 kB / 0.7879 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.02018, allocations: 28.38 kB / 0.7879 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.02072, allocations: 450.9 kB / 0.7883 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.02074, allocations: 7.938 kB / 0.7883 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.02077, allocations: 19.98 kB / 0.7884 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/0.02086, allocations: 36.62 kB / 0.7884 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.02108, allocations: 140.4 kB / 0.7885 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.02268, allocations: 1.429 MB / 0.7899 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.02299, allocations: 185.2 kB / 0.7901 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.02307, allocations: 57.22 kB / 0.7902 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.02312, allocations: 23.84 kB / 0.7902 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.02315, allocations: 34.56 kB / 0.7902 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.02315, allocations: 0 / 0.7902 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.003069/0.02622, allocations: 1.136 MB / 0.7913 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.02624, allocations: 55.41 kB / 0.7914 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.02643, allocations: 291.4 kB / 0.7917 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.02646, allocations: 33.7 kB / 0.7917 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.279e-05/0.02655, allocations: 216.8 kB / 0.7919 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.0266, allocations: 83.25 kB / 0.792 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.0267, allocations: 65.88 kB / 0.792 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.02679, allocations: 342.8 kB / 0.7924 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.02687, allocations: 61.89 kB / 0.7924 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.027, allocations: 151.4 kB / 0.7926 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.0272, allocations: 194.4 kB / 0.7928 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.0272, allocations: 0 / 0.7928 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006968/0.0279, allocations: 404.7 kB / 0.7931 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.02792, allocations: 12.03 kB / 0.7932 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.02792, allocations: 0 / 0.7932 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.02918, allocations: 479.2 kB / 0.7936 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.02937, allocations: 63.88 kB / 0.7937 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.03118, allocations: 1.711 MB / 0.7953 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.03134, allocations: 16 kB / 0.7954 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.03137, allocations: 15.98 kB / 0.7954 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001454/0.03152, allocations: 139.5 kB / 0.7955 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001148/0.03163, allocations: 147 kB / 0.7956 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001844/0.03181, allocations: 183.5 kB / 0.7958 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.03182, allocations: 0 / 0.7958 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0004703/0.03229, allocations: 329 kB / 0.7961 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-06/0.03229, allocations: 8 kB / 0.7961 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.0323, allocations: 4 kB / 0.7961 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.03272, allocations: 159.7 kB / 0.7963 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.03289, allocations: 63.88 kB / 0.7964 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.03411, allocations: 1.602 MB / 0.7979 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.03427, allocations: 27.95 kB / 0.798 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.03429, allocations: 7.938 kB / 0.798 GB, free: 7.008 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.0344, allocations: 196.2 kB / 0.7981 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.03444, allocations: 27.97 kB / 0.7982 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.0351, allocations: 384.1 kB / 0.7985 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.0351, allocations: 7.984 kB / 0.7985 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.0351, allocations: 0 / 0.7985 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.03511, allocations: 0 / 0.7985 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.03594, allocations: 0.6477 MB / 0.7992 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.03595, allocations: 4 kB / 0.7992 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.03605, allocations: 40.03 kB / 0.7992 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008096/0.03686, allocations: 375.3 kB / 0.7996 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.03688, allocations: 8 kB / 0.7996 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.03819, allocations: 1.668 MB / 0.8012 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0382, allocations: 0 / 0.8012 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.03874, allocations: 452.2 kB / 0.8016 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.03881, allocations: 63.66 kB / 0.8017 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.03885, allocations: 11.98 kB / 0.8017 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.03898, allocations: 12 kB / 0.8017 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.03905, allocations: 19.95 kB / 0.8017 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.03906, allocations: 7.984 kB / 0.8018 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.503e-05/0.03916, allocations: 116.7 kB / 0.8019 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.03916, allocations: 3.938 kB / 0.8019 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004185/0.03958, allocations: 204 kB / 0.8021 GB, free: 2.613 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.0397, allocations: 88.42 kB / 0.8021 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008383/0.04054, allocations: 0.6437 MB / 0.8028 GB, free: 1.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.04054, allocations: 4.812 kB / 0.8028 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.04081, allocations: 271.1 kB / 0.803 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.04115, allocations: 128.7 kB / 0.8032 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.04221, allocations: 0.784 MB / 0.8039 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.04241, allocations: 257.7 kB / 0.8042 GB, free: 328 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.04265, allocations: 133.3 kB / 0.8043 GB, free: 192 kB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/0.04265, allocations: 0 / 0.8043 GB, free: 192 kB / 0.7605 GB Notification: Performance of Templates: time 0.3266/0.3693, allocations: 9.659 MB / 0.8137 GB, free: 32.59 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0920439483597875]