Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.001177/0.001177, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001438/0.001438, allocations: 170.5 kB / 25.18 MB, free: 8.328 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.8628/0.8628, allocations: 177.2 MB / 205.6 MB, free: 4.016 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.898/1.898, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.429e-05, allocations: 6.109 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004005/0.004019, allocations: 4.251 MB / 0.7797 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.007027, allocations: 2.632 MB / 0.7823 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.00726, allocations: 15.88 kB / 0.7823 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.007942, allocations: 226.7 kB / 0.7825 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.008612, allocations: 377.7 kB / 0.7829 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.00904, allocations: 235.4 kB / 0.7831 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007526/0.009793, allocations: 0.6849 MB / 0.7838 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.01019, allocations: 353.7 kB / 0.7841 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.0106, allocations: 423.1 kB / 0.7845 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.01093, allocations: 295.3 kB / 0.7848 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.01099, allocations: 48 kB / 0.7848 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.0113, allocations: 211.6 kB / 0.785 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.01142, allocations: 187.5 kB / 0.7852 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.01155, allocations: 175.6 kB / 0.7854 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.01206, allocations: 0.5335 MB / 0.7859 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.01206, allocations: 0 / 0.7859 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01207, allocations: 4 kB / 0.7859 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.01207, allocations: 0 / 0.7859 GB, free: 3.934 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.0007964/0.01287, allocations: 0.643 MB / 0.7865 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.0129, allocations: 8.031 kB / 0.7865 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.01373, allocations: 232.5 kB / 0.7868 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.01408, allocations: 321.5 kB / 0.7871 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.0141, allocations: 25.03 kB / 0.7871 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.01416, allocations: 32.38 kB / 0.7871 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.01467, allocations: 450.9 kB / 0.7876 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.01468, allocations: 3.938 kB / 0.7876 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.01471, allocations: 12 kB / 0.7876 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/0.01479, allocations: 36.64 kB / 0.7876 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.01501, allocations: 144.4 kB / 0.7878 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.01656, allocations: 1.425 MB / 0.7891 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.01686, allocations: 184.1 kB / 0.7893 GB, free: 308 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.01695, allocations: 61.16 kB / 0.7894 GB, free: 244 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.01699, allocations: 19.92 kB / 0.7894 GB, free: 224 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01702, allocations: 34.5 kB / 0.7894 GB, free: 180 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.585e-06/0.01702, allocations: 4 kB / 0.7894 GB, free: 176 kB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002534/0.01956, allocations: 0.9134 MB / 0.7903 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.01959, allocations: 55.41 kB / 0.7904 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.01977, allocations: 270.9 kB / 0.7906 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.0198, allocations: 33.7 kB / 0.7907 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.01989, allocations: 208.8 kB / 0.7909 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.01994, allocations: 83.31 kB / 0.7909 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.02004, allocations: 65.89 kB / 0.791 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.02015, allocations: 346.7 kB / 0.7913 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.02023, allocations: 57.97 kB / 0.7914 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.02036, allocations: 151.3 kB / 0.7915 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.02057, allocations: 190.4 kB / 0.7917 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02057, allocations: 4 kB / 0.7917 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006968/0.02127, allocations: 388.5 kB / 0.7921 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.02128, allocations: 4 kB / 0.7921 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.02129, allocations: 4 kB / 0.7921 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.02253, allocations: 474.9 kB / 0.7926 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.02273, allocations: 63.88 kB / 0.7926 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.02478, allocations: 2.71 MB / 0.7953 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.02495, allocations: 16 kB / 0.7953 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.02497, allocations: 15.98 kB / 0.7953 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001487/0.02512, allocations: 139.5 kB / 0.7954 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001229/0.02524, allocations: 151.1 kB / 0.7956 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001961/0.02544, allocations: 195.5 kB / 0.7958 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.02544, allocations: 0 / 0.7958 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0004428/0.02588, allocations: 308.8 kB / 0.7961 GB, free: 8.949 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.02589, allocations: 8 kB / 0.7961 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.0259, allocations: 4 kB / 0.7961 GB, free: 8.938 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.02628, allocations: 155.2 kB / 0.7962 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.02645, allocations: 63.88 kB / 0.7963 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.02806, allocations: 2.612 MB / 0.7988 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.02823, allocations: 24.14 kB / 0.7988 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.02826, allocations: 12 kB / 0.7989 GB, free: 5.871 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 (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.02837, allocations: 200.1 kB / 0.799 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.02842, allocations: 27.92 kB / 0.7991 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.02905, allocations: 347.9 kB / 0.7994 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02905, allocations: 11.98 kB / 0.7994 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.02906, allocations: 3.938 kB / 0.7994 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.02906, allocations: 0 / 0.7994 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.0299, allocations: 0.6491 MB / 0.8001 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0299, allocations: 0 / 0.8001 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.03002, allocations: 39.97 kB / 0.8001 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.03078, allocations: 375 kB / 0.8005 GB, free: 4.168 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.0308, allocations: 11.92 kB / 0.8005 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.03234, allocations: 2.662 MB / 0.8031 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.03234, allocations: 0 / 0.8031 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.03286, allocations: 437.8 kB / 0.8035 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.03294, allocations: 55.77 kB / 0.8035 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.03297, allocations: 0 / 0.8035 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.0331, allocations: 15.98 kB / 0.8035 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.03317, allocations: 27.84 kB / 0.8036 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.03319, allocations: 11.98 kB / 0.8036 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.01e-05/0.03328, allocations: 112.6 kB / 0.8037 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3e-08/0.03328, allocations: 0 / 0.8037 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004363/0.03372, allocations: 192 kB / 0.8039 GB, free: 436 kB / 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.03383, allocations: 92.34 kB / 0.804 GB, free: 336 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.3023/0.3361, allocations: 0.8092 MB / 0.8048 GB, free: 33.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.3361, allocations: 3.562 kB / 0.8048 GB, free: 33.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.3365, allocations: 358.3 kB / 0.8051 GB, free: 33.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.3369, allocations: 134 kB / 0.8052 GB, free: 33.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.338, allocations: 0.78 MB / 0.806 GB, free: 32.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3382, allocations: 248.4 kB / 0.8062 GB, free: 32.65 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.3384, allocations: 128.8 kB / 0.8063 GB, free: 32.6 MB / 0.7605 GB Notification: Performance of SimCode: time 1.242e-06/0.3384, allocations: 0 / 0.8063 GB, free: 32.6 MB / 0.7605 GB Notification: Performance of Templates: time 0.01183/0.3502, allocations: 11.67 MB / 0.8177 GB, free: 32.14 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1223506620153785]